0s autopkgtest [18:41:53]: starting date and time: 2026-02-06 18:41:53+0000
0s autopkgtest [18:41:53]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op
0s autopkgtest [18:41:53]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4oow46t4/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.42-2ubuntu5 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-7.secgroup --name adt-resolute-amd64-glib2.0-20260206-184153-juju-7f2275-prod-proposed-migration-environment-2-6d6c833d-c4f3-4e94-9039-038b851fc68f --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/
3s Creating nova instance adt-resolute-amd64-glib2.0-20260206-184153-juju-7f2275-prod-proposed-migration-environment-2-6d6c833d-c4f3-4e94-9039-038b851fc68f from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)...
86s autopkgtest [18:43:19]: testbed dpkg architecture: amd64
86s autopkgtest [18:43:19]: testbed apt version: 3.1.14
87s autopkgtest [18:43:20]: @@@@@@@@@@@@@@@@@@@@ test bed setup
87s autopkgtest [18:43:20]: testbed release detected to be: None
87s autopkgtest [18:43:20]: updating testbed package index (apt update)
87s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
88s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
88s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
88s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
88s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB]
88s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [32.1 kB]
88s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [197 kB]
88s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1507 kB]
88s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [185 kB]
88s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [262 kB]
88s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6500 B]
88s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3692 B]
88s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [80.4 kB]
88s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B]
88s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [541 kB]
88s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1405 kB]
88s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [36.6 kB]
88s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4892 B]
88s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [28.2 kB]
88s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1104 B]
89s Fetched 4425 kB in 1s (5609 kB/s)
89s Reading package lists...
90s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
90s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
90s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
90s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
91s Reading package lists...
91s Reading package lists...
91s Building dependency tree...
91s Reading state information...
91s Calculating upgrade...
91s The following packages will be upgraded:
91s amd64-microcode apt busybox-initramfs busybox-static dmsetup findutils less
91s libapt-pkg7.0 libattr1 libc-bin libc-gconv-modules-extra libc6
91s libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common libdrm2 libgpm2 libkeyutils1
91s libmaxminddb0 libnpth0t64 libsensors-config libsensors5 locales mawk patch
91s pollinate python3-linkify-it python3-markdown-it python3-referencing sed tar
91s 31 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
91s Need to get 14.4 MB of archives.
91s After this operation, 270 kB disk space will be freed.
91s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB]
91s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB]
91s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB]
91s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-gconv-modules-extra amd64 2.42-2ubuntu5 [1394 kB]
92s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc6 amd64 2.42-2ubuntu5 [2041 kB]
92s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-bin amd64 2.42-2ubuntu5 [702 kB]
92s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB]
92s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB]
92s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB]
92s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB]
92s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB]
92s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB]
92s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB]
92s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB]
92s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 locales all 2.42-2ubuntu5 [4255 kB]
92s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB]
92s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB]
92s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB]
92s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B]
92s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB]
92s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB]
92s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB]
92s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B]
92s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB]
92s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB]
92s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB]
92s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B]
92s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB]
92s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB]
92s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB]
92s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB]
92s dpkg-preconfigure: unable to re-open stdin: No such file or directory
92s Fetched 14.4 MB in 1s (12.5 MB/s)
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 ... 83957 files and directories currently installed.)
93s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ...
93s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ...
93s Setting up findutils (4.10.0-3build2) ...
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 ... 83957 files and directories currently installed.)
93s Preparing to unpack .../sed_4.9-2build3_amd64.deb ...
93s Unpacking sed (4.9-2build3) over (4.9-2build2) ...
93s Setting up sed (4.9-2build3) ...
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 ... 83957 files and directories currently installed.)
93s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ...
93s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ...
93s Setting up tar (1.35+dfsg-3.1build2) ...
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 ... 83957 files and directories currently installed.)
93s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_amd64.deb ...
93s Unpacking libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
93s Setting up libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) ...
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 ... 83957 files and directories currently installed.)
93s Preparing to unpack .../libc6_2.42-2ubuntu5_amd64.deb ...
93s Unpacking libc6:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
93s Setting up libc6:amd64 (2.42-2ubuntu5) ...
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 ... 83957 files and directories currently installed.)
93s Preparing to unpack .../libc-bin_2.42-2ubuntu5_amd64.deb ...
93s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
93s Setting up libc-bin (2.42-2ubuntu5) ...
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 ... 83957 files and directories currently installed.)
93s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ...
93s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ...
93s Setting up libattr1:amd64 (1:2.5.2-3build2) ...
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 ... 83957 files and directories currently installed.)
93s Preparing to unpack .../00-mawk_1.3.4.20260129-1_amd64.deb ...
93s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ...
93s Preparing to unpack .../01-libapt-pkg7.0_3.1.15_amd64.deb ...
93s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ...
94s Preparing to unpack .../02-apt_3.1.15_amd64.deb ...
94s Unpacking apt (3.1.15) over (3.1.14) ...
94s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ...
94s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
94s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ...
94s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
94s Preparing to unpack .../05-less_668-1build1_amd64.deb ...
94s Unpacking less (668-1build1) over (668-1) ...
94s Preparing to unpack .../06-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ...
94s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ...
94s Preparing to unpack .../07-locales_2.42-2ubuntu5_all.deb ...
94s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
94s Preparing to unpack .../08-python3-linkify-it_2.0.3-1ubuntu3_all.deb ...
94s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ...
94s Preparing to unpack .../09-python3-markdown-it_3.0.0-3build1_all.deb ...
94s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ...
94s Preparing to unpack .../10-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ...
94s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
94s Preparing to unpack .../11-libdrm-common_2.4.131-1_all.deb ...
94s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ...
94s Preparing to unpack .../12-libdrm2_2.4.131-1_amd64.deb ...
94s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ...
94s Preparing to unpack .../13-libgpm2_1.20.7-12build1_amd64.deb ...
94s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ...
94s Preparing to unpack .../14-libmaxminddb0_1.12.2-1build2_amd64.deb ...
94s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ...
94s Preparing to unpack .../15-libsensors-config_1%3a3.6.2-2build1_all.deb ...
94s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ...
94s Preparing to unpack .../16-libsensors5_1%3a3.6.2-2build1_amd64.deb ...
94s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ...
94s Preparing to unpack .../17-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ...
94s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
94s Preparing to unpack .../18-libdrm-amdgpu1_2.4.131-1_amd64.deb ...
94s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ...
94s Preparing to unpack .../19-libnpth0t64_1.8-3build1_amd64.deb ...
94s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ...
94s Preparing to unpack .../20-patch_2.8-2build1_amd64.deb ...
94s Unpacking patch (2.8-2build1) over (2.8-2) ...
94s Preparing to unpack .../21-pollinate_4.33-4ubuntu5_all.deb ...
94s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ...
94s Preparing to unpack .../22-python3-referencing_0.36.2-1ubuntu2_all.deb ...
94s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ...
95s Preparing to unpack .../23-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ...
95s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ...
95s Setting up libnpth0t64:amd64 (1.8-3build1) ...
95s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ...
95s Setting up libgpm2:amd64 (1.20.7-12build1) ...
95s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ...
95s Setting up libsensors-config (1:3.6.2-2build1) ...
95s Setting up less (668-1build1) ...
95s Setting up amd64-microcode (3.20251202.1ubuntu1) ...
95s amd64-microcode: microcode will be updated at next boot
95s Setting up locales (2.42-2ubuntu5) ...
95s Generating locales (this might take a while)...
96s en_US.UTF-8... done
96s Generation complete.
96s Setting up pollinate (4.33-4ubuntu5) ...
106s Setting up busybox-static (1:1.37.0-7ubuntu1) ...
106s Setting up patch (2.8-2build1) ...
106s Setting up libsensors5:amd64 (1:3.6.2-2build1) ...
106s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ...
106s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ...
106s Setting up dmsetup (2:1.02.205-2ubuntu3) ...
106s Setting up python3-linkify-it (2.0.3-1ubuntu3) ...
106s Setting up mawk (1.3.4.20260129-1) ...
106s Setting up libapt-pkg7.0:amd64 (3.1.15) ...
106s Setting up libdrm-common (2.4.131-1) ...
106s Setting up python3-referencing (0.36.2-1ubuntu2) ...
106s Setting up apt (3.1.15) ...
107s Setting up python3-markdown-it (3.0.0-3build1) ...
107s Setting up libdrm2:amd64 (2.4.131-1) ...
107s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ...
107s Processing triggers for libc-bin (2.42-2ubuntu5) ...
107s Processing triggers for systemd (259-1ubuntu3) ...
108s Processing triggers for man-db (2.13.1-1) ...
109s Processing triggers for install-info (7.2-5) ...
109s Processing triggers for initramfs-tools (0.150ubuntu7) ...
109s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic
114s autopkgtest [18:43:47]: upgrading testbed (apt dist-upgrade and autopurge)
115s Reading package lists...
115s Building dependency tree...
115s Reading state information...
115s Calculating upgrade...
115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
115s Reading package lists...
115s Building dependency tree...
115s Reading state information...
115s Solving dependencies...
116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
116s autopkgtest [18:43:49]: rebooting testbed after setup commands that affected boot
144s autopkgtest [18:44:17]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:49:02 UTC 2026
146s autopkgtest [18:44:19]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0
154s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (dsc) [4685 B]
154s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [661 kB]
154s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [5675 kB]
154s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (diff) [141 kB]
154s gpgv: Signature made Thu Jan 1 13:00:10 2026 UTC
154s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D
154s gpgv: Can't check signature: No public key
154s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.3-4.dsc: no acceptable signature found
155s autopkgtest [18:44:28]: testing package glib2.0 version 2.86.3-4
159s autopkgtest [18:44:32]: build not needed
167s autopkgtest [18:44:40]: test build: preparing testbed
167s Reading package lists...
167s Building dependency tree...
167s Reading state information...
167s Solving dependencies...
167s The following NEW packages will be installed:
167s build-essential cpp cpp-15 cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu g++
167s g++-15 g++-15-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-15
167s gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev
167s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev
167s libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmount-dev
167s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3
167s libquadmath0 libselinux-dev libsepol-dev libstdc++-15-dev
167s libsysprof-capture-4-dev libtsan2 libubsan1 linux-libc-dev pkgconf
167s pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev
167s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded.
167s Need to get 79.4 MB of archives.
167s After this operation, 281 MB of additional disk space will be used.
167s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-dev-bin amd64 2.42-2ubuntu5 [23.3 kB]
167s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-libc-dev amd64 6.18.0-9.9 [1860 kB]
167s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt-dev amd64 1:4.5.1-1 [122 kB]
167s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 rpcsvc-proto amd64 1.4.3-1build1 [68.3 kB]
167s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc6-dev amd64 2.42-2ubuntu5 [2206 kB]
168s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libisl23 amd64 0.27-1build1 [691 kB]
168s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libmpc3 amd64 1.3.1-2 [54.8 kB]
168s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [12.9 MB]
168s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15 amd64 15.2.0-12ubuntu1 [1034 B]
168s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [5746 B]
168s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp amd64 4:15.2.0-4ubuntu1 [22.4 kB]
168s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libcc1-0 amd64 15.2.0-12ubuntu1 [47.4 kB]
168s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-12ubuntu1 [151 kB]
168s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libitm1 amd64 15.2.0-12ubuntu1 [29.5 kB]
168s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libasan8 amd64 15.2.0-12ubuntu1 [3070 kB]
168s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsan0 amd64 15.2.0-12ubuntu1 [1360 kB]
168s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libtsan2 amd64 15.2.0-12ubuntu1 [2757 kB]
168s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libubsan1 amd64 15.2.0-12ubuntu1 [1210 kB]
168s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libhwasan0 amd64 15.2.0-12ubuntu1 [1685 kB]
168s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libquadmath0 amd64 15.2.0-12ubuntu1 [153 kB]
168s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-15-dev amd64 15.2.0-12ubuntu1 [2866 kB]
168s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [25.4 MB]
169s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15 amd64 15.2.0-12ubuntu1 [530 kB]
169s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [1208 B]
169s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc amd64 4:15.2.0-4ubuntu1 [5024 B]
169s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++-15-dev amd64 15.2.0-12ubuntu1 [2553 kB]
169s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [14.4 MB]
169s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15 amd64 15.2.0-12ubuntu1 [25.3 kB]
169s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [966 B]
169s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 g++ amd64 4:15.2.0-4ubuntu1 [1100 B]
169s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 build-essential amd64 12.12ubuntu2 [5256 B]
169s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libffi-dev amd64 3.5.2-3 [66.5 kB]
169s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 uuid-dev amd64 2.41.2-4ubuntu2 [56.8 kB]
170s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libblkid-dev amd64 2.41.2-4ubuntu2 [234 kB]
170s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libsepol-dev amd64 3.9-2 [409 kB]
170s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-16-0 amd64 10.46-1 [243 kB]
170s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-32-0 amd64 10.46-1 [230 kB]
170s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-posix3 amd64 10.46-1 [7354 B]
170s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-dev amd64 10.46-1 [832 kB]
170s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libselinux-dev amd64 3.9-4 [176 kB]
170s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libmount-dev amd64 2.41.2-4ubuntu2 [37.6 kB]
170s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libsysprof-capture-4-dev amd64 49.0-5 [53.6 kB]
170s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libpkgconf3 amd64 1.8.1-4build1 [32.8 kB]
170s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 pkgconf-bin amd64 1.8.1-4build1 [21.7 kB]
170s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 pkgconf amd64 1.8.1-4build1 [16.8 kB]
170s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu2 [898 kB]
170s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev amd64 2.86.3-4 [1817 kB]
170s Fetched 79.4 MB in 2s (33.3 MB/s)
170s Selecting previously unselected package libc-dev-bin.
170s (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 ... 83962 files and directories currently installed.)
170s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu5_amd64.deb ...
170s Unpacking libc-dev-bin (2.42-2ubuntu5) ...
170s Selecting previously unselected package linux-libc-dev:amd64.
170s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_amd64.deb ...
170s Unpacking linux-libc-dev:amd64 (6.18.0-9.9) ...
170s Selecting previously unselected package libcrypt-dev:amd64.
170s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_amd64.deb ...
170s Unpacking libcrypt-dev:amd64 (1:4.5.1-1) ...
170s Selecting previously unselected package rpcsvc-proto.
170s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_amd64.deb ...
170s Unpacking rpcsvc-proto (1.4.3-1build1) ...
170s Selecting previously unselected package libc6-dev:amd64.
170s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu5_amd64.deb ...
170s Unpacking libc6-dev:amd64 (2.42-2ubuntu5) ...
170s Selecting previously unselected package libisl23:amd64.
170s Preparing to unpack .../05-libisl23_0.27-1build1_amd64.deb ...
170s Unpacking libisl23:amd64 (0.27-1build1) ...
170s Selecting previously unselected package libmpc3:amd64.
170s Preparing to unpack .../06-libmpc3_1.3.1-2_amd64.deb ...
170s Unpacking libmpc3:amd64 (1.3.1-2) ...
170s Selecting previously unselected package cpp-15-x86-64-linux-gnu.
170s Preparing to unpack .../07-cpp-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ...
170s Unpacking cpp-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
170s Selecting previously unselected package cpp-15.
170s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_amd64.deb ...
170s Unpacking cpp-15 (15.2.0-12ubuntu1) ...
170s Selecting previously unselected package cpp-x86-64-linux-gnu.
170s Preparing to unpack .../09-cpp-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ...
170s Unpacking cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
170s Selecting previously unselected package cpp.
170s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_amd64.deb ...
171s Unpacking cpp (4:15.2.0-4ubuntu1) ...
171s Selecting previously unselected package libcc1-0:amd64.
171s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libcc1-0:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package libgomp1:amd64.
171s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libgomp1:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package libitm1:amd64.
171s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libitm1:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package libasan8:amd64.
171s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libasan8:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package liblsan0:amd64.
171s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking liblsan0:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package libtsan2:amd64.
171s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libtsan2:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package libubsan1:amd64.
171s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libubsan1:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package libhwasan0:amd64.
171s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libhwasan0:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package libquadmath0:amd64.
171s Preparing to unpack .../19-libquadmath0_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libquadmath0:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package libgcc-15-dev:amd64.
171s Preparing to unpack .../20-libgcc-15-dev_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libgcc-15-dev:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package gcc-15-x86-64-linux-gnu.
171s Preparing to unpack .../21-gcc-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking gcc-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package gcc-15.
171s Preparing to unpack .../22-gcc-15_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking gcc-15 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package gcc-x86-64-linux-gnu.
171s Preparing to unpack .../23-gcc-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ...
171s Unpacking gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
171s Selecting previously unselected package gcc.
171s Preparing to unpack .../24-gcc_4%3a15.2.0-4ubuntu1_amd64.deb ...
171s Unpacking gcc (4:15.2.0-4ubuntu1) ...
171s Selecting previously unselected package libstdc++-15-dev:amd64.
171s Preparing to unpack .../25-libstdc++-15-dev_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking libstdc++-15-dev:amd64 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package g++-15-x86-64-linux-gnu.
171s Preparing to unpack .../26-g++-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking g++-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package g++-15.
171s Preparing to unpack .../27-g++-15_15.2.0-12ubuntu1_amd64.deb ...
171s Unpacking g++-15 (15.2.0-12ubuntu1) ...
171s Selecting previously unselected package g++-x86-64-linux-gnu.
171s Preparing to unpack .../28-g++-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ...
171s Unpacking g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
171s Selecting previously unselected package g++.
171s Preparing to unpack .../29-g++_4%3a15.2.0-4ubuntu1_amd64.deb ...
171s Unpacking g++ (4:15.2.0-4ubuntu1) ...
171s Selecting previously unselected package build-essential.
171s Preparing to unpack .../30-build-essential_12.12ubuntu2_amd64.deb ...
171s Unpacking build-essential (12.12ubuntu2) ...
171s Selecting previously unselected package libffi-dev:amd64.
171s Preparing to unpack .../31-libffi-dev_3.5.2-3_amd64.deb ...
171s Unpacking libffi-dev:amd64 (3.5.2-3) ...
171s Selecting previously unselected package uuid-dev:amd64.
171s Preparing to unpack .../32-uuid-dev_2.41.2-4ubuntu2_amd64.deb ...
171s Unpacking uuid-dev:amd64 (2.41.2-4ubuntu2) ...
171s Selecting previously unselected package libblkid-dev:amd64.
171s Preparing to unpack .../33-libblkid-dev_2.41.2-4ubuntu2_amd64.deb ...
171s Unpacking libblkid-dev:amd64 (2.41.2-4ubuntu2) ...
171s Selecting previously unselected package libsepol-dev:amd64.
171s Preparing to unpack .../34-libsepol-dev_3.9-2_amd64.deb ...
171s Unpacking libsepol-dev:amd64 (3.9-2) ...
171s Selecting previously unselected package libpcre2-16-0:amd64.
171s Preparing to unpack .../35-libpcre2-16-0_10.46-1_amd64.deb ...
171s Unpacking libpcre2-16-0:amd64 (10.46-1) ...
171s Selecting previously unselected package libpcre2-32-0:amd64.
171s Preparing to unpack .../36-libpcre2-32-0_10.46-1_amd64.deb ...
171s Unpacking libpcre2-32-0:amd64 (10.46-1) ...
171s Selecting previously unselected package libpcre2-posix3:amd64.
171s Preparing to unpack .../37-libpcre2-posix3_10.46-1_amd64.deb ...
171s Unpacking libpcre2-posix3:amd64 (10.46-1) ...
171s Selecting previously unselected package libpcre2-dev:amd64.
171s Preparing to unpack .../38-libpcre2-dev_10.46-1_amd64.deb ...
171s Unpacking libpcre2-dev:amd64 (10.46-1) ...
171s Selecting previously unselected package libselinux-dev:amd64.
171s Preparing to unpack .../39-libselinux-dev_3.9-4_amd64.deb ...
171s Unpacking libselinux-dev:amd64 (3.9-4) ...
172s Selecting previously unselected package libmount-dev:amd64.
172s Preparing to unpack .../40-libmount-dev_2.41.2-4ubuntu2_amd64.deb ...
172s Unpacking libmount-dev:amd64 (2.41.2-4ubuntu2) ...
172s Selecting previously unselected package libsysprof-capture-4-dev:amd64.
172s Preparing to unpack .../41-libsysprof-capture-4-dev_49.0-5_amd64.deb ...
172s Unpacking libsysprof-capture-4-dev:amd64 (49.0-5) ...
172s Selecting previously unselected package libpkgconf3:amd64.
172s Preparing to unpack .../42-libpkgconf3_1.8.1-4build1_amd64.deb ...
172s Unpacking libpkgconf3:amd64 (1.8.1-4build1) ...
172s Selecting previously unselected package pkgconf-bin.
172s Preparing to unpack .../43-pkgconf-bin_1.8.1-4build1_amd64.deb ...
172s Unpacking pkgconf-bin (1.8.1-4build1) ...
172s Selecting previously unselected package pkgconf:amd64.
172s Preparing to unpack .../44-pkgconf_1.8.1-4build1_amd64.deb ...
172s Unpacking pkgconf:amd64 (1.8.1-4build1) ...
172s Selecting previously unselected package zlib1g-dev:amd64.
172s Preparing to unpack .../45-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_amd64.deb ...
172s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
172s Selecting previously unselected package libgio-2.0-dev:amd64.
172s Preparing to unpack .../46-libgio-2.0-dev_2.86.3-4_amd64.deb ...
172s Unpacking libgio-2.0-dev:amd64 (2.86.3-4) ...
172s Setting up linux-libc-dev:amd64 (6.18.0-9.9) ...
172s Setting up libgomp1:amd64 (15.2.0-12ubuntu1) ...
172s Setting up libffi-dev:amd64 (3.5.2-3) ...
172s Setting up libpcre2-16-0:amd64 (10.46-1) ...
172s Setting up libsysprof-capture-4-dev:amd64 (49.0-5) ...
172s Setting up libpcre2-32-0:amd64 (10.46-1) ...
172s Setting up libpkgconf3:amd64 (1.8.1-4build1) ...
172s Setting up rpcsvc-proto (1.4.3-1build1) ...
172s Setting up libquadmath0:amd64 (15.2.0-12ubuntu1) ...
172s Setting up libmpc3:amd64 (1.3.1-2) ...
172s Setting up libsepol-dev:amd64 (3.9-2) ...
172s Setting up pkgconf-bin (1.8.1-4build1) ...
172s Setting up libubsan1:amd64 (15.2.0-12ubuntu1) ...
172s Setting up libpcre2-posix3:amd64 (10.46-1) ...
172s Setting up libhwasan0:amd64 (15.2.0-12ubuntu1) ...
172s Setting up libcrypt-dev:amd64 (1:4.5.1-1) ...
172s Setting up libasan8:amd64 (15.2.0-12ubuntu1) ...
172s Setting up libtsan2:amd64 (15.2.0-12ubuntu1) ...
172s Setting up libisl23:amd64 (0.27-1build1) ...
172s Setting up libc-dev-bin (2.42-2ubuntu5) ...
172s Setting up libcc1-0:amd64 (15.2.0-12ubuntu1) ...
172s Setting up liblsan0:amd64 (15.2.0-12ubuntu1) ...
172s Setting up libitm1:amd64 (15.2.0-12ubuntu1) ...
172s Setting up libgcc-15-dev:amd64 (15.2.0-12ubuntu1) ...
172s Setting up cpp-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
172s Setting up pkgconf:amd64 (1.8.1-4build1) ...
172s Setting up gcc-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
172s Setting up cpp-15 (15.2.0-12ubuntu1) ...
172s Setting up libc6-dev:amd64 (2.42-2ubuntu5) ...
172s Setting up cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
172s Setting up libpcre2-dev:amd64 (10.46-1) ...
172s Setting up gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
172s Setting up gcc-15 (15.2.0-12ubuntu1) ...
172s Setting up libstdc++-15-dev:amd64 (15.2.0-12ubuntu1) ...
172s Setting up uuid-dev:amd64 (2.41.2-4ubuntu2) ...
172s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
172s Setting up cpp (4:15.2.0-4ubuntu1) ...
172s Setting up libselinux-dev:amd64 (3.9-4) ...
172s Setting up libblkid-dev:amd64 (2.41.2-4ubuntu2) ...
172s Setting up g++-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
172s Setting up gcc (4:15.2.0-4ubuntu1) ...
172s Setting up g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
172s Setting up g++-15 (15.2.0-12ubuntu1) ...
172s Setting up libmount-dev:amd64 (2.41.2-4ubuntu2) ...
172s Setting up libgio-2.0-dev:amd64 (2.86.3-4) ...
172s Setting up g++ (4:15.2.0-4ubuntu1) ...
172s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
172s Setting up build-essential (12.12ubuntu2) ...
172s Processing triggers for libc-bin (2.42-2ubuntu5) ...
172s Processing triggers for man-db (2.13.1-1) ...
172s Processing triggers for libglib2.0-0t64:amd64 (2.86.3-4) ...
172s No schema files found: doing nothing.
172s Processing triggers for install-info (7.2-5) ...
173s autopkgtest [18:44:46]: test build: [-----------------------
173s + mode=dynamic
173s + getopt -o --long static -n debian/tests/build --
173s + getopt_temp= --
173s + eval set -- --
173s + set -- --
173s + true
173s + shift
173s + break
173s + mktemp -d
173s + WORKDIR=/tmp/tmp.iaNBI1sUOr
173s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
173s + cd /tmp/tmp.iaNBI1sUOr
173s + [ -n ]
173s + CROSS_COMPILE=
173s + cat
173s + cat
173s + cat
173s + cat
173s + cat
173s + cat
173s + cflags=
173s + pcflags=
173s + packages=glib-2.0
173s + pkg-config --cflags --libs glib-2.0
173s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
174s + echo build (glib, dynamic): OKbuild (glib, dynamic): OK
174s run (glib, dynamic): OK
174s
174s + [ -x glib-dynamic ]
174s + foo=bar ./glib-dynamic
174s + echo run (glib, dynamic): OK
174s + cflags=
174s + pcflags=
174s + packages=gobject-2.0
174s + pkg-config --cflags --libs gobject-2.0
174s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
174s build (gobject, dynamic): OK
174s + echo build (gobject, dynamic): OK
174s + [ -x gobject-dynamic ]
174s + foo=bar ./gobject-dynamic
174s + echorun (gobject, dynamic): OK
174s run (gobject, dynamic): OK
174s + cflags=
174s + pcflags=
174s + packages=gio-2.0
174s + pkg-config --cflags --libs gio-2.0
174s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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
174s + echo build (gio, dynamic): OK
174s + [ -x gio-dynamic ]
174s + build (gio, dynamic): OK
174s foo=bar ./gio-dynamic
174s + echorun (gio, dynamic): OK
174s run (gio, dynamic): OK
174s + cflags=
174s + pcflags=
174s + packages=gio-unix-2.0
174s + pkg-config --cflags --libs gio-unix-2.0
174s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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
174s build (gio-unix, dynamic): OK
174s + echo build (gio-unix, dynamic): OK
174s + [ -x gio-unix-dynamic ]
174s + foo=bar ./gio-unix-dynamic
174s run (gio-unix, dynamic): OK
174s + echo run (gio-unix, dynamic): OK
174s + cflags=
174s + pcflags=
174s + packages=gmodule-2.0
174s + pkg-config --cflags --libs gmodule-2.0
174s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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
174s build (gmodule, dynamic): OK
174s + echo build (gmodule, dynamic): OK
174s + [ -x gmodule-dynamic ]
174s + foo=bar ./gmodule-dynamic
174s run (gmodule, dynamic): OK
174s + echo run (gmodule, dynamic): OK
174s + cflags=
174s + pcflags=
174s + packages=gthread-2.0
174s + pkg-config --cflags --libs gthread-2.0
174s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
174s build (gthread, dynamic): OK
174s + echo build (gthread, dynamic): OK
174s + [ -x gthread-dynamic ]
174s + foo=bar ./gthread-dynamic
174s + echo run (gthread, dynamic): OK
174s + rm -rf /tmp/tmp.iaNBI1sUOr
174s run (gthread, dynamic): OK
174s autopkgtest [18:44:47]: test build: -----------------------]
175s autopkgtest [18:44:48]: test build: - - - - - - - - - - results - - - - - - - - - -
175s build PASS (superficial)
175s autopkgtest [18:44:48]: test build-static: preparing testbed
175s Reading package lists...
175s Building dependency tree...
175s Reading state information...
175s Solving dependencies...
175s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
176s autopkgtest [18:44:49]: test build-static: [-----------------------
176s + mode=dynamic
176s + getopt -o --long static -n debian/tests/build -- --static
176s + getopt_temp= --static --
176s + eval set -- --static --
176s + set -- --static --
176s + true
176s + mode=static
176s + shift
176s + continue
176s + true
176s + shift
176s + break
176s + mktemp -d
176s + WORKDIR=/tmp/tmp.sudvHn6sMs
176s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
176s + cd /tmp/tmp.sudvHn6sMs
176s + [ -n ]
176s + CROSS_COMPILE=
176s + cat
176s + cat
176s + cat
176s + cat
176s + cat
176s + cat
176s + cflags=
176s + pcflags=
176s + packages=glib-2.0
176s + cflags=-static
176s + pcflags=--static
176s + pkg-config --static --cflags --libs glib-2.0
176s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
176s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
176s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s build (glib, static): OK
176s + echo build (glib, static): OK
176s + [ -x glib-static ]
176s + foo=bar ./glib-static
176s run (glib, static): OK
176s + echo run (glib, static): OK
176s + cflags=
176s + pcflags=
176s + packages=gobject-2.0
176s + cflags=-static
176s + pcflags=--static
176s + pkg-config --static --cflags --libs gobject-2.0
176s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi
176s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
176s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s build (gobject, static): OK
176s + echo build (gobject, static): OK
176s + [ -x gobject-static ]
176s + foo=bar ./gobject-static
176s run (gobject, static): OK
176s + echo run (gobject, static): OK
176s + cflags=
176s + pcflags=
176s + packages=gio-2.0
176s + cflags=-static
176s + pcflags=--static
176s + continue
176s + cflags=
176s + pcflags=
176s + packages=gio-unix-2.0
176s + cflags=-static
176s + pcflags=--static
176s + continue
176s + cflags=
176s + pcflags=
176s + packages=gmodule-2.0
176s + cflags=-static
176s + pcflags=--static
176s + pkg-config --static --cflags --libs gmodule-2.0
176s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
176s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
176s (.text+0x5e7): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
176s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s build (gmodule, static): OK
176s run (gmodule, static): OK
176s + echo build (gmodule, static): OK
176s + [ -x gmodule-static ]
176s + foo=bar ./gmodule-static
176s + echo run (gmodule, static): OK
176s + cflags=
176s + pcflags=
176s + packages=gthread-2.0
176s + cflags=-static
176s + pcflags=--static
176s + pkg-config --static --cflags --libs gthread-2.0
176s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
176s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
176s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
176s build (gthread, static): OK
176s run (gthread, static): OK
176s + echo build (gthread, static): OK
176s + [ -x gthread-static ]
176s + foo=bar ./gthread-static
176s + echo run (gthread, static): OK
176s + rm -rf /tmp/tmp.sudvHn6sMs
177s autopkgtest [18:44:50]: test build-static: -----------------------]
177s autopkgtest [18:44:50]: test build-static: - - - - - - - - - - results - - - - - - - - - -
177s build-static PASS (superficial)
177s autopkgtest [18:44:50]: test girepository-tools: preparing testbed
196s Creating nova instance adt-resolute-amd64-glib2.0-20260206-184153-juju-7f2275-prod-proposed-migration-environment-2-6d6c833d-c4f3-4e94-9039-038b851fc68f from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)...
266s autopkgtest [18:46:19]: testbed dpkg architecture: amd64
266s autopkgtest [18:46:19]: testbed apt version: 3.1.14
266s autopkgtest [18:46:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup
266s autopkgtest [18:46:19]: testbed release detected to be: resolute
267s autopkgtest [18:46:20]: updating testbed package index (apt update)
267s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
267s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
267s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
267s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
267s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB]
267s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [197 kB]
267s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [32.1 kB]
267s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1507 kB]
267s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [262 kB]
267s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [185 kB]
267s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6500 B]
267s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [80.4 kB]
268s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3692 B]
268s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B]
268s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [541 kB]
268s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1405 kB]
268s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [36.6 kB]
268s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4892 B]
268s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [28.2 kB]
268s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1104 B]
269s Fetched 4425 kB in 1s (3030 kB/s)
269s Reading package lists...
270s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
270s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
270s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
270s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
271s Reading package lists...
271s Reading package lists...
271s Building dependency tree...
271s Reading state information...
271s Calculating upgrade...
271s The following packages will be upgraded:
271s amd64-microcode apt busybox-initramfs busybox-static dmsetup findutils less
271s libapt-pkg7.0 libattr1 libc-bin libc-gconv-modules-extra libc6
271s libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common libdrm2 libgpm2 libkeyutils1
271s libmaxminddb0 libnpth0t64 libsensors-config libsensors5 locales mawk patch
271s pollinate python3-linkify-it python3-markdown-it python3-referencing sed tar
271s 31 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
271s Need to get 14.4 MB of archives.
271s After this operation, 270 kB disk space will be freed.
271s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB]
271s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB]
271s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB]
271s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-gconv-modules-extra amd64 2.42-2ubuntu5 [1394 kB]
271s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc6 amd64 2.42-2ubuntu5 [2041 kB]
271s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-bin amd64 2.42-2ubuntu5 [702 kB]
271s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB]
271s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB]
271s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB]
271s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB]
271s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB]
271s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB]
271s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB]
271s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB]
271s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 locales all 2.42-2ubuntu5 [4255 kB]
272s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB]
272s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB]
272s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB]
272s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B]
272s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB]
272s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB]
272s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB]
272s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B]
272s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB]
272s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB]
272s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB]
272s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B]
272s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB]
272s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB]
272s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB]
272s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB]
272s dpkg-preconfigure: unable to re-open stdin: No such file or directory
272s Fetched 14.4 MB in 1s (23.7 MB/s)
272s (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 ... 83957 files and directories currently installed.)
272s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ...
272s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ...
272s Setting up findutils (4.10.0-3build2) ...
272s (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 ... 83957 files and directories currently installed.)
272s Preparing to unpack .../sed_4.9-2build3_amd64.deb ...
272s Unpacking sed (4.9-2build3) over (4.9-2build2) ...
272s Setting up sed (4.9-2build3) ...
272s (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 ... 83957 files and directories currently installed.)
272s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ...
272s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ...
272s Setting up tar (1.35+dfsg-3.1build2) ...
272s (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 ... 83957 files and directories currently installed.)
272s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_amd64.deb ...
272s Unpacking libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
272s Setting up libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) ...
272s (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 ... 83957 files and directories currently installed.)
272s Preparing to unpack .../libc6_2.42-2ubuntu5_amd64.deb ...
273s Unpacking libc6:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
273s Setting up libc6:amd64 (2.42-2ubuntu5) ...
273s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 83957 files and directories currently installed.)
273s Preparing to unpack .../libc-bin_2.42-2ubuntu5_amd64.deb ...
273s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
273s Setting up libc-bin (2.42-2ubuntu5) ...
273s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 83957 files and directories currently installed.)
273s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ...
273s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ...
273s Setting up libattr1:amd64 (1:2.5.2-3build2) ...
273s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 83957 files and directories currently installed.)
273s Preparing to unpack .../00-mawk_1.3.4.20260129-1_amd64.deb ...
273s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ...
273s Preparing to unpack .../01-libapt-pkg7.0_3.1.15_amd64.deb ...
273s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ...
273s Preparing to unpack .../02-apt_3.1.15_amd64.deb ...
273s Unpacking apt (3.1.15) over (3.1.14) ...
273s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ...
273s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
273s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ...
273s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
273s Preparing to unpack .../05-less_668-1build1_amd64.deb ...
273s Unpacking less (668-1build1) over (668-1) ...
273s Preparing to unpack .../06-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ...
273s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ...
273s Preparing to unpack .../07-locales_2.42-2ubuntu5_all.deb ...
273s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
273s Preparing to unpack .../08-python3-linkify-it_2.0.3-1ubuntu3_all.deb ...
274s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ...
274s Preparing to unpack .../09-python3-markdown-it_3.0.0-3build1_all.deb ...
274s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ...
274s Preparing to unpack .../10-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ...
274s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
274s Preparing to unpack .../11-libdrm-common_2.4.131-1_all.deb ...
274s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ...
274s Preparing to unpack .../12-libdrm2_2.4.131-1_amd64.deb ...
274s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ...
274s Preparing to unpack .../13-libgpm2_1.20.7-12build1_amd64.deb ...
274s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ...
274s Preparing to unpack .../14-libmaxminddb0_1.12.2-1build2_amd64.deb ...
274s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ...
274s Preparing to unpack .../15-libsensors-config_1%3a3.6.2-2build1_all.deb ...
274s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ...
274s Preparing to unpack .../16-libsensors5_1%3a3.6.2-2build1_amd64.deb ...
274s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ...
274s Preparing to unpack .../17-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ...
274s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
274s Preparing to unpack .../18-libdrm-amdgpu1_2.4.131-1_amd64.deb ...
274s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ...
274s Preparing to unpack .../19-libnpth0t64_1.8-3build1_amd64.deb ...
274s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ...
274s Preparing to unpack .../20-patch_2.8-2build1_amd64.deb ...
274s Unpacking patch (2.8-2build1) over (2.8-2) ...
274s Preparing to unpack .../21-pollinate_4.33-4ubuntu5_all.deb ...
274s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ...
274s Preparing to unpack .../22-python3-referencing_0.36.2-1ubuntu2_all.deb ...
274s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ...
274s Preparing to unpack .../23-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ...
274s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ...
274s Setting up libnpth0t64:amd64 (1.8-3build1) ...
274s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ...
274s Setting up libgpm2:amd64 (1.20.7-12build1) ...
274s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ...
274s Setting up libsensors-config (1:3.6.2-2build1) ...
274s Setting up less (668-1build1) ...
274s Setting up amd64-microcode (3.20251202.1ubuntu1) ...
274s amd64-microcode: microcode will be updated at next boot
274s Setting up locales (2.42-2ubuntu5) ...
275s Generating locales (this might take a while)...
275s en_US.UTF-8... done
275s Generation complete.
276s Setting up pollinate (4.33-4ubuntu5) ...
286s Setting up busybox-static (1:1.37.0-7ubuntu1) ...
286s Setting up patch (2.8-2build1) ...
286s Setting up libsensors5:amd64 (1:3.6.2-2build1) ...
286s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ...
286s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ...
286s Setting up dmsetup (2:1.02.205-2ubuntu3) ...
286s Setting up python3-linkify-it (2.0.3-1ubuntu3) ...
286s Setting up mawk (1.3.4.20260129-1) ...
286s Setting up libapt-pkg7.0:amd64 (3.1.15) ...
286s Setting up libdrm-common (2.4.131-1) ...
286s Setting up python3-referencing (0.36.2-1ubuntu2) ...
286s Setting up apt (3.1.15) ...
286s Setting up python3-markdown-it (3.0.0-3build1) ...
287s Setting up libdrm2:amd64 (2.4.131-1) ...
287s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ...
287s Processing triggers for libc-bin (2.42-2ubuntu5) ...
287s Processing triggers for systemd (259-1ubuntu3) ...
287s Processing triggers for man-db (2.13.1-1) ...
288s Processing triggers for install-info (7.2-5) ...
288s Processing triggers for initramfs-tools (0.150ubuntu7) ...
288s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic
293s autopkgtest [18:46:46]: upgrading testbed (apt dist-upgrade and autopurge)
294s Reading package lists...
294s Building dependency tree...
294s Reading state information...
294s Calculating upgrade...
294s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
294s Reading package lists...
294s Building dependency tree...
294s Reading state information...
294s Solving dependencies...
295s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
295s autopkgtest [18:46:48]: rebooting testbed after setup commands that affected boot
325s Reading package lists...
325s Building dependency tree...
325s Reading state information...
325s Solving dependencies...
325s The following NEW packages will be installed:
325s gir1.2-glib-2.0-dev girepository-tools native-architecture
325s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
325s Need to get 978 kB of archives.
325s After this operation, 12.3 MB of additional disk space will be used.
325s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0-dev amd64 2.86.3-4 [865 kB]
325s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 native-architecture all 0.2.6build1 [2256 B]
325s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 girepository-tools amd64 2.86.3-4 [111 kB]
326s Fetched 978 kB in 0s (6290 kB/s)
326s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64.
326s (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 ... 83962 files and directories currently installed.)
326s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.3-4_amd64.deb ...
326s Unpacking gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ...
326s Selecting previously unselected package native-architecture.
326s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ...
326s Unpacking native-architecture (0.2.6build1) ...
326s Selecting previously unselected package girepository-tools:amd64.
326s Preparing to unpack .../girepository-tools_2.86.3-4_amd64.deb ...
326s Unpacking girepository-tools:amd64 (2.86.3-4) ...
326s Setting up native-architecture (0.2.6build1) ...
326s Setting up gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ...
326s Setting up girepository-tools:amd64 (2.86.3-4) ...
326s Processing triggers for man-db (2.13.1-1) ...
334s autopkgtest [18:47:27]: test girepository-tools: [-----------------------
334s + cd /tmp/autopkgtest.9yJaFZ/autopkgtest_tmp
334s + dpkg-architecture -qDEB_HOST_GNU_TYPE
334s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
334s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu
334s + dpkg-architecture -qDEB_HOST_MULTIARCH
334s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
334s + DEB_HOST_MULTIARCH=x86_64-linux-gnu
334s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
334s typelib: GLib-2.0
334s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir
334s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
335s autopkgtest [18:47:28]: test girepository-tools: -----------------------]
335s autopkgtest [18:47:28]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - -
335s girepository-tools PASS (superficial)
335s autopkgtest [18:47:28]: test libgio-2.0-dev-bin: preparing testbed
357s Creating nova instance adt-resolute-amd64-glib2.0-20260206-184153-juju-7f2275-prod-proposed-migration-environment-2-6d6c833d-c4f3-4e94-9039-038b851fc68f from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)...
448s autopkgtest [18:49:21]: testbed dpkg architecture: amd64
448s autopkgtest [18:49:21]: testbed apt version: 3.1.14
449s autopkgtest [18:49:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup
449s autopkgtest [18:49:22]: testbed release detected to be: resolute
450s autopkgtest [18:49:23]: updating testbed package index (apt update)
450s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
450s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
450s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
450s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
450s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [197 kB]
450s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1507 kB]
451s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [32.1 kB]
451s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB]
451s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [262 kB]
451s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [185 kB]
451s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6500 B]
451s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3692 B]
451s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [80.4 kB]
451s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B]
451s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [541 kB]
451s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1405 kB]
451s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [36.6 kB]
451s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [28.2 kB]
451s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4892 B]
451s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1104 B]
452s Fetched 4425 kB in 1s (3436 kB/s)
452s Reading package lists...
453s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
453s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
453s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
453s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
454s Reading package lists...
454s Reading package lists...
454s Building dependency tree...
454s Reading state information...
454s Calculating upgrade...
454s The following packages will be upgraded:
454s amd64-microcode apt busybox-initramfs busybox-static dmsetup findutils less
454s libapt-pkg7.0 libattr1 libc-bin libc-gconv-modules-extra libc6
454s libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common libdrm2 libgpm2 libkeyutils1
454s libmaxminddb0 libnpth0t64 libsensors-config libsensors5 locales mawk patch
454s pollinate python3-linkify-it python3-markdown-it python3-referencing sed tar
454s 31 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
454s Need to get 14.4 MB of archives.
454s After this operation, 270 kB disk space will be freed.
454s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB]
454s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB]
454s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB]
454s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-gconv-modules-extra amd64 2.42-2ubuntu5 [1394 kB]
455s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc6 amd64 2.42-2ubuntu5 [2041 kB]
455s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-bin amd64 2.42-2ubuntu5 [702 kB]
455s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB]
455s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB]
455s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB]
455s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB]
455s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB]
455s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB]
455s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB]
455s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB]
455s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 locales all 2.42-2ubuntu5 [4255 kB]
456s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB]
456s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB]
456s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB]
456s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B]
456s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB]
456s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB]
456s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB]
456s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B]
456s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB]
456s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB]
456s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB]
456s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B]
456s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB]
456s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB]
456s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB]
456s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB]
456s dpkg-preconfigure: unable to re-open stdin: No such file or directory
456s Fetched 14.4 MB in 2s (8817 kB/s)
456s (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 ... 83957 files and directories currently installed.)
456s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ...
456s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ...
456s Setting up findutils (4.10.0-3build2) ...
456s (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 ... 83957 files and directories currently installed.)
456s Preparing to unpack .../sed_4.9-2build3_amd64.deb ...
456s Unpacking sed (4.9-2build3) over (4.9-2build2) ...
456s Setting up sed (4.9-2build3) ...
456s (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 ... 83957 files and directories currently installed.)
456s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ...
456s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ...
456s Setting up tar (1.35+dfsg-3.1build2) ...
456s (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 ... 83957 files and directories currently installed.)
456s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_amd64.deb ...
456s Unpacking libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
456s Setting up libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) ...
456s (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 ... 83957 files and directories currently installed.)
456s Preparing to unpack .../libc6_2.42-2ubuntu5_amd64.deb ...
457s Unpacking libc6:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
457s Setting up libc6:amd64 (2.42-2ubuntu5) ...
457s (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 ... 83957 files and directories currently installed.)
457s Preparing to unpack .../libc-bin_2.42-2ubuntu5_amd64.deb ...
457s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
457s Setting up libc-bin (2.42-2ubuntu5) ...
457s (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 ... 83957 files and directories currently installed.)
457s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ...
457s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ...
457s Setting up libattr1:amd64 (1:2.5.2-3build2) ...
457s (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 ... 83957 files and directories currently installed.)
457s Preparing to unpack .../00-mawk_1.3.4.20260129-1_amd64.deb ...
457s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ...
457s Preparing to unpack .../01-libapt-pkg7.0_3.1.15_amd64.deb ...
457s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ...
457s Preparing to unpack .../02-apt_3.1.15_amd64.deb ...
457s Unpacking apt (3.1.15) over (3.1.14) ...
457s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ...
457s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
457s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ...
457s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
457s Preparing to unpack .../05-less_668-1build1_amd64.deb ...
457s Unpacking less (668-1build1) over (668-1) ...
457s Preparing to unpack .../06-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ...
457s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ...
457s Preparing to unpack .../07-locales_2.42-2ubuntu5_all.deb ...
457s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
457s Preparing to unpack .../08-python3-linkify-it_2.0.3-1ubuntu3_all.deb ...
458s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ...
458s Preparing to unpack .../09-python3-markdown-it_3.0.0-3build1_all.deb ...
458s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ...
458s Preparing to unpack .../10-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ...
458s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
458s Preparing to unpack .../11-libdrm-common_2.4.131-1_all.deb ...
458s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ...
458s Preparing to unpack .../12-libdrm2_2.4.131-1_amd64.deb ...
458s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ...
458s Preparing to unpack .../13-libgpm2_1.20.7-12build1_amd64.deb ...
458s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ...
458s Preparing to unpack .../14-libmaxminddb0_1.12.2-1build2_amd64.deb ...
458s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ...
458s Preparing to unpack .../15-libsensors-config_1%3a3.6.2-2build1_all.deb ...
458s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ...
458s Preparing to unpack .../16-libsensors5_1%3a3.6.2-2build1_amd64.deb ...
458s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ...
458s Preparing to unpack .../17-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ...
458s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
458s Preparing to unpack .../18-libdrm-amdgpu1_2.4.131-1_amd64.deb ...
458s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ...
458s Preparing to unpack .../19-libnpth0t64_1.8-3build1_amd64.deb ...
458s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ...
458s Preparing to unpack .../20-patch_2.8-2build1_amd64.deb ...
458s Unpacking patch (2.8-2build1) over (2.8-2) ...
458s Preparing to unpack .../21-pollinate_4.33-4ubuntu5_all.deb ...
458s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ...
458s Preparing to unpack .../22-python3-referencing_0.36.2-1ubuntu2_all.deb ...
458s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ...
458s Preparing to unpack .../23-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ...
458s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ...
458s Setting up libnpth0t64:amd64 (1.8-3build1) ...
458s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ...
458s Setting up libgpm2:amd64 (1.20.7-12build1) ...
458s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ...
458s Setting up libsensors-config (1:3.6.2-2build1) ...
458s Setting up less (668-1build1) ...
458s Setting up amd64-microcode (3.20251202.1ubuntu1) ...
458s amd64-microcode: microcode will be updated at next boot
458s Setting up locales (2.42-2ubuntu5) ...
459s Generating locales (this might take a while)...
459s en_US.UTF-8... done
459s Generation complete.
460s Setting up pollinate (4.33-4ubuntu5) ...
470s Setting up busybox-static (1:1.37.0-7ubuntu1) ...
470s Setting up patch (2.8-2build1) ...
470s Setting up libsensors5:amd64 (1:3.6.2-2build1) ...
470s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ...
470s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ...
470s Setting up dmsetup (2:1.02.205-2ubuntu3) ...
470s Setting up python3-linkify-it (2.0.3-1ubuntu3) ...
470s Setting up mawk (1.3.4.20260129-1) ...
470s Setting up libapt-pkg7.0:amd64 (3.1.15) ...
470s Setting up libdrm-common (2.4.131-1) ...
470s Setting up python3-referencing (0.36.2-1ubuntu2) ...
470s Setting up apt (3.1.15) ...
470s Setting up python3-markdown-it (3.0.0-3build1) ...
471s Setting up libdrm2:amd64 (2.4.131-1) ...
471s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ...
471s Processing triggers for libc-bin (2.42-2ubuntu5) ...
471s Processing triggers for systemd (259-1ubuntu3) ...
471s Processing triggers for man-db (2.13.1-1) ...
472s Processing triggers for install-info (7.2-5) ...
472s Processing triggers for initramfs-tools (0.150ubuntu7) ...
472s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic
477s autopkgtest [18:49:50]: upgrading testbed (apt dist-upgrade and autopurge)
478s Reading package lists...
478s Building dependency tree...
478s Reading state information...
478s Calculating upgrade...
478s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
478s Reading package lists...
478s Building dependency tree...
478s Reading state information...
478s Solving dependencies...
478s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
479s autopkgtest [18:49:52]: rebooting testbed after setup commands that affected boot
509s Reading package lists...
509s Building dependency tree...
509s Reading state information...
509s Solving dependencies...
509s The following NEW packages will be installed:
509s libgio-2.0-dev-bin
510s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
510s Need to get 129 kB of archives.
510s After this operation, 716 kB of additional disk space will be used.
510s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev-bin amd64 2.86.3-4 [129 kB]
510s Fetched 129 kB in 0s (1944 kB/s)
510s Selecting previously unselected package libgio-2.0-dev-bin.
510s (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 ... 83962 files and directories currently installed.)
510s Preparing to unpack .../libgio-2.0-dev-bin_2.86.3-4_amd64.deb ...
510s Unpacking libgio-2.0-dev-bin (2.86.3-4) ...
510s Setting up libgio-2.0-dev-bin (2.86.3-4) ...
510s Processing triggers for man-db (2.13.1-1) ...
514s autopkgtest [18:50:27]: test libgio-2.0-dev-bin: [-----------------------
514s + gdbus-codegen --help
514s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
514s [--c-namespace NAMESPACE] [--c-generate-object-manager]
514s [--c-generate-autocleanup {none,objects,all}]
514s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
514s [--generate-rst OUTFILES] [--pragma-once]
514s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
514s [--glib-min-required VERSION]
514s [--glib-max-allowed VERSION]
514s [--symbol-decorator SYMBOL_DECORATOR]
514s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
514s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
514s [--generate-c-code OUTFILES | --header | --body |
514s --interface-info-header | --interface-info-body]
514s [--output FILE | --output-directory OUTDIR]
514s FILE [FILE ...]
514s
514s D-Bus code and documentation generator
514s
514s positional arguments:
514s FILE D-Bus introspection XML file
514s
514s options:
514s -h, --help show this help message and exit
514s --interface-prefix PREFIX
514s String to strip from D-Bus interface names for code
514s and docs
514s --c-namespace NAMESPACE
514s The namespace to use for generated C code
514s --c-generate-object-manager
514s Generate a GDBusObjectManagerClient subclass when
514s generating C code
514s --c-generate-autocleanup {none,objects,all}
514s Generate autocleanup support
514s --generate-docbook OUTFILES
514s Generate Docbook in OUTFILES-org.Project.IFace.xml
514s --generate-md OUTFILES
514s Generate Markdown in OUTFILES-org.Project.IFace.md
514s --generate-rst OUTFILES
514s Generate reStructuredText in OUTFILES-
514s org.Project.IFace.rst
514s --pragma-once Use "pragma once" as the inclusion guard
514s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
514s Add annotation (may be used several times)
514s --glib-min-required VERSION
514s Minimum version of GLib to be supported by the
514s outputted code (default: 2.30)
514s --glib-max-allowed VERSION
514s Maximum version of GLib to be used by the outputted
514s code (default: current GLib version)
514s --symbol-decorator SYMBOL_DECORATOR
514s Macro used to decorate a symbol in the outputted
514s header, possibly to export symbols
514s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
514s Additional header required for decorator specified by
514s --symbol-decorator
514s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
514s Additional define required for decorator specified by
514s --symbol-decorator
514s --generate-c-code OUTFILES
514s Generate C code in OUTFILES.[ch]
514s --header Generate C headers
514s --body Generate C code
514s --interface-info-header
514s Generate GDBusInterfaceInfo C header
514s --interface-info-body
514s Generate GDBusInterfaceInfo C code
514s --output FILE Write output into the specified file
514s --output-directory OUTDIR
514s Location to output generated files
514s + glib-compile-resources --version
514s 2.86.3
514s + glib-genmarshal --version
514s glib-genmarshal version 2.86.3
514s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
514s You may redistribute copies of glib-genmarshal under the terms of
514s the GNU General Public License which can be found in the
514s GLib source package. Sources, examples and contact
514s information are available at http://www.gtk.org
514s + glib-gettextize --version
514s /usr/bin/glib-gettextize (GNU glib) 2.86.3
514s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
514s This is free software; see the source for copying conditions. There is NO
514s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
514s Written by Ulrich Drepper
514s + glib-mkenums --version
514s glib-mkenums version 2.86.3
514s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
514s You may redistribute copies of glib-mkenums under the terms of
514s the GNU General Public License which can be found in the
514s GLib source package. Sources, examples and contact
514s information are available at http://www.gtk.org
514s + gobject-query tree
514s GObject
514s + gtester --version
514s gtester version 2.86.3
514s + gtester-report --version
514s gtester-report (GLib utils) version 2.86.3.
515s autopkgtest [18:50:28]: test libgio-2.0-dev-bin: -----------------------]
515s libgio-2.0-dev-bin PASS (superficial)
515s autopkgtest [18:50:28]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - -
515s autopkgtest [18:50:28]: test libglib2.0-dev: preparing testbed
535s Creating nova instance adt-resolute-amd64-glib2.0-20260206-184153-juju-7f2275-prod-proposed-migration-environment-2-6d6c833d-c4f3-4e94-9039-038b851fc68f from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)...
603s autopkgtest [18:51:56]: testbed dpkg architecture: amd64
603s autopkgtest [18:51:56]: testbed apt version: 3.1.14
604s autopkgtest [18:51:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup
604s autopkgtest [18:51:57]: testbed release detected to be: resolute
604s autopkgtest [18:51:57]: updating testbed package index (apt update)
604s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
605s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
605s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
605s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
605s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1507 kB]
605s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB]
605s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [197 kB]
605s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [32.1 kB]
605s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [185 kB]
605s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [262 kB]
605s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6500 B]
605s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3692 B]
605s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [80.4 kB]
605s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B]
606s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [541 kB]
606s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1405 kB]
606s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [36.6 kB]
606s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [28.2 kB]
606s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4892 B]
606s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1104 B]
607s Fetched 4425 kB in 2s (2790 kB/s)
607s Reading package lists...
608s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
608s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
608s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
608s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
608s Reading package lists...
608s Reading package lists...
609s Building dependency tree...
609s Reading state information...
609s Calculating upgrade...
609s The following packages will be upgraded:
609s amd64-microcode apt busybox-initramfs busybox-static dmsetup findutils less
609s libapt-pkg7.0 libattr1 libc-bin libc-gconv-modules-extra libc6
609s libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common libdrm2 libgpm2 libkeyutils1
609s libmaxminddb0 libnpth0t64 libsensors-config libsensors5 locales mawk patch
609s pollinate python3-linkify-it python3-markdown-it python3-referencing sed tar
609s 31 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
609s Need to get 14.4 MB of archives.
609s After this operation, 270 kB disk space will be freed.
609s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB]
609s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB]
609s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB]
609s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-gconv-modules-extra amd64 2.42-2ubuntu5 [1394 kB]
609s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc6 amd64 2.42-2ubuntu5 [2041 kB]
609s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-bin amd64 2.42-2ubuntu5 [702 kB]
609s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB]
609s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB]
609s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB]
609s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB]
609s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB]
609s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB]
609s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB]
609s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB]
609s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 locales all 2.42-2ubuntu5 [4255 kB]
609s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB]
609s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB]
610s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB]
610s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B]
610s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB]
610s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB]
610s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB]
610s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B]
610s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB]
610s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB]
610s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB]
610s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B]
610s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB]
610s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB]
610s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB]
610s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB]
610s dpkg-preconfigure: unable to re-open stdin: No such file or directory
610s Fetched 14.4 MB in 1s (23.9 MB/s)
610s (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 ... 83957 files and directories currently installed.)
610s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ...
610s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ...
610s Setting up findutils (4.10.0-3build2) ...
610s (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 ... 83957 files and directories currently installed.)
610s Preparing to unpack .../sed_4.9-2build3_amd64.deb ...
610s Unpacking sed (4.9-2build3) over (4.9-2build2) ...
610s Setting up sed (4.9-2build3) ...
610s (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 ... 83957 files and directories currently installed.)
610s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ...
610s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ...
610s Setting up tar (1.35+dfsg-3.1build2) ...
610s (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 ... 83957 files and directories currently installed.)
610s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_amd64.deb ...
610s Unpacking libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
610s Setting up libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) ...
610s (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 ... 83957 files and directories currently installed.)
610s Preparing to unpack .../libc6_2.42-2ubuntu5_amd64.deb ...
610s Unpacking libc6:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
610s Setting up libc6:amd64 (2.42-2ubuntu5) ...
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 ... 83957 files and directories currently installed.)
611s Preparing to unpack .../libc-bin_2.42-2ubuntu5_amd64.deb ...
611s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
611s Setting up libc-bin (2.42-2ubuntu5) ...
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 ... 83957 files and directories currently installed.)
611s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ...
611s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ...
611s Setting up libattr1:amd64 (1:2.5.2-3build2) ...
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 ... 83957 files and directories currently installed.)
611s Preparing to unpack .../00-mawk_1.3.4.20260129-1_amd64.deb ...
611s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ...
611s Preparing to unpack .../01-libapt-pkg7.0_3.1.15_amd64.deb ...
611s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ...
611s Preparing to unpack .../02-apt_3.1.15_amd64.deb ...
611s Unpacking apt (3.1.15) over (3.1.14) ...
611s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ...
611s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
611s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ...
611s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
611s Preparing to unpack .../05-less_668-1build1_amd64.deb ...
611s Unpacking less (668-1build1) over (668-1) ...
611s Preparing to unpack .../06-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ...
611s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ...
611s Preparing to unpack .../07-locales_2.42-2ubuntu5_all.deb ...
611s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
611s Preparing to unpack .../08-python3-linkify-it_2.0.3-1ubuntu3_all.deb ...
611s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ...
611s Preparing to unpack .../09-python3-markdown-it_3.0.0-3build1_all.deb ...
611s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ...
611s Preparing to unpack .../10-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ...
611s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
611s Preparing to unpack .../11-libdrm-common_2.4.131-1_all.deb ...
611s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ...
611s Preparing to unpack .../12-libdrm2_2.4.131-1_amd64.deb ...
611s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ...
611s Preparing to unpack .../13-libgpm2_1.20.7-12build1_amd64.deb ...
611s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ...
611s Preparing to unpack .../14-libmaxminddb0_1.12.2-1build2_amd64.deb ...
611s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ...
611s Preparing to unpack .../15-libsensors-config_1%3a3.6.2-2build1_all.deb ...
612s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ...
612s Preparing to unpack .../16-libsensors5_1%3a3.6.2-2build1_amd64.deb ...
612s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ...
612s Preparing to unpack .../17-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ...
612s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
612s Preparing to unpack .../18-libdrm-amdgpu1_2.4.131-1_amd64.deb ...
612s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ...
612s Preparing to unpack .../19-libnpth0t64_1.8-3build1_amd64.deb ...
612s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ...
612s Preparing to unpack .../20-patch_2.8-2build1_amd64.deb ...
612s Unpacking patch (2.8-2build1) over (2.8-2) ...
612s Preparing to unpack .../21-pollinate_4.33-4ubuntu5_all.deb ...
612s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ...
612s Preparing to unpack .../22-python3-referencing_0.36.2-1ubuntu2_all.deb ...
612s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ...
612s Preparing to unpack .../23-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ...
612s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ...
612s Setting up libnpth0t64:amd64 (1.8-3build1) ...
612s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ...
612s Setting up libgpm2:amd64 (1.20.7-12build1) ...
612s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ...
612s Setting up libsensors-config (1:3.6.2-2build1) ...
612s Setting up less (668-1build1) ...
612s Setting up amd64-microcode (3.20251202.1ubuntu1) ...
612s amd64-microcode: microcode will be updated at next boot
612s Setting up locales (2.42-2ubuntu5) ...
612s Generating locales (this might take a while)...
613s en_US.UTF-8... done
613s Generation complete.
613s Setting up pollinate (4.33-4ubuntu5) ...
624s Setting up busybox-static (1:1.37.0-7ubuntu1) ...
624s Setting up patch (2.8-2build1) ...
624s Setting up libsensors5:amd64 (1:3.6.2-2build1) ...
624s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ...
624s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ...
624s Setting up dmsetup (2:1.02.205-2ubuntu3) ...
624s Setting up python3-linkify-it (2.0.3-1ubuntu3) ...
624s Setting up mawk (1.3.4.20260129-1) ...
624s Setting up libapt-pkg7.0:amd64 (3.1.15) ...
624s Setting up libdrm-common (2.4.131-1) ...
624s Setting up python3-referencing (0.36.2-1ubuntu2) ...
624s Setting up apt (3.1.15) ...
624s Setting up python3-markdown-it (3.0.0-3build1) ...
624s Setting up libdrm2:amd64 (2.4.131-1) ...
624s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ...
624s Processing triggers for libc-bin (2.42-2ubuntu5) ...
624s Processing triggers for systemd (259-1ubuntu3) ...
625s Processing triggers for man-db (2.13.1-1) ...
626s Processing triggers for install-info (7.2-5) ...
626s Processing triggers for initramfs-tools (0.150ubuntu7) ...
626s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic
630s autopkgtest [18:52:23]: upgrading testbed (apt dist-upgrade and autopurge)
631s Reading package lists...
631s Building dependency tree...
631s Reading state information...
631s Calculating upgrade...
632s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
632s Reading package lists...
632s Building dependency tree...
632s Reading state information...
632s Solving dependencies...
632s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
632s autopkgtest [18:52:25]: rebooting testbed after setup commands that affected boot
663s Reading package lists...
663s Building dependency tree...
663s Reading state information...
663s Solving dependencies...
663s The following NEW packages will be installed:
663s build-essential cpp cpp-15 cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu g++
663s g++-15 g++-15-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-15
663s gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu gir1.2-glib-2.0-dev
663s girepository-tools libasan8 libblkid-dev libc-dev-bin libc6-dev libcc1-0
663s libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin
663s libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0
663s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0
663s libpcre2-dev libpcre2-posix3 libpkgconf3 libquadmath0 libselinux-dev
663s libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1
663s linux-libc-dev native-architecture pkgconf pkgconf-bin rpcsvc-proto uuid-dev
663s zlib1g-dev
663s 0 upgraded, 54 newly installed, 0 to remove and 0 not upgraded.
663s Need to get 80.6 MB of archives.
663s After this operation, 295 MB of additional disk space will be used.
663s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-dev-bin amd64 2.42-2ubuntu5 [23.3 kB]
664s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 linux-libc-dev amd64 6.18.0-9.9 [1860 kB]
664s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt-dev amd64 1:4.5.1-1 [122 kB]
664s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 rpcsvc-proto amd64 1.4.3-1build1 [68.3 kB]
664s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc6-dev amd64 2.42-2ubuntu5 [2206 kB]
664s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libisl23 amd64 0.27-1build1 [691 kB]
664s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libmpc3 amd64 1.3.1-2 [54.8 kB]
664s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [12.9 MB]
664s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15 amd64 15.2.0-12ubuntu1 [1034 B]
664s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [5746 B]
664s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp amd64 4:15.2.0-4ubuntu1 [22.4 kB]
664s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libcc1-0 amd64 15.2.0-12ubuntu1 [47.4 kB]
664s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-12ubuntu1 [151 kB]
664s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libitm1 amd64 15.2.0-12ubuntu1 [29.5 kB]
664s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libasan8 amd64 15.2.0-12ubuntu1 [3070 kB]
665s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsan0 amd64 15.2.0-12ubuntu1 [1360 kB]
665s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libtsan2 amd64 15.2.0-12ubuntu1 [2757 kB]
665s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libubsan1 amd64 15.2.0-12ubuntu1 [1210 kB]
665s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libhwasan0 amd64 15.2.0-12ubuntu1 [1685 kB]
665s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libquadmath0 amd64 15.2.0-12ubuntu1 [153 kB]
665s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-15-dev amd64 15.2.0-12ubuntu1 [2866 kB]
665s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [25.4 MB]
665s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15 amd64 15.2.0-12ubuntu1 [530 kB]
665s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [1208 B]
665s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc amd64 4:15.2.0-4ubuntu1 [5024 B]
665s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++-15-dev amd64 15.2.0-12ubuntu1 [2553 kB]
665s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15-x86-64-linux-gnu amd64 15.2.0-12ubuntu1 [14.4 MB]
666s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15 amd64 15.2.0-12ubuntu1 [25.3 kB]
666s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [966 B]
666s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 g++ amd64 4:15.2.0-4ubuntu1 [1100 B]
666s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 build-essential amd64 12.12ubuntu2 [5256 B]
666s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0-dev amd64 2.86.3-4 [865 kB]
666s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 native-architecture all 0.2.6build1 [2256 B]
666s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 girepository-tools amd64 2.86.3-4 [111 kB]
666s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libffi-dev amd64 3.5.2-3 [66.5 kB]
666s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 uuid-dev amd64 2.41.2-4ubuntu2 [56.8 kB]
666s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libblkid-dev amd64 2.41.2-4ubuntu2 [234 kB]
666s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libsepol-dev amd64 3.9-2 [409 kB]
666s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-16-0 amd64 10.46-1 [243 kB]
666s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-32-0 amd64 10.46-1 [230 kB]
666s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-posix3 amd64 10.46-1 [7354 B]
666s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libpcre2-dev amd64 10.46-1 [832 kB]
666s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 libselinux-dev amd64 3.9-4 [176 kB]
666s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 libmount-dev amd64 2.41.2-4ubuntu2 [37.6 kB]
666s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 libsysprof-capture-4-dev amd64 49.0-5 [53.6 kB]
666s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 libpkgconf3 amd64 1.8.1-4build1 [32.8 kB]
666s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 pkgconf-bin amd64 1.8.1-4build1 [21.7 kB]
666s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 pkgconf amd64 1.8.1-4build1 [16.8 kB]
666s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu2 [898 kB]
666s Get:50 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev amd64 2.86.3-4 [1817 kB]
666s Get:51 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev-bin amd64 2.86.3-4 [129 kB]
666s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-bin amd64 2.86.3-4 [99.5 kB]
666s Get:53 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-dev-bin amd64 2.86.3-4 [18.2 kB]
666s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-dev amd64 2.86.3-4 [18.9 kB]
666s Fetched 80.6 MB in 2s (34.0 MB/s)
666s Selecting previously unselected package libc-dev-bin.
666s (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 ... 83962 files and directories currently installed.)
666s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu5_amd64.deb ...
666s Unpacking libc-dev-bin (2.42-2ubuntu5) ...
666s Selecting previously unselected package linux-libc-dev:amd64.
666s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_amd64.deb ...
666s Unpacking linux-libc-dev:amd64 (6.18.0-9.9) ...
666s Selecting previously unselected package libcrypt-dev:amd64.
666s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_amd64.deb ...
666s Unpacking libcrypt-dev:amd64 (1:4.5.1-1) ...
666s Selecting previously unselected package rpcsvc-proto.
666s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_amd64.deb ...
666s Unpacking rpcsvc-proto (1.4.3-1build1) ...
666s Selecting previously unselected package libc6-dev:amd64.
666s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu5_amd64.deb ...
666s Unpacking libc6-dev:amd64 (2.42-2ubuntu5) ...
666s Selecting previously unselected package libisl23:amd64.
666s Preparing to unpack .../05-libisl23_0.27-1build1_amd64.deb ...
666s Unpacking libisl23:amd64 (0.27-1build1) ...
666s Selecting previously unselected package libmpc3:amd64.
666s Preparing to unpack .../06-libmpc3_1.3.1-2_amd64.deb ...
666s Unpacking libmpc3:amd64 (1.3.1-2) ...
666s Selecting previously unselected package cpp-15-x86-64-linux-gnu.
666s Preparing to unpack .../07-cpp-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ...
666s Unpacking cpp-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package cpp-15.
667s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking cpp-15 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package cpp-x86-64-linux-gnu.
667s Preparing to unpack .../09-cpp-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ...
667s Unpacking cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
667s Selecting previously unselected package cpp.
667s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_amd64.deb ...
667s Unpacking cpp (4:15.2.0-4ubuntu1) ...
667s Selecting previously unselected package libcc1-0:amd64.
667s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libcc1-0:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package libgomp1:amd64.
667s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libgomp1:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package libitm1:amd64.
667s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libitm1:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package libasan8:amd64.
667s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libasan8:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package liblsan0:amd64.
667s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking liblsan0:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package libtsan2:amd64.
667s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libtsan2:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package libubsan1:amd64.
667s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libubsan1:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package libhwasan0:amd64.
667s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libhwasan0:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package libquadmath0:amd64.
667s Preparing to unpack .../19-libquadmath0_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libquadmath0:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package libgcc-15-dev:amd64.
667s Preparing to unpack .../20-libgcc-15-dev_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libgcc-15-dev:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package gcc-15-x86-64-linux-gnu.
667s Preparing to unpack .../21-gcc-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking gcc-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package gcc-15.
667s Preparing to unpack .../22-gcc-15_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking gcc-15 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package gcc-x86-64-linux-gnu.
667s Preparing to unpack .../23-gcc-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ...
667s Unpacking gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
667s Selecting previously unselected package gcc.
667s Preparing to unpack .../24-gcc_4%3a15.2.0-4ubuntu1_amd64.deb ...
667s Unpacking gcc (4:15.2.0-4ubuntu1) ...
667s Selecting previously unselected package libstdc++-15-dev:amd64.
667s Preparing to unpack .../25-libstdc++-15-dev_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking libstdc++-15-dev:amd64 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package g++-15-x86-64-linux-gnu.
667s Preparing to unpack .../26-g++-15-x86-64-linux-gnu_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking g++-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package g++-15.
667s Preparing to unpack .../27-g++-15_15.2.0-12ubuntu1_amd64.deb ...
667s Unpacking g++-15 (15.2.0-12ubuntu1) ...
667s Selecting previously unselected package g++-x86-64-linux-gnu.
667s Preparing to unpack .../28-g++-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ...
667s Unpacking g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
667s Selecting previously unselected package g++.
667s Preparing to unpack .../29-g++_4%3a15.2.0-4ubuntu1_amd64.deb ...
667s Unpacking g++ (4:15.2.0-4ubuntu1) ...
667s Selecting previously unselected package build-essential.
667s Preparing to unpack .../30-build-essential_12.12ubuntu2_amd64.deb ...
667s Unpacking build-essential (12.12ubuntu2) ...
667s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64.
667s Preparing to unpack .../31-gir1.2-glib-2.0-dev_2.86.3-4_amd64.deb ...
667s Unpacking gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ...
667s Selecting previously unselected package native-architecture.
667s Preparing to unpack .../32-native-architecture_0.2.6build1_all.deb ...
667s Unpacking native-architecture (0.2.6build1) ...
667s Selecting previously unselected package girepository-tools:amd64.
667s Preparing to unpack .../33-girepository-tools_2.86.3-4_amd64.deb ...
667s Unpacking girepository-tools:amd64 (2.86.3-4) ...
667s Selecting previously unselected package libffi-dev:amd64.
667s Preparing to unpack .../34-libffi-dev_3.5.2-3_amd64.deb ...
667s Unpacking libffi-dev:amd64 (3.5.2-3) ...
667s Selecting previously unselected package uuid-dev:amd64.
667s Preparing to unpack .../35-uuid-dev_2.41.2-4ubuntu2_amd64.deb ...
667s Unpacking uuid-dev:amd64 (2.41.2-4ubuntu2) ...
667s Selecting previously unselected package libblkid-dev:amd64.
667s Preparing to unpack .../36-libblkid-dev_2.41.2-4ubuntu2_amd64.deb ...
667s Unpacking libblkid-dev:amd64 (2.41.2-4ubuntu2) ...
667s Selecting previously unselected package libsepol-dev:amd64.
667s Preparing to unpack .../37-libsepol-dev_3.9-2_amd64.deb ...
667s Unpacking libsepol-dev:amd64 (3.9-2) ...
667s Selecting previously unselected package libpcre2-16-0:amd64.
667s Preparing to unpack .../38-libpcre2-16-0_10.46-1_amd64.deb ...
667s Unpacking libpcre2-16-0:amd64 (10.46-1) ...
667s Selecting previously unselected package libpcre2-32-0:amd64.
667s Preparing to unpack .../39-libpcre2-32-0_10.46-1_amd64.deb ...
667s Unpacking libpcre2-32-0:amd64 (10.46-1) ...
667s Selecting previously unselected package libpcre2-posix3:amd64.
667s Preparing to unpack .../40-libpcre2-posix3_10.46-1_amd64.deb ...
667s Unpacking libpcre2-posix3:amd64 (10.46-1) ...
668s Selecting previously unselected package libpcre2-dev:amd64.
668s Preparing to unpack .../41-libpcre2-dev_10.46-1_amd64.deb ...
668s Unpacking libpcre2-dev:amd64 (10.46-1) ...
668s Selecting previously unselected package libselinux-dev:amd64.
668s Preparing to unpack .../42-libselinux-dev_3.9-4_amd64.deb ...
668s Unpacking libselinux-dev:amd64 (3.9-4) ...
668s Selecting previously unselected package libmount-dev:amd64.
668s Preparing to unpack .../43-libmount-dev_2.41.2-4ubuntu2_amd64.deb ...
668s Unpacking libmount-dev:amd64 (2.41.2-4ubuntu2) ...
668s Selecting previously unselected package libsysprof-capture-4-dev:amd64.
668s Preparing to unpack .../44-libsysprof-capture-4-dev_49.0-5_amd64.deb ...
668s Unpacking libsysprof-capture-4-dev:amd64 (49.0-5) ...
668s Selecting previously unselected package libpkgconf3:amd64.
668s Preparing to unpack .../45-libpkgconf3_1.8.1-4build1_amd64.deb ...
668s Unpacking libpkgconf3:amd64 (1.8.1-4build1) ...
668s Selecting previously unselected package pkgconf-bin.
668s Preparing to unpack .../46-pkgconf-bin_1.8.1-4build1_amd64.deb ...
668s Unpacking pkgconf-bin (1.8.1-4build1) ...
668s Selecting previously unselected package pkgconf:amd64.
668s Preparing to unpack .../47-pkgconf_1.8.1-4build1_amd64.deb ...
668s Unpacking pkgconf:amd64 (1.8.1-4build1) ...
668s Selecting previously unselected package zlib1g-dev:amd64.
668s Preparing to unpack .../48-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_amd64.deb ...
668s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
668s Selecting previously unselected package libgio-2.0-dev:amd64.
668s Preparing to unpack .../49-libgio-2.0-dev_2.86.3-4_amd64.deb ...
668s Unpacking libgio-2.0-dev:amd64 (2.86.3-4) ...
668s Selecting previously unselected package libgio-2.0-dev-bin.
668s Preparing to unpack .../50-libgio-2.0-dev-bin_2.86.3-4_amd64.deb ...
668s Unpacking libgio-2.0-dev-bin (2.86.3-4) ...
668s Selecting previously unselected package libglib2.0-bin.
668s Preparing to unpack .../51-libglib2.0-bin_2.86.3-4_amd64.deb ...
668s Unpacking libglib2.0-bin (2.86.3-4) ...
668s Selecting previously unselected package libglib2.0-dev-bin.
668s Preparing to unpack .../52-libglib2.0-dev-bin_2.86.3-4_amd64.deb ...
668s Unpacking libglib2.0-dev-bin (2.86.3-4) ...
668s Selecting previously unselected package libglib2.0-dev:amd64.
668s Preparing to unpack .../53-libglib2.0-dev_2.86.3-4_amd64.deb ...
668s Unpacking libglib2.0-dev:amd64 (2.86.3-4) ...
668s Setting up libgio-2.0-dev-bin (2.86.3-4) ...
668s Setting up native-architecture (0.2.6build1) ...
668s Setting up linux-libc-dev:amd64 (6.18.0-9.9) ...
668s Setting up libglib2.0-bin (2.86.3-4) ...
668s Setting up libgomp1:amd64 (15.2.0-12ubuntu1) ...
668s Setting up libffi-dev:amd64 (3.5.2-3) ...
668s Setting up libpcre2-16-0:amd64 (10.46-1) ...
668s Setting up libsysprof-capture-4-dev:amd64 (49.0-5) ...
668s Setting up libpcre2-32-0:amd64 (10.46-1) ...
668s Setting up libpkgconf3:amd64 (1.8.1-4build1) ...
668s Setting up rpcsvc-proto (1.4.3-1build1) ...
668s Setting up libquadmath0:amd64 (15.2.0-12ubuntu1) ...
668s Setting up libmpc3:amd64 (1.3.1-2) ...
668s Setting up libsepol-dev:amd64 (3.9-2) ...
668s Setting up pkgconf-bin (1.8.1-4build1) ...
668s Setting up libubsan1:amd64 (15.2.0-12ubuntu1) ...
668s Setting up libpcre2-posix3:amd64 (10.46-1) ...
668s Setting up gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ...
668s Setting up libhwasan0:amd64 (15.2.0-12ubuntu1) ...
668s Setting up libcrypt-dev:amd64 (1:4.5.1-1) ...
668s Setting up libasan8:amd64 (15.2.0-12ubuntu1) ...
668s Setting up libtsan2:amd64 (15.2.0-12ubuntu1) ...
668s Setting up libisl23:amd64 (0.27-1build1) ...
668s Setting up libc-dev-bin (2.42-2ubuntu5) ...
668s Setting up libcc1-0:amd64 (15.2.0-12ubuntu1) ...
668s Setting up liblsan0:amd64 (15.2.0-12ubuntu1) ...
668s Setting up libitm1:amd64 (15.2.0-12ubuntu1) ...
668s Setting up girepository-tools:amd64 (2.86.3-4) ...
668s Setting up libgcc-15-dev:amd64 (15.2.0-12ubuntu1) ...
668s Setting up cpp-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
668s Setting up pkgconf:amd64 (1.8.1-4build1) ...
668s Setting up gcc-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
668s Setting up cpp-15 (15.2.0-12ubuntu1) ...
668s Setting up libc6-dev:amd64 (2.42-2ubuntu5) ...
668s Setting up cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
668s Setting up libglib2.0-dev-bin (2.86.3-4) ...
668s Setting up libpcre2-dev:amd64 (10.46-1) ...
668s Setting up gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
668s Setting up gcc-15 (15.2.0-12ubuntu1) ...
668s Setting up libstdc++-15-dev:amd64 (15.2.0-12ubuntu1) ...
668s Setting up uuid-dev:amd64 (2.41.2-4ubuntu2) ...
668s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
668s Setting up cpp (4:15.2.0-4ubuntu1) ...
668s Setting up libselinux-dev:amd64 (3.9-4) ...
668s Setting up libblkid-dev:amd64 (2.41.2-4ubuntu2) ...
668s Setting up g++-15-x86-64-linux-gnu (15.2.0-12ubuntu1) ...
668s Setting up gcc (4:15.2.0-4ubuntu1) ...
668s Setting up g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ...
668s Setting up g++-15 (15.2.0-12ubuntu1) ...
668s Setting up libmount-dev:amd64 (2.41.2-4ubuntu2) ...
668s Setting up libgio-2.0-dev:amd64 (2.86.3-4) ...
668s Setting up g++ (4:15.2.0-4ubuntu1) ...
668s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
668s Setting up build-essential (12.12ubuntu2) ...
668s Processing triggers for install-info (7.2-5) ...
668s Processing triggers for libc-bin (2.42-2ubuntu5) ...
668s Processing triggers for man-db (2.13.1-1) ...
669s Processing triggers for libglib2.0-0t64:amd64 (2.86.3-4) ...
669s No schema files found: doing nothing.
669s Setting up libglib2.0-dev:amd64 (2.86.3-4) ...
672s autopkgtest [18:53:05]: test libglib2.0-dev: [-----------------------
672s + debian/tests/build
672s + mode=dynamic
672s + getopt -o --long static -n debian/tests/build --
672s + getopt_temp= --
672s + eval set -- --
672s + set -- --
672s + true
672s + shift
672s + break
672s + mktemp -d
672s + WORKDIR=/tmp/tmp.CXXrpmREzk
672s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
672s + cd /tmp/tmp.CXXrpmREzk
672s + [ -n ]
672s + CROSS_COMPILE=
672s + cat
672s + cat
672s + cat
672s + cat
672s + cat
672s + cat
672s + cflags=
672s + pcflags=
672s + packages=glib-2.0
672s + pkg-config --cflags --libs glib-2.0
672s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
672s build (glib, dynamic): OK
672s + echo build (glib, dynamic): OK
672s + [ -x glib-dynamic ]
672s + foo=bar ./glib-dynamic
672s run (glib, dynamic): OK
672s + echo run (glib, dynamic): OK
672s + cflags=
672s + pcflags=
672s + packages=gobject-2.0
672s + pkg-config --cflags --libs gobject-2.0
672s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
672s build (gobject, dynamic): OK
672s + echo build (gobject, dynamic): OK
672s + [ -x gobject-dynamic ]
672s + foo=bar ./gobject-dynamic
672s run (gobject, dynamic): OK
672s + echo run (gobject, dynamic): OK
672s + cflags=
672s + pcflags=
672s + packages=gio-2.0
672s + pkg-config --cflags --libs gio-2.0
672s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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
672s build (gio, dynamic): OK
672s + echo build (gio, dynamic): OK
672s + [ -x gio-dynamic ]
672s + foo=bar ./gio-dynamic
672s run (gio, dynamic): OK
672s + echo run (gio, dynamic): OK
672s + cflags=
672s + pcflags=
672s + packages=gio-unix-2.0
672s + pkg-config --cflags --libs gio-unix-2.0
672s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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
672s build (gio-unix, dynamic): OK
672s + echo build (gio-unix, dynamic): OK
672s + [ -x gio-unix-dynamic ]
672s + foo=bar ./gio-unix-dynamic
672s + echo run (gio-unix, dynamic): OK
672s + cflags=
672s + pcflags=
672s + packages=gmodule-2.0
672s + pkg-config --cflags --libs gmodule-2.0
672s run (gio-unix, dynamic): OK
672s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-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
672s + echo build (gmodule, dynamic): OK
672s + [ -x gmodule-dynamic ]
672s + foo=bar ./gmodule-dynamic
672s build (gmodule, dynamic): OK
672s + echo run (gmodule, dynamic): OK
672s + cflags=
672s + pcflags=
672s + packages=gthread-2.0
672s + pkg-config --cflags --libs gthread-2.0
672s run (gmodule, dynamic): OK
672s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
672s + echo build (gthread, dynamic): OK
672s + [ -x gthread-dynamic ]
672s + foo=bar ./gthread-dynamic
672s build (gthread, dynamic): OK
672s run (gthread, dynamic): OK
672s + echo run (gthread, dynamic): OK
672s + rm -rf /tmp/tmp.CXXrpmREzk
672s + debian/tests/build-static
672s + mode=dynamic
672s + getopt -o --long static -n debian/tests/build -- --static
672s + getopt_temp= --static --
672s + eval set -- --static --
672s + set -- --static --
672s + true
672s + mode=static
672s + shift
672s + continue
672s + true
672s + shift
672s + break
672s + mktemp -d
672s + WORKDIR=/tmp/tmp.zcasXJtT9a
672s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
672s + cd /tmp/tmp.zcasXJtT9a
672s + [ -n ]
672s + CROSS_COMPILE=
672s + cat
672s + cat
672s + cat
672s + cat
672s + cat
672s + cat
672s + cflags=
672s + pcflags=
672s + packages=glib-2.0
672s + cflags=-static
672s + pcflags=--static
672s + pkg-config --static --cflags --libs glib-2.0
672s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
673s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
673s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s build (glib, static): OK
673s + echo build (glib, static): OK
673s + [ -x glib-static ]
673s + foo=bar ./glib-static
673s + echo run (glib, static): OK
673s + cflags=
673s + pcflags=
673s + packages=gobject-2.0
673s + cflags=-static
673s + pcflags=--static
673s + pkg-config --static --cflags --libs gobject-2.0
673s run (glib, static): OK
673s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi
673s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
673s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s build (gobject, static): OK
673s + echo build (gobject, static): OK
673s + [ -x gobject-static ]
673s + foo=bar ./gobject-static
673s + echo run (gobject, static): OK
673s + cflags=
673s + pcflags=
673s + packages=gio-2.0
673s + cflags=-static
673s + pcflags=--static
673s + continue
673s + cflags=
673s + pcflags=
673s + packages=gio-unix-2.0
673s + cflags=-static
673s + pcflags=--static
673s + continue
673s + cflags=
673s + pcflags=
673s + packages=gmodule-2.0
673s + cflags=-static
673s + pcflags=--static
673s + pkg-config --static --cflags --libs gmodule-2.0
673s run (gobject, static): OK
673s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
673s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
673s (.text+0x5e7): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
673s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s build (gmodule, static): OK
673s run (gmodule, static): OK
673s + echo build (gmodule, static): OK
673s + [ -x gmodule-static ]
673s + foo=bar ./gmodule-static
673s + echo run (gmodule, static): OK
673s + cflags=
673s + pcflags=
673s + packages=gthread-2.0
673s + cflags=-static
673s + pcflags=--static
673s + pkg-config --static --cflags --libs gthread-2.0
673s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
673s /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
673s (.text+0xed): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x2b6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s /usr/bin/x86_64-linux-gnu-ld.bfd: (.text+0x137): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
673s build (gthread, static): OK
673s run (gthread, static): OK
673s + echo build (gthread, static): OK
673s + [ -x gthread-static ]
673s + foo=bar ./gthread-static
673s + echo run (gthread, static): OK
673s + rm -rf /tmp/tmp.zcasXJtT9a
673s + debian/tests/girepository-tools
673s + cd /tmp/autopkgtest.9yJaFZ/autopkgtest_tmp
673s + dpkg-architecture -qDEB_HOST_GNU_TYPE
673s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu
673s + dpkg-architecture -qDEB_HOST_MULTIARCH
673s + DEB_HOST_MULTIARCH=x86_64-linux-gnu
673s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
673s typelib: GLib-2.0
673s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir
673s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
673s + debian/tests/libgio-2.0-dev-bin
673s + gdbus-codegen --help
673s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
673s [--c-namespace NAMESPACE] [--c-generate-object-manager]
673s [--c-generate-autocleanup {none,objects,all}]
673s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
673s [--generate-rst OUTFILES] [--pragma-once]
673s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
673s [--glib-min-required VERSION]
673s [--glib-max-allowed VERSION]
673s [--symbol-decorator SYMBOL_DECORATOR]
673s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
673s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
673s [--generate-c-code OUTFILES | --header | --body |
673s --interface-info-header | --interface-info-body]
673s [--output FILE | --output-directory OUTDIR]
673s FILE [FILE ...]
673s
673s D-Bus code and documentation generator
673s
673s positional arguments:
673s FILE D-Bus introspection XML file
673s
673s options:
673s -h, --help show this help message and exit
673s --interface-prefix PREFIX
673s String to strip from D-Bus interface names for code
673s and docs
673s --c-namespace NAMESPACE
673s The namespace to use for generated C code
673s --c-generate-object-manager
673s Generate a GDBusObjectManagerClient subclass when
673s generating C code
673s --c-generate-autocleanup {none,objects,all}
673s Generate autocleanup support
673s --generate-docbook OUTFILES
673s Generate Docbook in OUTFILES-org.Project.IFace.xml
673s --generate-md OUTFILES
673s Generate Markdown in OUTFILES-org.Project.IFace.md
673s --generate-rst OUTFILES
673s Generate reStructuredText in OUTFILES-
673s org.Project.IFace.rst
673s --pragma-once Use "pragma once" as the inclusion guard
673s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
673s Add annotation (may be used several times)
673s --glib-min-required VERSION
673s Minimum version of GLib to be supported by the
673s outputted code (default: 2.30)
673s --glib-max-allowed VERSION
673s Maximum version of GLib to be used by the outputted
673s code (default: current GLib version)
673s --symbol-decorator SYMBOL_DECORATOR
673s Macro used to decorate a symbol in the outputted
673s header, possibly to export symbols
673s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
673s Additional header required for decorator specified by
673s --symbol-decorator
673s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
673s Additional define required for decorator specified by
673s --symbol-decorator
673s --generate-c-code OUTFILES
673s Generate C code in OUTFILES.[ch]
673s --header Generate C headers
673s --body Generate C code
673s --interface-info-header
673s Generate GDBusInterfaceInfo C header
673s --interface-info-body
673s Generate GDBusInterfaceInfo C code
673s --output FILE Write output into the specified file
673s --output-directory OUTDIR
673s Location to output generated files
673s + glib-compile-resources --version
673s + glib-genmarshal --version
673s 2.86.3
673s glib-genmarshal version 2.86.3
673s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
673s You may redistribute copies of glib-genmarshal under the terms of
673s the GNU General Public License which can be found in the
673s GLib source package. Sources, examples and contact
673s information are available at http://www.gtk.org
673s + glib-gettextize --version
673s + glib-mkenums --version
673s /usr/bin/glib-gettextize (GNU glib) 2.86.3
673s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
673s This is free software; see the source for copying conditions. There is NO
673s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
673s Written by Ulrich Drepper
673s glib-mkenums version 2.86.3
673s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
673s You may redistribute copies of glib-mkenums under the terms of
673s the GNU General Public License which can be found in the
673s GLib source package. Sources, examples and contact
673s information are available at http://www.gtk.org
673s + gobject-query tree
673s + gtester --version
673s GObject
673s gtester version 2.86.3
673s + gtester-report --version
673s gtester-report (GLib utils) version 2.86.3.
673s + cd /tmp/autopkgtest.9yJaFZ/autopkgtest_tmp
673s + dpkg-architecture -qDEB_HOST_MULTIARCH
673s + DEB_HOST_MULTIARCH=x86_64-linux-gnu
673s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
673s typelib: GLib-2.0
673s + gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir
673s + gi-decompile-typelib -o GLib.gir GLib.typelib
674s autopkgtest [18:53:07]: test libglib2.0-dev: -----------------------]
674s autopkgtest [18:53:07]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - -
674s libglib2.0-dev PASS (superficial)
674s autopkgtest [18:53:07]: test installed-tests: preparing testbed
693s Creating nova instance adt-resolute-amd64-glib2.0-20260206-184153-juju-7f2275-prod-proposed-migration-environment-2-6d6c833d-c4f3-4e94-9039-038b851fc68f from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)...
775s autopkgtest [18:54:48]: testbed dpkg architecture: amd64
775s autopkgtest [18:54:48]: testbed apt version: 3.1.14
776s autopkgtest [18:54:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup
776s autopkgtest [18:54:49]: testbed release detected to be: resolute
776s autopkgtest [18:54:49]: updating testbed package index (apt update)
777s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
777s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
777s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
777s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
778s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [32.1 kB]
778s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1507 kB]
779s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [197 kB]
779s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB]
779s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [185 kB]
779s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [262 kB]
779s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6500 B]
779s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [80.4 kB]
779s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3692 B]
779s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B]
779s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1405 kB]
780s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [541 kB]
780s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [36.6 kB]
780s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4892 B]
780s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [28.2 kB]
780s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1104 B]
780s Fetched 4425 kB in 3s (1382 kB/s)
781s Reading package lists...
781s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
782s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
782s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
782s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
782s Reading package lists...
782s Reading package lists...
782s Building dependency tree...
782s Reading state information...
782s Calculating upgrade...
783s The following packages will be upgraded:
783s amd64-microcode apt busybox-initramfs busybox-static dmsetup findutils less
783s libapt-pkg7.0 libattr1 libc-bin libc-gconv-modules-extra libc6
783s libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common libdrm2 libgpm2 libkeyutils1
783s libmaxminddb0 libnpth0t64 libsensors-config libsensors5 locales mawk patch
783s pollinate python3-linkify-it python3-markdown-it python3-referencing sed tar
783s 31 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
783s Need to get 14.4 MB of archives.
783s After this operation, 270 kB disk space will be freed.
783s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB]
783s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB]
783s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB]
783s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-gconv-modules-extra amd64 2.42-2ubuntu5 [1394 kB]
783s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc6 amd64 2.42-2ubuntu5 [2041 kB]
784s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-bin amd64 2.42-2ubuntu5 [702 kB]
784s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB]
784s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB]
784s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB]
784s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB]
785s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB]
785s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB]
785s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB]
785s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB]
785s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 locales all 2.42-2ubuntu5 [4255 kB]
785s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB]
785s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB]
785s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB]
785s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B]
785s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB]
785s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB]
785s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB]
785s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B]
785s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB]
785s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB]
785s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB]
785s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B]
785s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB]
785s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB]
785s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB]
785s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB]
785s dpkg-preconfigure: unable to re-open stdin: No such file or directory
785s Fetched 14.4 MB in 2s (6165 kB/s)
785s (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 ... 83957 files and directories currently installed.)
785s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ...
785s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ...
785s Setting up findutils (4.10.0-3build2) ...
785s (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 ... 83957 files and directories currently installed.)
785s Preparing to unpack .../sed_4.9-2build3_amd64.deb ...
785s Unpacking sed (4.9-2build3) over (4.9-2build2) ...
785s Setting up sed (4.9-2build3) ...
785s (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 ... 83957 files and directories currently installed.)
785s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ...
785s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ...
785s Setting up tar (1.35+dfsg-3.1build2) ...
786s (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 ... 83957 files and directories currently installed.)
786s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_amd64.deb ...
786s Unpacking libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
786s Setting up libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) ...
786s (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 ... 83957 files and directories currently installed.)
786s Preparing to unpack .../libc6_2.42-2ubuntu5_amd64.deb ...
786s Unpacking libc6:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
786s Setting up libc6:amd64 (2.42-2ubuntu5) ...
786s (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 ... 83957 files and directories currently installed.)
786s Preparing to unpack .../libc-bin_2.42-2ubuntu5_amd64.deb ...
786s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
786s Setting up libc-bin (2.42-2ubuntu5) ...
786s (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 ... 83957 files and directories currently installed.)
786s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ...
786s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ...
786s Setting up libattr1:amd64 (1:2.5.2-3build2) ...
786s (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 ... 83957 files and directories currently installed.)
786s Preparing to unpack .../00-mawk_1.3.4.20260129-1_amd64.deb ...
786s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ...
786s Preparing to unpack .../01-libapt-pkg7.0_3.1.15_amd64.deb ...
786s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ...
786s Preparing to unpack .../02-apt_3.1.15_amd64.deb ...
786s Unpacking apt (3.1.15) over (3.1.14) ...
786s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ...
786s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
786s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ...
786s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
787s Preparing to unpack .../05-less_668-1build1_amd64.deb ...
787s Unpacking less (668-1build1) over (668-1) ...
787s Preparing to unpack .../06-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ...
787s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ...
787s Preparing to unpack .../07-locales_2.42-2ubuntu5_all.deb ...
787s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
787s Preparing to unpack .../08-python3-linkify-it_2.0.3-1ubuntu3_all.deb ...
787s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ...
787s Preparing to unpack .../09-python3-markdown-it_3.0.0-3build1_all.deb ...
787s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ...
787s Preparing to unpack .../10-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ...
787s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
787s Preparing to unpack .../11-libdrm-common_2.4.131-1_all.deb ...
787s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ...
787s Preparing to unpack .../12-libdrm2_2.4.131-1_amd64.deb ...
787s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ...
787s Preparing to unpack .../13-libgpm2_1.20.7-12build1_amd64.deb ...
787s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ...
787s Preparing to unpack .../14-libmaxminddb0_1.12.2-1build2_amd64.deb ...
787s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ...
787s Preparing to unpack .../15-libsensors-config_1%3a3.6.2-2build1_all.deb ...
787s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ...
787s Preparing to unpack .../16-libsensors5_1%3a3.6.2-2build1_amd64.deb ...
787s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ...
787s Preparing to unpack .../17-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ...
787s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
787s Preparing to unpack .../18-libdrm-amdgpu1_2.4.131-1_amd64.deb ...
787s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ...
787s Preparing to unpack .../19-libnpth0t64_1.8-3build1_amd64.deb ...
787s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ...
787s Preparing to unpack .../20-patch_2.8-2build1_amd64.deb ...
787s Unpacking patch (2.8-2build1) over (2.8-2) ...
787s Preparing to unpack .../21-pollinate_4.33-4ubuntu5_all.deb ...
787s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ...
787s Preparing to unpack .../22-python3-referencing_0.36.2-1ubuntu2_all.deb ...
788s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ...
788s Preparing to unpack .../23-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ...
788s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ...
788s Setting up libnpth0t64:amd64 (1.8-3build1) ...
788s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ...
788s Setting up libgpm2:amd64 (1.20.7-12build1) ...
788s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ...
788s Setting up libsensors-config (1:3.6.2-2build1) ...
788s Setting up less (668-1build1) ...
788s Setting up amd64-microcode (3.20251202.1ubuntu1) ...
788s amd64-microcode: microcode will be updated at next boot
788s Setting up locales (2.42-2ubuntu5) ...
788s Generating locales (this might take a while)...
789s en_US.UTF-8... done
789s Generation complete.
789s Setting up pollinate (4.33-4ubuntu5) ...
799s Setting up busybox-static (1:1.37.0-7ubuntu1) ...
799s Setting up patch (2.8-2build1) ...
799s Setting up libsensors5:amd64 (1:3.6.2-2build1) ...
799s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ...
799s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ...
799s Setting up dmsetup (2:1.02.205-2ubuntu3) ...
799s Setting up python3-linkify-it (2.0.3-1ubuntu3) ...
799s Setting up mawk (1.3.4.20260129-1) ...
799s Setting up libapt-pkg7.0:amd64 (3.1.15) ...
799s Setting up libdrm-common (2.4.131-1) ...
799s Setting up python3-referencing (0.36.2-1ubuntu2) ...
799s Setting up apt (3.1.15) ...
800s Setting up python3-markdown-it (3.0.0-3build1) ...
800s Setting up libdrm2:amd64 (2.4.131-1) ...
800s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ...
800s Processing triggers for libc-bin (2.42-2ubuntu5) ...
800s Processing triggers for systemd (259-1ubuntu3) ...
801s Processing triggers for man-db (2.13.1-1) ...
802s Processing triggers for install-info (7.2-5) ...
802s Processing triggers for initramfs-tools (0.150ubuntu7) ...
802s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic
806s autopkgtest [18:55:19]: upgrading testbed (apt dist-upgrade and autopurge)
807s Reading package lists...
807s Building dependency tree...
807s Reading state information...
807s Calculating upgrade...
807s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
807s Reading package lists...
807s Building dependency tree...
807s Reading state information...
808s Solving dependencies...
808s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
808s autopkgtest [18:55:21]: rebooting testbed after setup commands that affected boot
838s Reading package lists...
838s Building dependency tree...
838s Reading state information...
838s Solving dependencies...
838s The following NEW packages will be installed:
838s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools
838s gnome-desktop-testing libdrm-intel1 libfontenc1 libgbm1 libgio-2.0-dev-bin
838s libgl1 libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests
838s libglvnd0 libglx-mesa0 libglx0 libice6 libpciaccess0 libpixman-1-0 libsm6
838s libvulkan1 libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0
838s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1
838s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1
838s mesa-libgallium native-architecture python3-dbusmock tzdata-legacy
838s x11-common x11-xkb-utils xserver-common xvfb
838s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
838s Need to get 17.8 MB of archives.
838s After this operation, 85.9 MB of additional disk space will be used.
838s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 dbus-x11 amd64 1.16.2-2ubuntu2 [23.3 kB]
838s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 desktop-file-utils amd64 0.28-1build1 [54.3 kB]
838s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 gir1.2-glib-2.0-dev amd64 2.86.3-4 [865 kB]
838s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 native-architecture all 0.2.6build1 [2256 B]
838s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 girepository-tools amd64 2.86.3-4 [111 kB]
838s Get:6 http://ftpmaster.internal/ubuntu resolute/universe amd64 gnome-desktop-testing amd64 2021.1-5 [16.8 kB]
838s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libpciaccess0 amd64 0.18.1-1ubuntu3 [19.0 kB]
838s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-intel1 amd64 2.4.131-1 [66.7 kB]
838s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libfontenc1 amd64 1:1.1.8-1build2 [14.1 kB]
838s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 libx11-xcb1 amd64 2:1.8.12-1build1 [8044 B]
838s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-dri3-0 amd64 1.17.0-2ubuntu1 [7540 B]
838s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-present0 amd64 1.17.0-2ubuntu1 [6112 B]
838s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-randr0 amd64 1.17.0-2ubuntu1 [17.9 kB]
838s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-sync1 amd64 1.17.0-2ubuntu1 [9348 B]
838s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-xfixes0 amd64 1.17.0-2ubuntu1 [10.2 kB]
838s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libxshmfence1 amd64 1.3.3-1build1 [5284 B]
838s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 mesa-libgallium amd64 25.3.3-1ubuntu1 [11.1 MB]
839s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libgbm1 amd64 25.3.3-1ubuntu1 [34.0 kB]
839s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libgio-2.0-dev-bin amd64 2.86.3-4 [129 kB]
839s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libvulkan1 amd64 1.4.335.0-1 [158 kB]
839s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgl1-mesa-dri amd64 25.3.3-1ubuntu1 [37.5 kB]
839s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-bin amd64 2.86.3-4 [99.5 kB]
839s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-dev-bin amd64 2.86.3-4 [18.2 kB]
839s Get:24 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-dbusmock all 0.38.1-1 [92.0 kB]
839s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 tzdata-legacy all 2025c-3ubuntu3 [99.3 kB]
839s Get:26 http://ftpmaster.internal/ubuntu resolute/universe amd64 libglib2.0-tests amd64 2.86.3-4 [2342 kB]
839s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-glx0 amd64 1.17.0-2ubuntu1 [24.7 kB]
839s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libxcb-shm0 amd64 1.17.0-2ubuntu1 [5808 B]
839s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 libxxf86vm1 amd64 1:1.1.4-2 [10.6 kB]
839s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libglx-mesa0 amd64 25.3.3-1ubuntu1 [110 kB]
839s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 x11-common all 1:7.7+24ubuntu1 [22.4 kB]
839s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libice6 amd64 2:1.1.1-1build1 [44.0 kB]
839s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 libpixman-1-0 amd64 0.46.4-1 [287 kB]
839s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libsm6 amd64 2:1.2.6-1build1 [16.9 kB]
839s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libxt6t64 amd64 1:1.2.1-1.3 [173 kB]
839s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libxmu6 amd64 2:1.1.3-4 [48.9 kB]
839s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libxpm4 amd64 1:3.5.17-1build3 [37.3 kB]
839s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libxaw7 amd64 2:1.0.16-1build1 [190 kB]
839s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libxfont2 amd64 1:2.0.6-2 [95.6 kB]
839s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libxkbfile1 amd64 1:1.1.0-1build5 [70.1 kB]
839s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 libxrender1 amd64 1:0.9.12-1 [19.8 kB]
839s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 libxrandr2 amd64 2:1.5.4-1build1 [19.6 kB]
839s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 x11-xkb-utils amd64 7.7+9build1 [170 kB]
839s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB]
839s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 libglvnd0 amd64 1.7.0-3 [64.1 kB]
839s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 libglx0 amd64 1.7.0-3 [38.9 kB]
839s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libgl1 amd64 1.7.0-3 [98.3 kB]
839s Get:48 http://ftpmaster.internal/ubuntu resolute/universe amd64 xvfb amd64 2:21.1.21-1ubuntu1 [902 kB]
839s Fetched 17.8 MB in 1s (30.7 MB/s)
839s Selecting previously unselected package dbus-x11.
839s (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 ... 83962 files and directories currently installed.)
839s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_amd64.deb ...
839s Unpacking dbus-x11 (1.16.2-2ubuntu2) ...
839s Selecting previously unselected package desktop-file-utils.
839s Preparing to unpack .../01-desktop-file-utils_0.28-1build1_amd64.deb ...
839s Unpacking desktop-file-utils (0.28-1build1) ...
839s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64.
839s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.3-4_amd64.deb ...
839s Unpacking gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ...
839s Selecting previously unselected package native-architecture.
839s Preparing to unpack .../03-native-architecture_0.2.6build1_all.deb ...
839s Unpacking native-architecture (0.2.6build1) ...
839s Selecting previously unselected package girepository-tools:amd64.
839s Preparing to unpack .../04-girepository-tools_2.86.3-4_amd64.deb ...
839s Unpacking girepository-tools:amd64 (2.86.3-4) ...
839s Selecting previously unselected package gnome-desktop-testing.
839s Preparing to unpack .../05-gnome-desktop-testing_2021.1-5_amd64.deb ...
839s Unpacking gnome-desktop-testing (2021.1-5) ...
839s Selecting previously unselected package libpciaccess0:amd64.
839s Preparing to unpack .../06-libpciaccess0_0.18.1-1ubuntu3_amd64.deb ...
839s Unpacking libpciaccess0:amd64 (0.18.1-1ubuntu3) ...
839s Selecting previously unselected package libdrm-intel1:amd64.
839s Preparing to unpack .../07-libdrm-intel1_2.4.131-1_amd64.deb ...
839s Unpacking libdrm-intel1:amd64 (2.4.131-1) ...
839s Selecting previously unselected package libfontenc1:amd64.
839s Preparing to unpack .../08-libfontenc1_1%3a1.1.8-1build2_amd64.deb ...
839s Unpacking libfontenc1:amd64 (1:1.1.8-1build2) ...
839s Selecting previously unselected package libx11-xcb1:amd64.
839s Preparing to unpack .../09-libx11-xcb1_2%3a1.8.12-1build1_amd64.deb ...
839s Unpacking libx11-xcb1:amd64 (2:1.8.12-1build1) ...
839s Selecting previously unselected package libxcb-dri3-0:amd64.
839s Preparing to unpack .../10-libxcb-dri3-0_1.17.0-2ubuntu1_amd64.deb ...
839s Unpacking libxcb-dri3-0:amd64 (1.17.0-2ubuntu1) ...
839s Selecting previously unselected package libxcb-present0:amd64.
839s Preparing to unpack .../11-libxcb-present0_1.17.0-2ubuntu1_amd64.deb ...
839s Unpacking libxcb-present0:amd64 (1.17.0-2ubuntu1) ...
839s Selecting previously unselected package libxcb-randr0:amd64.
839s Preparing to unpack .../12-libxcb-randr0_1.17.0-2ubuntu1_amd64.deb ...
839s Unpacking libxcb-randr0:amd64 (1.17.0-2ubuntu1) ...
839s Selecting previously unselected package libxcb-sync1:amd64.
839s Preparing to unpack .../13-libxcb-sync1_1.17.0-2ubuntu1_amd64.deb ...
839s Unpacking libxcb-sync1:amd64 (1.17.0-2ubuntu1) ...
839s Selecting previously unselected package libxcb-xfixes0:amd64.
839s Preparing to unpack .../14-libxcb-xfixes0_1.17.0-2ubuntu1_amd64.deb ...
839s Unpacking libxcb-xfixes0:amd64 (1.17.0-2ubuntu1) ...
839s Selecting previously unselected package libxshmfence1:amd64.
839s Preparing to unpack .../15-libxshmfence1_1.3.3-1build1_amd64.deb ...
839s Unpacking libxshmfence1:amd64 (1.3.3-1build1) ...
839s Selecting previously unselected package mesa-libgallium:amd64.
839s Preparing to unpack .../16-mesa-libgallium_25.3.3-1ubuntu1_amd64.deb ...
839s Unpacking mesa-libgallium:amd64 (25.3.3-1ubuntu1) ...
839s Selecting previously unselected package libgbm1:amd64.
839s Preparing to unpack .../17-libgbm1_25.3.3-1ubuntu1_amd64.deb ...
839s Unpacking libgbm1:amd64 (25.3.3-1ubuntu1) ...
839s Selecting previously unselected package libgio-2.0-dev-bin.
839s Preparing to unpack .../18-libgio-2.0-dev-bin_2.86.3-4_amd64.deb ...
839s Unpacking libgio-2.0-dev-bin (2.86.3-4) ...
839s Selecting previously unselected package libvulkan1:amd64.
839s Preparing to unpack .../19-libvulkan1_1.4.335.0-1_amd64.deb ...
839s Unpacking libvulkan1:amd64 (1.4.335.0-1) ...
839s Selecting previously unselected package libgl1-mesa-dri:amd64.
839s Preparing to unpack .../20-libgl1-mesa-dri_25.3.3-1ubuntu1_amd64.deb ...
839s Unpacking libgl1-mesa-dri:amd64 (25.3.3-1ubuntu1) ...
839s Selecting previously unselected package libglib2.0-bin.
840s Preparing to unpack .../21-libglib2.0-bin_2.86.3-4_amd64.deb ...
840s Unpacking libglib2.0-bin (2.86.3-4) ...
840s Selecting previously unselected package libglib2.0-dev-bin.
840s Preparing to unpack .../22-libglib2.0-dev-bin_2.86.3-4_amd64.deb ...
840s Unpacking libglib2.0-dev-bin (2.86.3-4) ...
840s Selecting previously unselected package python3-dbusmock.
840s Preparing to unpack .../23-python3-dbusmock_0.38.1-1_all.deb ...
840s Unpacking python3-dbusmock (0.38.1-1) ...
840s Selecting previously unselected package tzdata-legacy.
840s Preparing to unpack .../24-tzdata-legacy_2025c-3ubuntu3_all.deb ...
840s Unpacking tzdata-legacy (2025c-3ubuntu3) ...
840s Selecting previously unselected package libglib2.0-tests.
840s Preparing to unpack .../25-libglib2.0-tests_2.86.3-4_amd64.deb ...
840s Unpacking libglib2.0-tests (2.86.3-4) ...
840s Selecting previously unselected package libxcb-glx0:amd64.
840s Preparing to unpack .../26-libxcb-glx0_1.17.0-2ubuntu1_amd64.deb ...
840s Unpacking libxcb-glx0:amd64 (1.17.0-2ubuntu1) ...
840s Selecting previously unselected package libxcb-shm0:amd64.
840s Preparing to unpack .../27-libxcb-shm0_1.17.0-2ubuntu1_amd64.deb ...
840s Unpacking libxcb-shm0:amd64 (1.17.0-2ubuntu1) ...
840s Selecting previously unselected package libxxf86vm1:amd64.
840s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-2_amd64.deb ...
840s Unpacking libxxf86vm1:amd64 (1:1.1.4-2) ...
840s Selecting previously unselected package libglx-mesa0:amd64.
840s Preparing to unpack .../29-libglx-mesa0_25.3.3-1ubuntu1_amd64.deb ...
840s Unpacking libglx-mesa0:amd64 (25.3.3-1ubuntu1) ...
840s Selecting previously unselected package x11-common.
840s Preparing to unpack .../30-x11-common_1%3a7.7+24ubuntu1_all.deb ...
840s Unpacking x11-common (1:7.7+24ubuntu1) ...
840s Selecting previously unselected package libice6:amd64.
840s Preparing to unpack .../31-libice6_2%3a1.1.1-1build1_amd64.deb ...
840s Unpacking libice6:amd64 (2:1.1.1-1build1) ...
840s Selecting previously unselected package libpixman-1-0:amd64.
840s Preparing to unpack .../32-libpixman-1-0_0.46.4-1_amd64.deb ...
840s Unpacking libpixman-1-0:amd64 (0.46.4-1) ...
840s Selecting previously unselected package libsm6:amd64.
840s Preparing to unpack .../33-libsm6_2%3a1.2.6-1build1_amd64.deb ...
840s Unpacking libsm6:amd64 (2:1.2.6-1build1) ...
840s Selecting previously unselected package libxt6t64:amd64.
840s Preparing to unpack .../34-libxt6t64_1%3a1.2.1-1.3_amd64.deb ...
840s Unpacking libxt6t64:amd64 (1:1.2.1-1.3) ...
840s Selecting previously unselected package libxmu6:amd64.
840s Preparing to unpack .../35-libxmu6_2%3a1.1.3-4_amd64.deb ...
840s Unpacking libxmu6:amd64 (2:1.1.3-4) ...
840s Selecting previously unselected package libxpm4:amd64.
840s Preparing to unpack .../36-libxpm4_1%3a3.5.17-1build3_amd64.deb ...
840s Unpacking libxpm4:amd64 (1:3.5.17-1build3) ...
840s Selecting previously unselected package libxaw7:amd64.
840s Preparing to unpack .../37-libxaw7_2%3a1.0.16-1build1_amd64.deb ...
840s Unpacking libxaw7:amd64 (2:1.0.16-1build1) ...
840s Selecting previously unselected package libxfont2:amd64.
840s Preparing to unpack .../38-libxfont2_1%3a2.0.6-2_amd64.deb ...
840s Unpacking libxfont2:amd64 (1:2.0.6-2) ...
840s Selecting previously unselected package libxkbfile1:amd64.
840s Preparing to unpack .../39-libxkbfile1_1%3a1.1.0-1build5_amd64.deb ...
840s Unpacking libxkbfile1:amd64 (1:1.1.0-1build5) ...
840s Selecting previously unselected package libxrender1:amd64.
840s Preparing to unpack .../40-libxrender1_1%3a0.9.12-1_amd64.deb ...
840s Unpacking libxrender1:amd64 (1:0.9.12-1) ...
840s Selecting previously unselected package libxrandr2:amd64.
840s Preparing to unpack .../41-libxrandr2_2%3a1.5.4-1build1_amd64.deb ...
840s Unpacking libxrandr2:amd64 (2:1.5.4-1build1) ...
840s Selecting previously unselected package x11-xkb-utils.
840s Preparing to unpack .../42-x11-xkb-utils_7.7+9build1_amd64.deb ...
840s Unpacking x11-xkb-utils (7.7+9build1) ...
840s Selecting previously unselected package xserver-common.
840s Preparing to unpack .../43-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ...
840s Unpacking xserver-common (2:21.1.21-1ubuntu1) ...
840s Selecting previously unselected package libglvnd0:amd64.
840s Preparing to unpack .../44-libglvnd0_1.7.0-3_amd64.deb ...
840s Unpacking libglvnd0:amd64 (1.7.0-3) ...
840s Selecting previously unselected package libglx0:amd64.
840s Preparing to unpack .../45-libglx0_1.7.0-3_amd64.deb ...
840s Unpacking libglx0:amd64 (1.7.0-3) ...
840s Selecting previously unselected package libgl1:amd64.
840s Preparing to unpack .../46-libgl1_1.7.0-3_amd64.deb ...
840s Unpacking libgl1:amd64 (1.7.0-3) ...
840s Selecting previously unselected package xvfb.
840s Preparing to unpack .../47-xvfb_2%3a21.1.21-1ubuntu1_amd64.deb ...
840s Unpacking xvfb (2:21.1.21-1ubuntu1) ...
840s Setting up gnome-desktop-testing (2021.1-5) ...
840s Setting up libxcb-dri3-0:amd64 (1.17.0-2ubuntu1) ...
840s Setting up libpixman-1-0:amd64 (0.46.4-1) ...
840s Setting up libx11-xcb1:amd64 (2:1.8.12-1build1) ...
840s Setting up libpciaccess0:amd64 (0.18.1-1ubuntu3) ...
840s Setting up libgio-2.0-dev-bin (2.86.3-4) ...
840s Setting up native-architecture (0.2.6build1) ...
840s Setting up libxcb-xfixes0:amd64 (1.17.0-2ubuntu1) ...
840s Setting up desktop-file-utils (0.28-1build1) ...
840s Setting up libxpm4:amd64 (1:3.5.17-1build3) ...
840s Setting up libxrender1:amd64 (1:0.9.12-1) ...
840s Setting up libglvnd0:amd64 (1.7.0-3) ...
840s Setting up libxcb-glx0:amd64 (1.17.0-2ubuntu1) ...
840s Setting up libdrm-intel1:amd64 (2.4.131-1) ...
840s Setting up x11-common (1:7.7+24ubuntu1) ...
840s Setting up libglib2.0-bin (2.86.3-4) ...
840s Setting up libxcb-shm0:amd64 (1.17.0-2ubuntu1) ...
840s Setting up python3-dbusmock (0.38.1-1) ...
840s Setting up tzdata-legacy (2025c-3ubuntu3) ...
840s Setting up libxxf86vm1:amd64 (1:1.1.4-2) ...
840s Setting up libxcb-present0:amd64 (1.17.0-2ubuntu1) ...
840s Setting up libfontenc1:amd64 (1:1.1.8-1build2) ...
840s Setting up libxcb-sync1:amd64 (1.17.0-2ubuntu1) ...
840s Setting up libxrandr2:amd64 (2:1.5.4-1build1) ...
840s Setting up libvulkan1:amd64 (1.4.335.0-1) ...
840s Setting up gir1.2-glib-2.0-dev:amd64 (2.86.3-4) ...
840s Setting up libxshmfence1:amd64 (1.3.3-1build1) ...
840s Setting up dbus-x11 (1.16.2-2ubuntu2) ...
840s Setting up libxcb-randr0:amd64 (1.17.0-2ubuntu1) ...
840s Setting up libxkbfile1:amd64 (1:1.1.0-1build5) ...
840s Setting up libxfont2:amd64 (1:2.0.6-2) ...
840s Setting up libice6:amd64 (2:1.1.1-1build1) ...
840s Setting up mesa-libgallium:amd64 (25.3.3-1ubuntu1) ...
840s Setting up girepository-tools:amd64 (2.86.3-4) ...
840s Setting up libgbm1:amd64 (25.3.3-1ubuntu1) ...
840s Setting up libgl1-mesa-dri:amd64 (25.3.3-1ubuntu1) ...
840s Setting up libsm6:amd64 (2:1.2.6-1build1) ...
840s Setting up libglib2.0-dev-bin (2.86.3-4) ...
840s Setting up libglx-mesa0:amd64 (25.3.3-1ubuntu1) ...
840s Setting up libglx0:amd64 (1.7.0-3) ...
840s Setting up libgl1:amd64 (1.7.0-3) ...
840s Setting up libxt6t64:amd64 (1:1.2.1-1.3) ...
840s Setting up libglib2.0-tests (2.86.3-4) ...
840s Setting up libxmu6:amd64 (2:1.1.3-4) ...
840s Setting up libxaw7:amd64 (2:1.0.16-1build1) ...
840s Setting up x11-xkb-utils (7.7+9build1) ...
840s Setting up xserver-common (2:21.1.21-1ubuntu1) ...
840s Setting up xvfb (2:21.1.21-1ubuntu1) ...
840s Processing triggers for man-db (2.13.1-1) ...
841s Processing triggers for libc-bin (2.42-2ubuntu5) ...
845s autopkgtest [18:55:58]: test installed-tests: [-----------------------
845s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd)
845s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
845s group entry: ubuntu:x:1000:
845s Environment:
845s ADTTMP=/tmp/autopkgtest.9yJaFZ/autopkgtest_tmp
845s ADT_ARTIFACTS=/tmp/autopkgtest.9yJaFZ/installed-tests-artifacts
845s ADT_TEST_TRIGGERS=glibc/2.42-2ubuntu5
845s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.9yJaFZ/installed-tests-artifacts
845s AUTOPKGTEST_TESTBED_ARCH=amd64
845s AUTOPKGTEST_TEST_ARCH=amd64
845s AUTOPKGTEST_TMP=/tmp/autopkgtest.9yJaFZ/autopkgtest_tmp
845s DEBIAN_FRONTEND=noninteractive
845s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
845s DEB_BUILD_OPTIONS=parallel=2
845s GIO_USE_VFS=local
845s GIO_USE_VOLUME_MONITOR=unix
845s HOME=/home/ubuntu
845s LANG=C.UTF-8
845s LOGNAME=ubuntu
845s MAIL=/var/mail/ubuntu
845s OLDPWD=/home/ubuntu
845s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
845s PWD=/tmp/autopkgtest.9yJaFZ/build.xEg/src
845s SHELL=/bin/bash
845s SHLVL=1
845s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.9yJaFZ/wrapper.sh --artifacts=/tmp/autopkgtest.9yJaFZ/installed-tests-artifacts --chdir=/tmp/autopkgtest.9yJaFZ/build.xEg/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --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.9yJaFZ/installed-tests-stderr --stdout=/tmp/autopkgtest.9yJaFZ/installed-tests-stdout --tmp=/tmp/autopkgtest.9yJaFZ/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=glibc/2.42-2ubuntu5 --make-executable=/tmp/autopkgtest.9yJaFZ/build.xEg/src/debian/tests/installed-tests -- /tmp/autopkgtest.9yJaFZ/build.xEg/src/debian/tests/installed-tests
845s SUDO_GID=1000
845s SUDO_HOME=/home/ubuntu
845s SUDO_UID=1000
845s SUDO_USER=ubuntu
845s TERM=linux
845s USER=ubuntu
845s XDG_RUNTIME_DIR=/tmp/autopkgtest.9yJaFZ/autopkgtest_tmp
845s http_proxy=http://egress.ps7.internal:3128/
845s https_proxy=http://egress.ps7.internal:3128/
845s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain
846s run-with-locales: de_DE=ISO-8859-1...
846s Character set: ISO-8859-1
846s Source file: de_DE
846s Output: /tmp/tmp.6GsMzzbWHN/de_DE
846s run-with-locales: de_DE.utf8...
846s Character set: UTF-8
846s Source file: de_DE
846s Output: /tmp/tmp.6GsMzzbWHN/de_DE.utf8
847s run-with-locales: de_DE@euro.utf8...
847s Character set: UTF-8
847s Source file: de_DE@euro
847s Output: /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8
848s run-with-locales: el_GR.utf8...
848s Character set: UTF-8
848s Source file: el_GR
848s Output: /tmp/tmp.6GsMzzbWHN/el_GR.utf8
849s run-with-locales: en_GB=ISO-8859-1...
849s Character set: ISO-8859-1
849s Source file: en_GB
849s Output: /tmp/tmp.6GsMzzbWHN/en_GB
849s run-with-locales: en_GB.utf8...
849s Character set: UTF-8
849s Source file: en_GB
849s Output: /tmp/tmp.6GsMzzbWHN/en_GB.utf8
850s run-with-locales: en_US=ISO-8859-1...
850s Character set: ISO-8859-1
850s Source file: en_US
850s Output: /tmp/tmp.6GsMzzbWHN/en_US
850s run-with-locales: en_US.utf8...
850s Character set: UTF-8
850s Source file: en_US
850s Output: /tmp/tmp.6GsMzzbWHN/en_US.utf8
851s run-with-locales: es_ES.utf8...
851s Character set: UTF-8
851s Source file: es_ES
851s Output: /tmp/tmp.6GsMzzbWHN/es_ES.utf8
852s run-with-locales: fa_IR=UTF-8...
852s Character set: UTF-8
852s Source file: fa_IR
852s Output: /tmp/tmp.6GsMzzbWHN/fa_IR
853s run-with-locales: fa_IR.utf8...
853s Character set: UTF-8
853s Source file: fa_IR
853s Output: /tmp/tmp.6GsMzzbWHN/fa_IR.utf8
854s run-with-locales: fr_FR.utf8...
854s Character set: UTF-8
854s Source file: fr_FR
854s Output: /tmp/tmp.6GsMzzbWHN/fr_FR.utf8
854s run-with-locales: hr_HR.utf8...
854s Character set: UTF-8
854s Source file: hr_HR
854s Output: /tmp/tmp.6GsMzzbWHN/hr_HR.utf8
855s run-with-locales: ja_JP.utf8...
855s Character set: UTF-8
855s Source file: ja_JP
855s Output: /tmp/tmp.6GsMzzbWHN/ja_JP.utf8
856s run-with-locales: ja_JP.EUC-JP...
856s Character set: EUC-JP
856s Source file: ja_JP
856s Output: /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp
856s run-with-locales: lt_LT.utf8...
856s Character set: UTF-8
856s Source file: lt_LT
856s Output: /tmp/tmp.6GsMzzbWHN/lt_LT.utf8
857s run-with-locales: pl_PL=ISO-8859-2...
857s Character set: ISO-8859-2
857s Source file: pl_PL
857s Output: /tmp/tmp.6GsMzzbWHN/pl_PL
857s run-with-locales: pl_PL.ISO-8859-2...
857s Character set: ISO-8859-2
857s Source file: pl_PL
857s Output: /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592
858s run-with-locales: pl_PL.utf8...
858s Character set: UTF-8
858s Source file: pl_PL
858s Output: /tmp/tmp.6GsMzzbWHN/pl_PL.utf8
858s run-with-locales: ru_RU=ISO-8859-5...
858s Character set: ISO-8859-5
858s Source file: ru_RU
858s Output: /tmp/tmp.6GsMzzbWHN/ru_RU
859s run-with-locales: ru_RU.utf8...
859s Character set: UTF-8
859s Source file: ru_RU
859s Output: /tmp/tmp.6GsMzzbWHN/ru_RU.utf8
860s run-with-locales: sr_RS=UTF-8...
860s Character set: UTF-8
860s Source file: sr_RS
860s Output: /tmp/tmp.6GsMzzbWHN/sr_RS
861s run-with-locales: sr_RS@latin=UTF-8...
861s Character set: UTF-8
861s Source file: sr_RS@latin
861s Output: /tmp/tmp.6GsMzzbWHN/sr_RS@latin
861s run-with-locales: sv_SE=ISO-8859-1...
861s Character set: ISO-8859-1
861s Source file: sv_SE
861s Output: /tmp/tmp.6GsMzzbWHN/sv_SE
862s run-with-locales: sv_SE.utf8...
862s Character set: UTF-8
862s Source file: sv_SE
862s Output: /tmp/tmp.6GsMzzbWHN/sv_SE.utf8
863s run-with-locales: tr_TR=ISO-8859-9...
863s Character set: ISO-8859-9
863s Source file: tr_TR
863s Output: /tmp/tmp.6GsMzzbWHN/tr_TR
863s run-with-locales: tr_TR.utf8...
863s Character set: UTF-8
863s Source file: tr_TR
863s Output: /tmp/tmp.6GsMzzbWHN/tr_TR.utf8
864s run-with-locales: tt_RU=UTF-8...
864s Character set: UTF-8
864s Source file: tt_RU
864s Output: /tmp/tmp.6GsMzzbWHN/tt_RU
865s run-with-locales: tt_RU.utf8...
865s Character set: UTF-8
865s Source file: tt_RU
865s Output: /tmp/tmp.6GsMzzbWHN/tt_RU.utf8
866s run-with-locales: tt_RU@iqtelif=UTF-8...
866s Character set: UTF-8
866s Source file: tt_RU@iqtelif
866s Output: /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif
866s /tmp/tmp.6GsMzzbWHN
866s /tmp/tmp.6GsMzzbWHN/ru_RU
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_MEASUREMENT
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_CTYPE
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_IDENTIFICATION
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_NAME
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_MONETARY
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_NUMERIC
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_PAPER
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_COLLATE
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_TIME
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_TELEPHONE
866s /tmp/tmp.6GsMzzbWHN/ru_RU/LC_ADDRESS
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_MEASUREMENT
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_CTYPE
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_IDENTIFICATION
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_NAME
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_MONETARY
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_NUMERIC
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_PAPER
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_COLLATE
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_TIME
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_TELEPHONE
866s /tmp/tmp.6GsMzzbWHN/pl_PL.utf8/LC_ADDRESS
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_MEASUREMENT
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_CTYPE
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_IDENTIFICATION
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_NAME
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_MONETARY
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_NUMERIC
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_PAPER
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_COLLATE
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_TIME
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_TELEPHONE
866s /tmp/tmp.6GsMzzbWHN/fr_FR.utf8/LC_ADDRESS
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_MEASUREMENT
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_CTYPE
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_IDENTIFICATION
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_NAME
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_MONETARY
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_NUMERIC
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_PAPER
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_COLLATE
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_TIME
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_TELEPHONE
866s /tmp/tmp.6GsMzzbWHN/en_GB.utf8/LC_ADDRESS
866s /tmp/tmp.6GsMzzbWHN/tr_TR
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_MEASUREMENT
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_CTYPE
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_IDENTIFICATION
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_NAME
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_MONETARY
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_NUMERIC
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_PAPER
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_COLLATE
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_TIME
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_TELEPHONE
866s /tmp/tmp.6GsMzzbWHN/tr_TR/LC_ADDRESS
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_MEASUREMENT
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_CTYPE
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_IDENTIFICATION
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_NAME
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_MONETARY
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_NUMERIC
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_PAPER
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_COLLATE
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_TIME
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_TELEPHONE
866s /tmp/tmp.6GsMzzbWHN/tt_RU@iqtelif/LC_ADDRESS
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_MEASUREMENT
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_CTYPE
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_IDENTIFICATION
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_NAME
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_MONETARY
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_NUMERIC
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_PAPER
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_COLLATE
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_TIME
866s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/el_GR.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/ja_JP.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/ru_RU.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/tt_RU.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/fa_IR.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/sr_RS@latin/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/pl_PL.iso88592/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/lt_LT.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/en_US
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/en_US/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/en_GB
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/en_GB/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/de_DE.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/hr_HR.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/sr_RS
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/sr_RS/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/fa_IR
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/fa_IR/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/tt_RU
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/tt_RU/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/sv_SE
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/sv_SE/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/pl_PL
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/pl_PL/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/es_ES.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/de_DE
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/de_DE/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/en_US.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/ja_JP.eucjp/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/tr_TR.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/de_DE@euro.utf8/LC_ADDRESS
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_MEASUREMENT
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_CTYPE
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_IDENTIFICATION
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_NAME
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_MONETARY
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_NUMERIC
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_PAPER
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_COLLATE
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_TIME
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_TELEPHONE
867s /tmp/tmp.6GsMzzbWHN/sv_SE.utf8/LC_ADDRESS
867s TAP version 14
867s # random seed: R02Sf22d7ceb4bf6af0d9ea184c0b2d35cdb
867s 1..1
867s # Start of gobject tests
867s # Start of refcount tests
867s # init 0x5b8f364f74a0
867s #
867s # init 0x5b8f364ef580
867s #
867s 1..332
867s # Running test: glib/signals-refcount4.test
871s # dispose 0x5b8f364f74a0!
871s #
871s # dispose 0x5b8f364ef580!
871s #
871s ok 1 /gobject/refcount/signals
871s # slow test /gobject/refcount/signals executed in 5.00 secs
871s # End of refcount tests
871s # End of gobject tests
871s TAP version 14
871s # random seed: R02S6abd61c01ec9df0748f0e262a575edbd
871s 1..7
871s # Start of spawn tests
871s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper.
871s #
871s # this is spawn-test-helper from glib/tests
871s #
871s ok 1 /spawn/do-not-search
871s ok - glib/signals-refcount4.test
871s # Running test: glib/spawn-path-search.test
872s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper.
872s #
872s # this is spawn-test-helper from path-test-subdir
872s #
872s ok 2 /spawn/search-path
872s # /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.
872s #
872s # this is spawn-test-helper from path-test-subdir
872s #
872s ok 3 /spawn/search-path-from-envp
872s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins.
872s #
872s # this is spawn-test-helper from path-test-subdir
872s #
872s ok 4 /spawn/search-path-ambiguous
872s #
872s # this is spawn-test-helper from path-test-subdir
872s #
872s ok 5 /spawn/search-path-heap-allocation
872s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used.
872s #
872s # this is spawn-test-helper from glib/tests
872s #
872s ok 6 /spawn/search-path-fallback-in-environ
872s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used.
872s #
872s # this is spawn-test-helper from glib/tests
872s #
872s ok 7 /spawn/search-path-fallback-in-envp
872s # End of spawn tests
872s TAP version 14
872s # random seed: R02S22b2985e65b9a28ce18b61d12afa6cd1
872s 1..24
872s # Start of repository tests
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/basic/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/basic/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/basic/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/basic/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/basic/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/basic/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/basic/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/basic/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/basic/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/basic/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/basic summary: Test basic opening of a repository and requiring a typelib
872s ok 1 /repository/basic
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/info/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/info/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/info/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/info/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/info/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/info/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/info/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/info/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/info/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/info/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/info summary: Test retrieving some basic info blobs from a typelib
872s ok 2 /repository/info
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/dependencies/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/dependencies/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/dependencies/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/dependencies/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/dependencies/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/dependencies/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/dependencies/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/dependencies/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed
872s ok 3 /repository/dependencies
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/arg-info/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/arg-info/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/arg-info/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/arg-info/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/arg-info/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/arg-info/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/arg-info/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/arg-info/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib
872s ok 4 /repository/arg-info
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/callable-info/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/callable-info/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/callable-info/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/callable-info/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/callable-info/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/callable-info/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/callable-info/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/callable-info/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib
872s ok 5 /repository/callable-info
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/callback-info/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/callback-info/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/callback-info/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/callback-info/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/callback-info/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/callback-info/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/callback-info/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/callback-info/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib
872s ok 6 /repository/callback-info
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/char-types/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/char-types/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/char-types/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/char-types/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/char-types/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/char-types/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/char-types/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/char-types/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/char-types/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/char-types/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively
872s ok 7 /repository/char-types
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/constructor-return-type/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv()
872s ok 8 /repository/constructor-return-type
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/enum-info-c-identifier/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier
872s ok 9 /repository/enum-info-c-identifier
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/enum-info-static-methods/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/enum-info-static-methods summary: Test an enum with methods
872s ok 10 /repository/enum-info-static-methods
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/error-quark/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/error-quark/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/error-quark/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/error-quark/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/error-quark/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/error-quark/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/error-quark/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/error-quark/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/error-quark summary: Test finding an error quark by error domain
872s ok 11 /repository/error-quark
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/flags-info-c-identifier/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier
872s ok 12 /repository/flags-info-c-identifier
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/data
872s ok - glib/spawn-path-search.test
872s # Running test: glib/repository.test
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/fundamental-ref-func/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type
872s ok 13 /repository/fundamental-ref-func
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/instance-method-ownership-transfer/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter
872s ok 14 /repository/instance-method-ownership-transfer
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/object-gtype-interfaces/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces()
872s ok 15 /repository/object-gtype-interfaces
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/signal-info-with-array-length-arg/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal
872s ok 16 /repository/signal-info-with-array-length-arg
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/type-info-name/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo
872s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96
872s ok 17 /repository/type-info-name
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-no-invoker/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose
872s ok 18 /repository/vfunc-info-with-no-invoker
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async
872s ok 19 /repository/vfunc-info-with-invoker-on-interface
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display
872s ok 20 /repository/vfunc-info-with-invoker-on-object
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/find-by-gtype/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/find-by-gtype summary: Test finding a GType
872s ok 21 /repository/find-by-gtype
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/loaded-namespaces/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/loaded-namespaces summary: Test listing loaded namespaces
872s ok 22 /repository/loaded-namespaces
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/dup_default/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/dup_default/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/dup_default/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/dup_default/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/dup_default/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/dup_default/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/dup_default/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/dup_default/.dirs/runtime
872s ok 23 /repository/dup_default
872s # Start of base-info tests
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_SO7EK3/repository/base-info/clear/.dirs/runtime
872s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
872s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct
872s ok 24 /repository/base-info/clear
872s # End of base-info tests
872s # End of repository tests
872s TAP version 14
872s # random seed: R02Sb48da71f1112f0df2229f1a41800bbdb
872s 1..41
872s # Start of utils tests
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/language-names/.dirs/runtime
872s ok 1 /utils/language-names
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/locale-variants/.dirs/runtime
872s # Testing locale ‘en’
872s # Testing locale ‘sr@latin’
872s # Testing locale ‘fr_BE’
872s # Testing locale ‘sr_SR@latin’
872s # Testing locale ‘sr_SR@latin.UTF-8’
872s # Testing locale ‘sr@latin_invalid’
872s # Testing locale ‘sr.UTF-8@latin’
872s # Testing locale ‘sr.UTF-8_latin’
872s # Testing locale ‘sr.UTF-8@latin_invalid’
872s ok 2 /utils/locale-variants
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/version/.dirs/runtime
872s ok 3 /utils/version
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/appname/.dirs/runtime
872s ok 4 /utils/appname
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/prgname-thread-safety/.dirs/runtime
872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
872s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
872s ok 5 /utils/prgname-thread-safety
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/tmpdir/.dirs/runtime
872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
872s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
872s Unable to clean up temporary directory /tmp/test_utils-c-11_VU2EK3/utils/tmpdir: No such file or directory
872s ok 6 /utils/tmpdir
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/basic_bits/.dirs/runtime
872s ok 7 /utils/basic_bits
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/bits/.dirs/runtime
872s ok 8 /utils/bits
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/swap/.dirs/runtime
872s ok 9 /utils/swap
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/cache
872s ok - glib/repository.test
872s # Running test: glib/utils-c-11.test
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/find-program/.dirs/runtime
872s ok 10 /utils/find-program
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/find-program-for-path/.dirs/runtime
872s ok 11 /utils/find-program-for-path
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/debug/.dirs/runtime
872s Unable to clean up temporary directory /tmp/test_utils-c-11_VU2EK3/utils/debug: No such file or directory
872s ok 12 /utils/debug
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/codeset/.dirs/runtime
872s ok 13 /utils/codeset
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/codeset2/.dirs/runtime
872s Unable to clean up temporary directory /tmp/test_utils-c-11_VU2EK3/utils/codeset2: No such file or directory
872s ok 14 /utils/codeset2
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/console-charset/.dirs/runtime
872s ok 15 /utils/console-charset
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/gettext/.dirs/runtime
872s ok 16 /utils/gettext
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/username/.dirs/runtime
872s ok 17 /utils/username
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/realname/.dirs/runtime
872s ok 18 /utils/realname
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/hostname/.dirs/runtime
872s ok 19 /utils/hostname
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/os-info/.dirs/runtime
872s # NAME: Ubuntu
872s ok 20 /utils/os-info
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/.dirs/runtime
872s ok 21 /utils/clear-pointer
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer-cast/.dirs/runtime
872s ok 22 /utils/clear-pointer-cast
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/take-pointer/.dirs/runtime
872s ok 23 /utils/take-pointer
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/clear-source/.dirs/runtime
872s ok 24 /utils/clear-source
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/misc-mem/.dirs/runtime
872s ok 25 /utils/misc-mem
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/.dirs/runtime
872s # /utils/aligned-mem summary: Aligned memory allocator
872s # Alignment must not be zero
872s # Alignment must be a power of two
872s # Alignment must be a multiple of sizeof(void*)
872s ok 26 /utils/aligned-mem
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/free-sized/.dirs/runtime
872s # /utils/free-sized summary: Check that g_free_sized() works
872s ok 27 /utils/free-sized
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/nullify/.dirs/runtime
872s ok 28 /utils/nullify
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/atexit/.dirs/runtime
872s Unable to clean up temporary directory /tmp/test_utils-c-11_VU2EK3/utils/atexit: No such file or directory
872s ok 29 /utils/atexit
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/check-setuid/.dirs/runtime
872s ok 30 /utils/check-setuid
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/int-limits/.dirs/runtime
872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
872s ok 31 /utils/int-limits
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/clear-list/.dirs/runtime
872s ok 32 /utils/clear-list
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/clear-slist/.dirs/runtime
872s ok 33 /utils/clear-slist
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/steal-handle-id/.dirs/runtime
872s ok 34 /utils/steal-handle-id
872s # Start of user-special-dirs tests
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/desktop/.dirs/runtime
872s ok 35 /utils/user-special-dirs/desktop
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked/.dirs/runtime
872s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content.
872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800
872s Unable to clean up temporary directory /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/load-unlocked: No such file or directory
872s ok 36 /utils/user-special-dirs/load-unlocked
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks/.dirs/runtime
872s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload.
872s Unable to clean up temporary directory /tmp/test_utils-c-11_VU2EK3/utils/user-special-dirs/reload-leaks: No such file or directory
872s ok 37 /utils/user-special-dirs/reload-leaks
872s ok - glib/utils-c-11.test
872s # Running test: glib/gdbus-sasl.test
872s # End of user-special-dirs tests
872s # Start of clear-pointer tests
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/clear-pointer/side-effects/.dirs/runtime
872s ok 38 /utils/clear-pointer/side-effects
872s # End of clear-pointer tests
872s # Start of aligned-mem tests
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/alignment/.dirs/runtime
872s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
872s ok 39 /utils/aligned-mem/alignment
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/zeroed/.dirs/runtime
872s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
872s ok 40 /utils/aligned-mem/zeroed
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_VU2EK3/utils/aligned-mem/free-sized/.dirs/runtime
872s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
872s ok 41 /utils/aligned-mem/free-sized
872s # Start of subprocess tests
872s # End of subprocess tests
872s # End of aligned-mem tests
872s # End of utils tests
872s TAP version 14
872s # random seed: R02S57104ad85778cb35730749fca42b64cc
872s 1..1
872s # Start of gdbus tests
872s # Start of sasl tests
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_07SFK3/gdbus/sasl/server/.dirs/runtime
872s # New handshake: EXTERNAL with incorrect initial response
872s # C:“AUTH EXTERNAL 30”
872s # Expect: /^REJECTED.*$/
872s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1”
872s # New handshake: EXTERNAL without initial response, failing to authenticate
872s # C:“AUTH EXTERNAL”
872s # Expect: /^DATA$/
872s # S:“DATA”
872s # C:“DATA 30”
872s # Expect: /^REJECTED.*$/
872s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1”
872s # New handshake: EXTERNAL with initial response
872s # C:“AUTH EXTERNAL 31303030”
872s # Expect: /^OK [0-9a-f]+$/
872s # S:“OK 8a2028437bf9fc04f3f274e869863958”
872s # New handshake: EXTERNAL without initial response
872s # C:“AUTH EXTERNAL”
872s # Expect: /^DATA$/
872s # S:“DATA”
872s # C:“DATA 31303030”
872s # Expect: /^OK [0-9a-f]+$/
872s ok - glib/gdbus-sasl.test
872s # Running test: glib/unicode-encoding.test
872s ok - glib/unicode-encoding.test
872s # Running test: glib/memory-monitor-portal.test
872s # S:“OK 8a2028437bf9fc04f3f274e869863958”
872s # New handshake: EXTERNAL with empty authorization identity
872s # C:“AUTH EXTERNAL”
872s # Expect: /^DATA$/
872s # S:“DATA”
872s # C:“DATA”
872s # Expect: /^OK [0-9a-f]+$/
872s # S:“OK 8a2028437bf9fc04f3f274e869863958”
872s # New handshake: EXTERNAL with empty authorization identity and whitespace
872s # C:“AUTH EXTERNAL”
872s # Expect: /^DATA$/
872s # S:“DATA”
872s # C:“DATA ”
872s # Expect: /^OK [0-9a-f]+$/
872s # S:“OK 8a2028437bf9fc04f3f274e869863958”
872s ok 1 /gdbus/sasl/server
872s # End of sasl tests
872s # End of gdbus tests
872s TAP version 14
872s # random seed: R02S0d64be8ff28b3fac438fdeccf30cdee3
872s 1..1
872s # Start of unicode tests
872s ok 1 /unicode/encoding
872s # End of unicode tests
872s # Executing: glib/memory-monitor-portal.test
872s TAP version 13
872s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available
872s 1..1
872s ok - glib/memory-monitor-portal.test
872s # Running test: glib/macros.test
872s TAP version 14
872s # random seed: R02S3023480f77ebaf0e2f7d0e58c70d9dee
872s 1..3
872s # Start of alignof tests
872s ok 1 /alignof/fallback
872s # End of alignof tests
872s # Start of assert tests
872s ok 2 /assert/static
872s # End of assert tests
872s # Start of struct tests
872s ok 3 /struct/sizeof_member
872s # End of struct tests
872s ok - glib/macros.test
872s # Running test: glib/proxy-test.test
872s TAP version 14
872s # random seed: R02Sc0f6be92f73e996c27e5d4020f3c7648
872s 1..11
872s # Start of proxy tests
872s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’
872s ok 1 /proxy/direct_sync
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d7f40 and GSocketClientAsyncConnectData 0x585ed42d7460
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42d8a60 for GSocketClientAsyncConnectData 0x585ed42d7460
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
872s ok 2 /proxy/direct_async
872s ok 3 /proxy/single_sync
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d8520 and GSocketClientAsyncConnectData 0x585ed42d7460
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42d9bc0 for GSocketClientAsyncConnectData 0x585ed42d7460
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
872s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
872s ok 4 /proxy/single_async
872s ok 5 /proxy/multiple_sync
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d8810 and GSocketClientAsyncConnectData 0x585ed42d87a0
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42da100 for GSocketClientAsyncConnectData 0x585ed42d87a0
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42da0a0 for GSocketClientAsyncConnectData 0x585ed42d87a0
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
872s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
872s ok 6 /proxy/multiple_async
872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
872s ok 7 /proxy/invalid-uris-sync
872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d8400 and GSocketClientAsyncConnectData 0x585ed42da290
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
872s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d8520 and GSocketClientAsyncConnectData 0x585ed42d87a0
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
872s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d8400 and GSocketClientAsyncConnectData 0x585ed42da290
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42d8ac0 for GSocketClientAsyncConnectData 0x585ed42da290
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d8520 and GSocketClientAsyncConnectData 0x585ed42da290
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42da300 for GSocketClientAsyncConnectData 0x585ed42da290
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
872s ok 8 /proxy/invalid-uris-async
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d7f40 and GSocketClientAsyncConnectData 0x585ed42da290
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: IPv6 DNS error: Not found
872s # GLib-GIO-DEBUG: IPv4 DNS error: Not found
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found
872s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42da420 and GSocketClientAsyncConnectData 0x585ed42d89b0
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42d9a20 for GSocketClientAsyncConnectData 0x585ed42d89b0
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
872s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d8400 and GSocketClientAsyncConnectData 0x585ed42d87a0
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s ok - glib/proxy-test.test
872s # Running test: glib/dynamictype.test
872s ok - glib/dynamictype.test
872s # Running test: glib/portal-support-snap-classic.test
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42d8ac0 for GSocketClientAsyncConnectData 0x585ed42d87a0
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
872s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
872s ok 9 /proxy/dns
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d7f40 and GSocketClientAsyncConnectData 0x585ed42d87a0
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42d8ac0 for GSocketClientAsyncConnectData 0x585ed42d87a0
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
872s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d8400 and GSocketClientAsyncConnectData 0x585ed42d85e0
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42d9a20 for GSocketClientAsyncConnectData 0x585ed42d85e0
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
872s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
872s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
872s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x585ed42d7f40 and GSocketClientAsyncConnectData 0x585ed42da290
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
872s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x585ed42da100 for GSocketClientAsyncConnectData 0x585ed42da290
872s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
872s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
872s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
872s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
872s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
872s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
872s ok 10 /proxy/override
872s ok 11 /proxy/enumerator-ports
872s # End of proxy tests
872s TAP version 14
872s # random seed: R02S4a17a02369c356b048100aacd2131749
872s 1..2
872s # Start of gobject tests
872s ok 1 /gobject/dynamic-type
872s # Start of dynamic-type tests
872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623
872s ok 2 /gobject/dynamic-type/query
872s # End of dynamic-type tests
872s # End of gobject tests
872s TAP version 14
872s ok - glib/portal-support-snap-classic.test
872s # Running test: glib/rec-mutex.test
872s # random seed: R02S7eb3af1ae6a1a4b202f937cfe9882ef7
872s 1..3
872s # Start of portal-support tests
872s # Start of snap-classic tests
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl/.dirs/runtime
872s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/no-snapctl: No such file or directory
872s ok 1 /portal-support/snap-classic/no-snapctl
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/runtime
872s # Created snap.yaml in /tmp/test_portal-support-snap-classic_82PAK3/meta/snap.yaml
872s # Created snapctl in /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none/.dirs/runtime/snapctl
872s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/none: No such file or directory
872s ok 2 /portal-support/snap-classic/none
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/runtime
872s # Created snap.yaml in /tmp/test_portal-support-snap-classic_82PAK3/meta/snap.yaml
872s # Created snapctl in /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all/.dirs/runtime/snapctl
872s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_82PAK3/portal-support/snap-classic/all: No such file or directory
872s ok 3 /portal-support/snap-classic/all
872s # End of snap-classic tests
872s # End of portal-support tests
872s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_82PAK3: No such file or directory
872s TAP version 14
872s # random seed: R02Saf755a6277ebb6cde0b27d35134fdc81
872s 1..29
872s # Start of thread tests
872s ok 1 /thread/rec-mutex1
872s ok 2 /thread/rec-mutex2
872s ok 3 /thread/rec-mutex3
872s ok 4 /thread/rec-mutex4
872s # Start of rec-mutex tests
872s # Start of perf tests
872s # Start of uncontended tests
872s # max perf: 1.000000 mips
872s ok 5 /thread/rec-mutex/perf/uncontended/depth1
872s # max perf: inf mips
872s ok 6 /thread/rec-mutex/perf/uncontended/depth2
872s # max perf: inf mips
872s ok 7 /thread/rec-mutex/perf/uncontended/depth3
872s # max perf: inf mips
872s ok 8 /thread/rec-mutex/perf/uncontended/depth4
872s # max perf: 1.000000 mips
872s ok 9 /thread/rec-mutex/perf/uncontended/depth5
872s # End of uncontended tests
872s # Start of contended1 tests
872s # max perf: 2.000000 mips
872s ok 10 /thread/rec-mutex/perf/contended1/depth1
872s # max perf: inf mips
872s ok 11 /thread/rec-mutex/perf/contended1/depth2
872s # max perf: inf mips
872s ok 12 /thread/rec-mutex/perf/contended1/depth3
872s # max perf: 2.000000 mips
872s ok 13 /thread/rec-mutex/perf/contended1/depth4
872s # max perf: inf mips
872s ok 14 /thread/rec-mutex/perf/contended1/depth5
872s # End of contended1 tests
872s # Start of contended2 tests
872s # max perf: 3.000000 mips
872s ok 15 /thread/rec-mutex/perf/contended2/depth1
872s # max perf: 3.000000 mips
872s ok 16 /thread/rec-mutex/perf/contended2/depth2
872s # max perf: 3.000000 mips
872s ok 17 /thread/rec-mutex/perf/contended2/depth3
872s # max perf: 3.000000 mips
872s ok 18 /thread/rec-mutex/perf/contended2/depth4
872s # max perf: inf mips
872s ok 19 /thread/rec-mutex/perf/contended2/depth5
872s # End of contended2 tests
872s # Start of contended3 tests
872s # max perf: 4.000000 mips
872s ok 20 /thread/rec-mutex/perf/contended3/depth1
872s # max perf: 4.000000 mips
872s ok 21 /thread/rec-mutex/perf/contended3/depth2
872s # max perf: 4.000000 mips
872s ok 22 /thread/rec-mutex/perf/contended3/depth3
872s # max perf: 4.000000 mips
872s ok 23 /thread/rec-mutex/perf/contended3/depth4
872s # max perf: 4.000000 mips
872s ok 24 /thread/rec-mutex/perf/contended3/depth5
872s # End of contended3 tests
872s # Start of contended4 tests
872s # max perf: 5.000000 mips
872s ok 25 /thread/rec-mutex/perf/contended4/depth1
872s # max perf: 5.000000 mips
872s ok 26 /thread/rec-mutex/perf/contended4/depth2
872s # max perf: 5.000000 mips
872s ok 27 /thread/rec-mutex/perf/contended4/depth3
872s # max perf: 5.000000 mips
872s ok 28 /thread/rec-mutex/perf/contended4/depth4
872s # max perf: 5.000000 mips
872s ok 29 /thread/rec-mutex/perf/contended4/depth5
872s # End of contended4 tests
872s # End of perf tests
872s # End of rec-mutex tests
872s # End of thread tests
872s ok - glib/rec-mutex.test
872s # Running test: glib/dbus-appinfo.test
872s TAP version 14
872s # random seed: R02Se45cb2649f04c2acbb20ec418f985e51
872s 1..7
872s # Start of appinfo tests
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/runtime
872s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
872s ok 1 /appinfo/dbusappinfo
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/runtime
872s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
872s # Acquired a message bus connection
872s # Acquired the name org.freedesktop.portal.Documents
872s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_A9TBK3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/config
872s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop'
872s # fake-document-portal cancelled
872s ok 2 /appinfo/flatpak-doc-export
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/runtime
872s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
872s # Acquired a message bus connection
872s # Acquired the name org.freedesktop.portal.Documents
872s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/config
872s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop'
872s # fake-document-portal cancelled
872s ok 3 /appinfo/flatpak-missing-doc-export
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/runtime
872s # Acquired a message bus connection
872s # Acquired the name org.freedesktop.portal.Desktop
872s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_A9TBK3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/config
872s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
872s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t
872s # Response emitted
872s ok 4 /appinfo/portal-open-file
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/runtime
872s # Acquired a message bus connection
872s # Acquired the name org.freedesktop.portal.Desktop
872s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/config
872s # Got open file request for http://example.com
872s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t
872s # Response emitted
872s # fake-desktop-portal cancelled
872s ok 5 /appinfo/portal-open-uri
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/runtime
872s # Acquired a message bus connection
872s # Acquired the name org.freedesktop.portal.Desktop
872s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/config
872s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
872s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1780611791
872s # Response emitted
872s # fake-desktop-portal cancelled
872s ok 6 /appinfo/portal-open-file-async
872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/home
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/cache
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/system-config2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/config
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/system-data2
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/data
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/state
872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/runtime
872s # Acquired a message bus connection
872s # Acquired the name org.freedesktop.portal.Desktop
872s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_A9TBK3/appinfo/portal-open-uri-async/.dirs/config
872s # Got open file request for http://example.com
872s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1798020535
872s # Response emitted
872s # fake-desktop-portal cancelled
872s ok 7 /appinfo/portal-open-uri-async
872s # End of appinfo tests
872s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
872s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
872s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
872s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
872s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
872s ok - glib/dbus-appinfo.test
872s # Running test: glib/io-stream.test
872s ok - glib/io-stream.test
872s # Running test: glib/testing.test
872s TAP version 14
872s # random seed: R02Sf48eb580a77e275c82bcc3164747ac2b
872s 1..3
872s # Start of io-stream tests
872s ok 1 /io-stream/copy-chunks
872s # Start of close tests
872s # Start of async tests
872s ok 2 /io-stream/close/async/memory
872s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
872s ok 3 /io-stream/close/async/file
872s # End of async tests
872s # End of close tests
872s # End of io-stream tests
872s TAP version 14
872s # random seed: R02S717ccb046cc84f27282ac2dadfda9efb
872s 1..1
872s # Start of assert tests
872s ok 1 /assert/finalize_object
872s ok - glib/testing.test
872s # Running test: glib/task.test
872s # Start of finalize_object tests
872s # Start of subprocess tests
872s # End of subprocess tests
872s # End of finalize_object tests
872s # End of assert tests
872s TAP version 14
872s # random seed: R02Sa95c7b3e0373d077eff377e14508bb3d
872s 1..36
872s # Start of gtask tests
872s ok 1 /gtask/basic
872s ok 2 /gtask/error
872s ok 3 /gtask/error-literal
872s ok 4 /gtask/error-literal-from-variable
872s ok 5 /gtask/return-from-same-iteration
872s ok 6 /gtask/return-from-toplevel
872s ok 7 /gtask/return-from-anon-thread
872s ok 8 /gtask/return-from-wrong-thread
872s ok 9 /gtask/no-callback
872s ok 10 /gtask/report-error
872s ok 11 /gtask/priority
872s ok 12 /gtask/name
872s ok 13 /gtask/static-name
872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608
872s ok 14 /gtask/asynchronous-cancellation
872s ok 15 /gtask/check-cancellable
872s ok 16 /gtask/return-if-cancelled
872s ok 17 /gtask/run-in-thread
872s ok 18 /gtask/run-in-thread-sync
872s ok 19 /gtask/run-in-thread-priority
872s ok 20 /gtask/run-in-thread-nested
873s ok 21 /gtask/run-in-thread-overflow
873s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs
873s # GLib-GIO-DEBUG: GTask 0x634428dab310 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
873s # GLib-GIO-DEBUG: GTask 0x634428d41d50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
873s ok 22 /gtask/return-on-cancel
873s # GLib-GIO-DEBUG: GTask 0x634428d41310 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
873s # GLib-GIO-DEBUG: GTask 0x634428d41230 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
873s ok 23 /gtask/return-on-cancel-sync
873s ok 24 /gtask/return-on-cancel-atomic
873s ok 25 /gtask/return-pointer
873s ok 26 /gtask/return-value
873s ok 27 /gtask/return-prefixed-error
873s ok 28 /gtask/object-keepalive
873s ok 29 /gtask/legacy-error
873s ok 30 /gtask/finalize-without-return
873s ok - glib/task.test
873s # Running test: glib/test-printf.test
873s # Start of name tests
873s ok 31 /gtask/name/macro-wrapper
873s # End of name tests
873s # Start of return tests
873s ok 32 /gtask/return/error-first
873s ok 33 /gtask/return/value-first
873s # Start of in-idle tests
873s ok 34 /gtask/return/in-idle/error-first
873s ok 35 /gtask/return/in-idle/value-first
873s # End of in-idle tests
873s # End of return tests
873s # Start of attach-source tests
873s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset
873s ok 36 /gtask/attach-source/set-name
873s # End of attach-source tests
873s # End of gtask tests
873s TAP version 14
873s # random seed: R02S71874677a662e924c67e5f4a743b4a77
873s 1..24
873s # Start of snprintf tests
873s ok 1 /snprintf/retval-and-trunc
873s ok 2 /snprintf/%d
873s ok 3 /snprintf/%d-invalid
873s ok 4 /snprintf/%o
873s ok 5 /snprintf/%u
873s ok 6 /snprintf/%x
873s ok 7 /snprintf/%X
873s ok 8 /snprintf/%f
873s ok 9 /snprintf/%e
873s ok 10 /snprintf/%c
873s ok 11 /snprintf/%s
873s ok 12 /snprintf/%n
873s ok 13 /snprintf/test-percent
873s ok 14 /snprintf/test-positional-params
873s ok 15 /snprintf/test-64bit
873s ok 16 /snprintf/produce-embedded-nulls
873s # End of snprintf tests
873s # Start of printf tests
873s ok 17 /printf/test-percent
873s ok 18 /printf/test-positional-params
873s ok 19 /printf/test-64bit
873s ok - glib/test-printf.test
873s # Running test: glib/gsocketclient-slow.test
873s # Start of test-64bit tests
873s # Start of subprocess tests
873s # End of subprocess tests
873s # End of test-64bit tests
873s # End of printf tests
873s # Start of fprintf tests
873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761
873s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value '
873s ok 20 /fprintf/produce-embedded-nulls
873s # End of fprintf tests
873s # Start of sprintf tests
873s ok 21 /sprintf/test-positional-params
873s ok 22 /sprintf/upper-bound
873s # End of sprintf tests
873s # Start of vasprintf tests
873s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf()
873s ok 23 /vasprintf/invalid-format-placeholder
873s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf()
873s ok 24 /vasprintf/invalid-wide-string
873s # End of vasprintf tests
873s TAP version 14
873s # random seed: R02S7f21b2540f16d9333673d9c5a603d2ed
873s 1..4
873s # Start of socket-client tests
873s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184
873s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
873s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x582cf0d318e0 and GSocketClientAsyncConnectData 0x582cf0d2c520
873s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
873s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
873s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x582cf0d35540 for GSocketClientAsyncConnectData 0x582cf0d2c520
873s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
873s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
873s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
873s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
873s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
873s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
873s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x582cf0d35540 for GSocketClientAsyncConnectData 0x582cf0d2c520
873s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
874s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
874s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
874s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused
874s ok 1 /socket-client/connection-fail
874s # slow test /socket-client/connection-fail executed in 1.20 secs
874s # Start of happy-eyeballs tests
874s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x582cf0d340d0 and GSocketClientAsyncConnectData 0x582cf0d35070
874s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
874s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
874s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x582cf0d38340 for GSocketClientAsyncConnectData 0x582cf0d35070
874s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
875s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
875s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
875s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
875s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
875s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
875s ok 2 /socket-client/happy-eyeballs/slow
875s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs
875s # Start of cancellation tests
875s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x582cf0d34d50 and GSocketClientAsyncConnectData 0x582cf0d385e0
875s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
875s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled
875s ok 3 /socket-client/happy-eyeballs/cancellation/instant
875s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x582cf0d33ff0 and GSocketClientAsyncConnectData 0x582cf0d37fa0
875s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
875s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
875s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x582cf0d38ba0 for GSocketClientAsyncConnectData 0x582cf0d37fa0
875s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
875s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
875s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
875s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
875s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
875s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled!
875s ok 4 /socket-client/happy-eyeballs/cancellation/delayed
875s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs
875s # End of cancellation tests
875s # End of happy-eyeballs tests
875s # End of socket-client tests
875s ok - glib/gsocketclient-slow.test
875s # Running test: glib/cxx-98.test
875s TAP version 14
875s # random seed: R02S324fdacecb9689079533066d9dbedcce
875s 1..2
875s # Start of gtask tests
875s # 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.
875s ok 1 /gtask/name
875s # Start of name tests
875s # 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.
875s ok 2 /gtask/name/macro-wrapper
875s # End of name tests
875s # End of gtask tests
875s ok - glib/cxx-98.test
875s # Running test: glib/pattern.test
875s TAP version 14
875s # random seed: R02S89b46f8468cb1f1f0b599b0225148c6a
875s 1..90
875s # Start of pattern tests
875s # Start of compile tests
875s ok 1 /pattern/compile/0
875s ok 2 /pattern/compile/1
875s ok 3 /pattern/compile/2
875s ok 4 /pattern/compile/3
875s ok 5 /pattern/compile/4
875s ok 6 /pattern/compile/5
875s ok 7 /pattern/compile/6
875s ok 8 /pattern/compile/7
875s ok - glib/pattern.test
875s # Running test: glib/volumemonitor.test
875s ok - glib/volumemonitor.test
875s # Running test: glib/overflow-fallback.test
875s ok - glib/overflow-fallback.test
875s # Running test: glib/unix-mounts.test
875s ok - glib/unix-mounts.test
875s # Running test: glib/init.test
875s ok - glib/init.test
875s # Running test: glib/memory-input-stream.test
875s ok 9 /pattern/compile/8
875s ok 10 /pattern/compile/9
875s ok 11 /pattern/compile/10
875s ok 12 /pattern/compile/11
875s ok 13 /pattern/compile/12
875s ok 14 /pattern/compile/13
875s # End of compile tests
875s # Start of copy tests
875s ok 15 /pattern/copy/0
875s ok 16 /pattern/copy/1
875s ok 17 /pattern/copy/2
875s ok 18 /pattern/copy/3
875s ok 19 /pattern/copy/4
875s ok 20 /pattern/copy/5
875s ok 21 /pattern/copy/6
875s ok 22 /pattern/copy/7
875s ok 23 /pattern/copy/8
875s ok 24 /pattern/copy/9
875s ok 25 /pattern/copy/10
875s ok 26 /pattern/copy/11
875s ok 27 /pattern/copy/12
875s ok 28 /pattern/copy/13
875s # End of copy tests
875s # Start of match tests
875s ok 29 /pattern/match/0
875s ok 30 /pattern/match/1
875s ok 31 /pattern/match/2
875s ok 32 /pattern/match/3
875s ok 33 /pattern/match/4
875s ok 34 /pattern/match/5
875s ok 35 /pattern/match/6
875s ok 36 /pattern/match/7
875s ok 37 /pattern/match/8
875s ok 38 /pattern/match/9
875s ok 39 /pattern/match/10
875s ok 40 /pattern/match/11
875s ok 41 /pattern/match/12
875s ok 42 /pattern/match/13
875s ok 43 /pattern/match/14
875s ok 44 /pattern/match/15
875s ok 45 /pattern/match/16
875s ok 46 /pattern/match/17
875s ok 47 /pattern/match/18
875s ok 48 /pattern/match/19
875s ok 49 /pattern/match/20
875s ok 50 /pattern/match/21
875s ok 51 /pattern/match/22
875s ok 52 /pattern/match/23
875s ok 53 /pattern/match/24
875s ok 54 /pattern/match/25
875s ok 55 /pattern/match/26
875s ok 56 /pattern/match/27
875s ok 57 /pattern/match/28
875s ok 58 /pattern/match/29
875s ok 59 /pattern/match/30
875s ok 60 /pattern/match/31
875s ok 61 /pattern/match/32
875s ok 62 /pattern/match/33
875s ok 63 /pattern/match/34
875s ok 64 /pattern/match/35
875s ok 65 /pattern/match/36
875s ok 66 /pattern/match/37
875s ok 67 /pattern/match/38
875s ok 68 /pattern/match/39
875s ok 69 /pattern/match/40
875s ok 70 /pattern/match/41
875s ok 71 /pattern/match/42
875s ok 72 /pattern/match/43
875s ok 73 /pattern/match/44
875s ok 74 /pattern/match/45
875s ok 75 /pattern/match/46
875s ok 76 /pattern/match/47
875s ok 77 /pattern/match/48
875s ok 78 /pattern/match/49
875s ok 79 /pattern/match/50
875s # End of match tests
875s # Start of equal tests
875s ok 80 /pattern/equal/0
875s ok 81 /pattern/equal/1
875s ok 82 /pattern/equal/2
875s ok 83 /pattern/equal/3
875s ok 84 /pattern/equal/4
875s ok 85 /pattern/equal/5
875s ok 86 /pattern/equal/6
875s ok 87 /pattern/equal/7
875s ok 88 /pattern/equal/8
875s ok 89 /pattern/equal/9
875s ok 90 /pattern/equal/10
875s # End of equal tests
875s # End of pattern tests
875s TAP version 14
875s # random seed: R02Sfae31a4346bc1eb42160f36382a66f0a
875s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
875s 1..3
875s # Start of volumemonitor tests
875s ok 1 /volumemonitor/connected_drives
875s ok 2 /volumemonitor/volumes
875s ok 3 /volumemonitor/mounts
875s # End of volumemonitor tests
875s TAP version 14
875s # random seed: R02S74180eb557a1c3a18c6417d3ece9cf0e
875s 1..6
875s # Start of glib tests
875s # Start of checked-math tests
875s ok 1 /glib/checked-math/guint-add
875s ok 2 /glib/checked-math/guint-mul
875s ok 3 /glib/checked-math/guint64-add
875s ok 4 /glib/checked-math/guint64-mul
875s ok 5 /glib/checked-math/gsize-add
875s ok 6 /glib/checked-math/gsize-mul
875s # End of checked-math tests
875s # End of glib tests
875s TAP version 14
875s # random seed: R02S189808955c4ca2c1cfba8846e33c7e1b
875s 1..4
875s # Start of unix-mounts tests
875s ok 1 /unix-mounts/is-system-fs-type
875s ok 2 /unix-mounts/is-system-device-path
875s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file()
875s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
875s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
875s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
875s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
875s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
875s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
875s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
875s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
875s ok 3 /unix-mounts/get-mount-points
875s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file()
875s ok 4 /unix-mounts/get-mount-entries
875s # End of unix-mounts tests
875s TAP version 14
875s # random seed: R02Sceeaab447efe40aef63b8226274642b5
875s 1..2
875s # Start of thread tests
875s # Start of deprecated tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_6ODKK3/thread/deprecated/init/.dirs/runtime
875s ok 1 /thread/deprecated/init
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_6ODKK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime
875s ok 2 /thread/deprecated/init-with-errorcheck-mutexes
875s # End of deprecated tests
875s # End of thread tests
875s TAP version 14
875s # random seed: R02Se20c6f98c41dc86e67dd591449a7a1b2
875s 1..6
875s # Start of memory-input-stream tests
875s ok 1 /memory-input-stream/read-chunks
875s ok 2 /memory-input-stream/async
875s ok - glib/memory-input-stream.test
875s # Running test: glib/resolver-parsing.test
875s ok 3 /memory-input-stream/seek
875s ok 4 /memory-input-stream/truncate
875s ok 5 /memory-input-stream/read-bytes
875s ok 6 /memory-input-stream/from-bytes
875s # End of memory-input-stream tests
875s TAP version 14
875s # random seed: R02S959123d2553b71adc563a2abeff4e943
875s 1..21
875s # Start of gresolver tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/home
875s ok - glib/resolver-parsing.test
875s # Running test: glib/notify-init.test
875s ok - glib/notify-init.test
875s # Running test: glib/stream-rw_all.test
875s ok - glib/stream-rw_all.test
875s # Running test: glib/resources.test
875s ok - glib/resources.test
875s # Running test: glib/regex.test
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/invalid-header/.dirs/runtime
875s ok 1 /gresolver/invalid-header
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/record-ownership/.dirs/runtime
875s ok 2 /gresolver/record-ownership
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/unknown-record-type/.dirs/runtime
875s # GLib-GIO-DEBUG: Unrecognized DNS record type 20
875s ok 3 /gresolver/unknown-record-type
875s # Start of mx tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/valid/.dirs/runtime
875s ok 4 /gresolver/mx/valid
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/.dirs/runtime
875s ok 5 /gresolver/mx/invalid
875s # Start of invalid tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short/.dirs/runtime
875s ok 6 /gresolver/mx/invalid/too-short
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/mx/invalid/too-short2/.dirs/runtime
875s ok 7 /gresolver/mx/invalid/too-short2
875s # End of invalid tests
875s # End of mx tests
875s # Start of ns tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/valid/.dirs/runtime
875s ok 8 /gresolver/ns/valid
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/ns/invalid/.dirs/runtime
875s ok 9 /gresolver/ns/invalid
875s # End of ns tests
875s # Start of soa tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/valid/.dirs/runtime
875s ok 10 /gresolver/soa/valid
875s # Start of invalid tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/mname/.dirs/runtime
875s ok 11 /gresolver/soa/invalid/mname
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/rname/.dirs/runtime
875s ok 12 /gresolver/soa/invalid/rname
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/soa/invalid/too-short/.dirs/runtime
875s ok 13 /gresolver/soa/invalid/too-short
875s # End of invalid tests
875s # End of soa tests
875s # Start of srv tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/valid/.dirs/runtime
875s ok 14 /gresolver/srv/valid
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/.dirs/runtime
875s ok 15 /gresolver/srv/invalid
875s # Start of invalid tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short/.dirs/runtime
875s ok 16 /gresolver/srv/invalid/too-short
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/srv/invalid/too-short2/.dirs/runtime
875s ok 17 /gresolver/srv/invalid/too-short2
875s # End of invalid tests
875s # End of srv tests
875s # Start of txt tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/.dirs/runtime
875s ok 18 /gresolver/txt/valid
875s # Start of valid tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/valid/multiple-strings/.dirs/runtime
875s ok 19 /gresolver/txt/valid/multiple-strings
875s # End of valid tests
875s # Start of invalid tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/empty/.dirs/runtime
875s ok 20 /gresolver/txt/invalid/empty
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ELXKK3/gresolver/txt/invalid/overflow/.dirs/runtime
875s ok 21 /gresolver/txt/invalid/overflow
875s # End of invalid tests
875s # End of txt tests
875s # End of gresolver tests
875s TAP version 14
875s # random seed: R02Sd1c11e71c60bc7aaa51791841b898158
875s 1..1
875s # Start of properties tests
875s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works
875s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
875s ok 1 /properties/notify-in-init
875s # End of properties tests
875s TAP version 14
875s # random seed: R02Sab014eae52544584d78ac4bcd37587e2
875s 1..3
875s # Start of stream tests
875s # Start of read_all_async tests
875s ok 1 /stream/read_all_async/memory
875s # End of read_all_async tests
875s # Start of write_all_async tests
875s ok 2 /stream/write_all_async/memory
875s # End of write_all_async tests
875s # Start of read_write_all_async tests
875s ok 3 /stream/read_write_all_async/pipe
875s # End of read_write_all_async tests
875s # End of stream tests
875s TAP version 14
875s # random seed: R02Sc2b44bf344319070d64b7b13ca4f7bf3
875s 1..19
875s # Start of resource tests
875s ok 1 /resource/file
875s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
875s ok 2 /resource/file-path
875s ok 3 /resource/data
875s ok 4 /resource/data_unaligned
875s ok 5 /resource/data-corrupt
875s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression).
875s ok 6 /resource/data-corrupt-compression
875s ok 7 /resource/data-empty
875s ok 8 /resource/registered
875s ok 9 /resource/manual
875s ok 10 /resource/manual2
875s ok 11 /resource/automatic
875s ok 12 /resource/module
875s ok 13 /resource/binary-linked
875s ok 14 /resource/64k
875s GLib-GIO-Message: 18:56:28.687: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay'
875s GLib-GIO-Message: 18:56:28.687: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
875s GLib-GIO-Message: 18:56:28.687: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
875s ok 15 /resource/overlay
875s ok 16 /resource/digits
875s ok 17 /resource/has-children
875s # Start of uri tests
875s ok 18 /resource/uri/query-info
875s ok 19 /resource/uri/file
875s # End of uri tests
875s # End of resource tests
875s TAP version 14
875s # random seed: R02Se69303bf2ebd4953472e2eba62d06a55
875s 1..849
875s # Start of regex tests
875s ok 1 /regex/properties
875s ok 2 /regex/class
875s ok 3 /regex/lookahead
875s ok 4 /regex/lookbehind
875s ok 5 /regex/subpattern
875s ok 6 /regex/condition
875s ok 7 /regex/recursion
875s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489
875s ok 8 /regex/multiline
875s ok 9 /regex/explicit-crlf
875s ok 10 /regex/max-lookbehind
875s ok 11 /regex/compile-errors
875s ok 12 /regex/jit-unsupported-matching
875s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried
875s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881
875s ok 13 /regex/unmatched-named-subpattern
875s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches
875s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824
875s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
875s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
875s ok 14 /regex/compiled-regex-after-jit-failure
875s # Start of new tests
875s ok 15 /regex/new/1
875s ok 16 /regex/new/2
875s ok 17 /regex/new/3
875s ok 18 /regex/new/4
875s ok 19 /regex/new/5
875s ok 20 /regex/new/6
875s ok 21 /regex/new/7
875s ok 22 /regex/new/8
875s ok 23 /regex/new/9
875s ok 24 /regex/new/10
875s ok 25 /regex/new/11
875s ok 26 /regex/new/12
875s ok 27 /regex/new/13
875s ok 28 /regex/new/14
875s ok 29 /regex/new/15
875s ok 30 /regex/new/16
875s ok 31 /regex/new/17
875s ok 32 /regex/new/18
875s ok 33 /regex/new/19
875s ok 34 /regex/new/71
875s ok 35 /regex/new/81
875s ok 36 /regex/new/83
875s # End of new tests
875s # Start of new-check-flags tests
875s ok 37 /regex/new-check-flags/20
875s ok 38 /regex/new-check-flags/21
875s ok 39 /regex/new-check-flags/22
875s ok 40 /regex/new-check-flags/23
875s ok 41 /regex/new-check-flags/24
875s ok 42 /regex/new-check-flags/25
875s ok 43 /regex/new-check-flags/26
875s ok 44 /regex/new-check-flags/27
875s ok 45 /regex/new-check-flags/28
875s ok 46 /regex/new-check-flags/29
875s ok 47 /regex/new-check-flags/30
875s ok 48 /regex/new-check-flags/31
875s ok 49 /regex/new-check-flags/32
875s ok 50 /regex/new-check-flags/33
875s ok 51 /regex/new-check-flags/34
875s ok 52 /regex/new-check-flags/35
875s ok 53 /regex/new-check-flags/36
875s # End of new-check-flags tests
875s # Start of new-fail tests
875s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating )
875s ok 54 /regex/new-fail/37
875s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating )
875s ok 55 /regex/new-fail/38
875s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class
875s ok 56 /regex/new-fail/39
875s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat
875s ok 57 /regex/new-fail/40
875s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat
875s ok 58 /regex/new-fail/41
875s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name
875s ok 59 /regex/new-fail/42
875s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern
875s ok 60 /regex/new-fail/43
875s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern
875s ok 61 /regex/new-fail/44
875s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \
875s ok 62 /regex/new-fail/45
875s # Compiling pattern /a{4,2}/ failed with error: Error while compiling regular expression ‘a{4,2}’ at char 5: numbers out of order in {} quantifier
875s ok 63 /regex/new-fail/46
875s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier
875s ok 64 /regex/new-fail/47
875s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class
875s ok 65 /regex/new-fail/48
875s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class
875s ok 66 /regex/new-fail/49
875s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class
875s ok 67 /regex/new-fail/50
875s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class
875s ok 68 /regex/new-fail/51
875s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat
875s ok 69 /regex/new-fail/52
875s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?-
875s ok 70 /regex/new-fail/53
875s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?&
875s ok 71 /regex/new-fail/54
875s # Compiling pattern /a[:alpha:]b/ failed with error: Error while compiling regular expression ‘a[:alpha:]b’ at char 1: POSIX named classes are supported only within a class
875s ok 72 /regex/new-fail/55
875s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating )
875s ok 73 /regex/new-fail/56
875s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating )
875s ok 74 /regex/new-fail/57
875s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating )
875s ok 75 /regex/new-fail/58
875s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern
875s ok 76 /regex/new-fail/59
875s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern
875s ok 77 /regex/new-fail/60
875s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment
875s ok 78 /regex/new-fail/61
875s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length
875s ok 79 /regex/new-fail/62
875s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?(
875s ok 80 /regex/new-fail/63
875s # Compiling pattern /(a)(?(1)a|b|c)/ failed with error: Error while compiling regular expression ‘(a)(?(1)a|b|c)’ at char 3: conditional group contains more than two branches
875s ok 81 /regex/new-fail/64
875s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?(
875s ok 82 /regex/new-fail/65
875s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name
875s ok 83 /regex/new-fail/66
875s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported
875s ok 84 /regex/new-fail/67
875s # Compiling pattern /\x{110000}/ failed with error: Error while compiling regular expression ‘\x{110000}’ at char 9: character value in \x{...} sequence is too large
875s ok 85 /regex/new-fail/68
875s # Compiling pattern /^(?(0)f|b)oo/ failed with error: Error while compiling regular expression ‘^(?(0)f|b)oo’ at char 5: reference to non-existent subpattern
875s ok 86 /regex/new-fail/69
875s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion
875s ok 87 /regex/new-fail/70
875s # Compiling pattern /(?(?foo)\gfoo)\geks)(?Peccs)/ failed with error: Error while compiling regular expression ‘(?Peks)(?Peccs)’ at char 16: two named subpatterns have the same name
875s ok 90 /regex/new-fail/74
875s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377
875s ok 91 /regex/new-fail/75
875s # Compiling pattern /^(?(DEFINE) abc | xyz ) / failed with error: Error while compiling regular expression ‘^(?(DEFINE) abc | xyz ) ’ at char 4: DEFINE group contains more than one branch
875s ok 92 /regex/new-fail/76
875s # Compiling pattern /a/ failed with error: Invalid newline flags
875s ok 93 /regex/new-fail/77
875s # Compiling pattern /^(a)\g"3/ failed with error: Error while compiling regular expression ‘^(a)\g"3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number
875s ok 94 /regex/new-fail/78
875s # Compiling pattern /^(a)\g{3/ failed with error: Error while compiling regular expression ‘^(a)\g{3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number
875s ok 95 /regex/new-fail/79
875s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern
875s ok 96 /regex/new-fail/80
875s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized
875s ok 97 /regex/new-fail/82
875s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?&
875s ok 98 /regex/new-fail/84
875s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero
875s ok 99 /regex/new-fail/85
875s # Compiling pattern /(?|(?A)|(?B))/ failed with error: Error while compiling regular expression ‘(?|(?A)|(?B))’ at char 16: different names for subpatterns of the same number are not allowed
875s ok 100 /regex/new-fail/86
875s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument
875s ok 101 /regex/new-fail/87
875s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character
875s ok 102 /regex/new-fail/88
875s # Compiling pattern /\k/ failed with error: Error while compiling regular expression ‘\k’ at char 2: \k is not followed by a braced, angle-bracketed, or quoted name
875s ok 103 /regex/new-fail/89
875s # Compiling pattern /a[\NB]c/ failed with error: Error while compiling regular expression ‘a[\NB]c’ at char 4: \N is not supported in a class
875s ok 104 /regex/new-fail/90
875s # Compiling pattern /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX/ failed with error: Error while compiling regular expression ‘(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX’ at char 260: name is too long in (*MARK), (*PRUNE), (*SKIP), or (*THEN)
875s ok 105 /regex/new-fail/91
875s # Compiling pattern /(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")/ failed with error: Error while compiling regular expression ‘(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")’ at char 61: character value in \x{...} sequence is too large
875s ok 106 /regex/new-fail/92
875s # End of new-fail tests
875s # Start of match-simple tests
875s ok 107 /regex/match-simple/93
875s ok 108 /regex/match-simple/94
875s ok 109 /regex/match-simple/95
875s ok 110 /regex/match-simple/96
875s ok 111 /regex/match-simple/97
875s ok 112 /regex/match-simple/98
875s ok 113 /regex/match-simple/99
875s ok 114 /regex/match-simple/100
875s ok 115 /regex/match-simple/101
875s ok 116 /regex/match-simple/102
875s ok 117 /regex/match-simple/103
875s ok 118 /regex/match-simple/104
875s ok 119 /regex/match-simple/105
875s ok 120 /regex/match-simple/106
875s ok 121 /regex/match-simple/107
875s ok 122 /regex/match-simple/108
875s ok 123 /regex/match-simple/109
875s ok 124 /regex/match-simple/110
875s ok 125 /regex/match-simple/111
875s ok 126 /regex/match-simple/112
875s ok 127 /regex/match-simple/113
875s ok 128 /regex/match-simple/114
875s ok 129 /regex/match-simple/115
875s ok 130 /regex/match-simple/116
875s ok 131 /regex/match-simple/117
875s ok 132 /regex/match-simple/118
875s ok 133 /regex/match-simple/119
875s ok 134 /regex/match-simple/120
875s ok 135 /regex/match-simple/121
875s ok 136 /regex/match-simple/122
875s ok 137 /regex/match-simple/123
875s ok 138 /regex/match-simple/124
875s ok 139 /regex/match-simple/125
875s ok 140 /regex/match-simple/126
875s ok 141 /regex/match-simple/127
875s ok 142 /regex/match-simple/128
875s ok 143 /regex/match-simple/129
875s ok 144 /regex/match-simple/130
875s ok 145 /regex/match-simple/131
875s ok 146 /regex/match-simple/132
875s ok 147 /regex/match-simple/133
875s ok 148 /regex/match-simple/134
875s ok 149 /regex/match-simple/135
875s ok 150 /regex/match-simple/136
875s ok 151 /regex/match-simple/137
875s ok 152 /regex/match-simple/138
875s ok 153 /regex/match-simple/139
875s ok 154 /regex/match-simple/140
875s ok 155 /regex/match-simple/141
875s ok 156 /regex/match-simple/142
875s ok 157 /regex/match-simple/143
875s ok 158 /regex/match-simple/144
875s ok 159 /regex/match-simple/145
875s ok 160 /regex/match-simple/146
875s ok 161 /regex/match-simple/147
875s ok 162 /regex/match-simple/148
875s ok 163 /regex/match-simple/149
875s ok 164 /regex/match-simple/150
875s ok 165 /regex/match-simple/151
875s ok 166 /regex/match-simple/152
875s ok 167 /regex/match-simple/153
875s ok 168 /regex/match-simple/154
875s ok 169 /regex/match-simple/155
875s ok 170 /regex/match-simple/156
875s ok 171 /regex/match-simple/157
875s ok 172 /regex/match-simple/158
875s ok 173 /regex/match-simple/159
875s ok 174 /regex/match-simple/160
875s ok 175 /regex/match-simple/161
875s ok 176 /regex/match-simple/162
875s ok 177 /regex/match-simple/163
875s ok 178 /regex/match-simple/164
875s ok 179 /regex/match-simple/165
875s # End of match-simple tests
875s # Start of match-simple-optimized tests
875s ok 180 /regex/match-simple-optimized/93
875s ok 181 /regex/match-simple-optimized/94
875s ok 182 /regex/match-simple-optimized/95
875s ok 183 /regex/match-simple-optimized/96
875s ok 184 /regex/match-simple-optimized/97
875s ok 185 /regex/match-simple-optimized/98
875s ok 186 /regex/match-simple-optimized/99
875s ok 187 /regex/match-simple-optimized/100
875s ok 188 /regex/match-simple-optimized/101
875s ok 189 /regex/match-simple-optimized/102
875s ok 190 /regex/match-simple-optimized/103
875s ok 191 /regex/match-simple-optimized/104
875s ok 192 /regex/match-simple-optimized/105
875s ok 193 /regex/match-simple-optimized/106
875s ok 194 /regex/match-simple-optimized/107
875s ok 195 /regex/match-simple-optimized/108
875s ok 196 /regex/match-simple-optimized/109
875s ok 197 /regex/match-simple-optimized/110
875s ok 198 /regex/match-simple-optimized/111
875s ok 199 /regex/match-simple-optimized/112
875s ok 200 /regex/match-simple-optimized/113
875s ok 201 /regex/match-simple-optimized/114
875s ok 202 /regex/match-simple-optimized/115
875s ok 203 /regex/match-simple-optimized/116
875s ok 204 /regex/match-simple-optimized/117
875s ok 205 /regex/match-simple-optimized/118
875s ok 206 /regex/match-simple-optimized/119
875s ok 207 /regex/match-simple-optimized/120
875s ok 208 /regex/match-simple-optimized/121
875s ok 209 /regex/match-simple-optimized/122
875s ok 210 /regex/match-simple-optimized/123
875s ok 211 /regex/match-simple-optimized/124
875s ok 212 /regex/match-simple-optimized/125
875s ok 213 /regex/match-simple-optimized/126
875s ok 214 /regex/match-simple-optimized/127
875s ok 215 /regex/match-simple-optimized/128
875s ok 216 /regex/match-simple-optimized/129
875s ok 217 /regex/match-simple-optimized/130
875s ok 218 /regex/match-simple-optimized/131
875s ok 219 /regex/match-simple-optimized/132
875s ok 220 /regex/match-simple-optimized/133
875s ok 221 /regex/match-simple-optimized/134
875s ok 222 /regex/match-simple-optimized/135
875s ok 223 /regex/match-simple-optimized/136
875s ok 224 /regex/match-simple-optimized/137
875s ok 225 /regex/match-simple-optimized/138
875s ok 226 /regex/match-simple-optimized/139
875s ok 227 /regex/match-simple-optimized/140
875s ok 228 /regex/match-simple-optimized/141
875s ok 229 /regex/match-simple-optimized/142
875s ok 230 /regex/match-simple-optimized/143
875s ok 231 /regex/match-simple-optimized/144
875s ok 232 /regex/match-simple-optimized/145
875s ok 233 /regex/match-simple-optimized/146
875s ok 234 /regex/match-simple-optimized/147
875s ok 235 /regex/match-simple-optimized/148
875s ok 236 /regex/match-simple-optimized/149
875s ok 237 /regex/match-simple-optimized/150
875s ok 238 /regex/match-simple-optimized/151
875s ok 239 /regex/match-simple-optimized/152
875s ok 240 /regex/match-simple-optimized/153
875s ok 241 /regex/match-simple-optimized/154
875s ok 242 /regex/match-simple-optimized/155
875s ok 243 /regex/match-simple-optimized/156
875s ok 244 /regex/match-simple-optimized/157
875s ok 245 /regex/match-simple-optimized/158
875s ok 246 /regex/match-simple-optimized/159
875s ok 247 /regex/match-simple-optimized/160
875s ok 248 /regex/match-simple-optimized/161
875s ok 249 /regex/match-simple-optimized/162
875s ok 250 /regex/match-simple-optimized/163
875s ok 251 /regex/match-simple-optimized/164
875s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
875s ok 252 /regex/match-simple-optimized/165
875s # End of match-simple-optimized tests
875s # Start of match tests
875s ok 253 /regex/match/166
875s ok 254 /regex/match/167
875s ok 255 /regex/match/168
875s ok 256 /regex/match/169
875s ok 257 /regex/match/170
875s ok 258 /regex/match/171
875s ok 259 /regex/match/172
875s ok 260 /regex/match/173
875s ok 261 /regex/match/174
875s ok 262 /regex/match/175
875s ok 263 /regex/match/176
875s ok 264 /regex/match/177
875s ok 265 /regex/match/178
875s ok 266 /regex/match/179
875s ok 267 /regex/match/180
875s ok 268 /regex/match/181
875s ok 269 /regex/match/182
875s ok 270 /regex/match/183
875s ok 271 /regex/match/184
875s ok 272 /regex/match/185
875s ok 273 /regex/match/186
875s ok 274 /regex/match/187
875s ok 275 /regex/match/188
875s ok 276 /regex/match/189
875s ok 277 /regex/match/190
875s ok 278 /regex/match/191
875s ok 279 /regex/match/192
875s ok 280 /regex/match/193
875s ok 281 /regex/match/194
875s ok 282 /regex/match/195
875s ok 283 /regex/match/196
875s ok 284 /regex/match/197
875s ok 285 /regex/match/198
875s ok 286 /regex/match/199
875s ok 287 /regex/match/200
875s ok 288 /regex/match/201
875s ok 289 /regex/match/202
875s ok 290 /regex/match/203
875s ok 291 /regex/match/204
875s ok 292 /regex/match/205
875s ok 293 /regex/match/206
875s ok 294 /regex/match/207
875s ok 295 /regex/match/208
875s ok 296 /regex/match/209
875s ok 297 /regex/match/210
875s ok 298 /regex/match/211
875s ok 299 /regex/match/212
875s ok 300 /regex/match/213
875s ok 301 /regex/match/214
875s ok 302 /regex/match/215
875s ok 303 /regex/match/216
875s ok 304 /regex/match/217
875s ok 305 /regex/match/218
875s ok 306 /regex/match/219
875s ok 307 /regex/match/220
875s ok 308 /regex/match/221
875s ok 309 /regex/match/222
875s ok 310 /regex/match/223
875s ok 311 /regex/match/224
875s ok 312 /regex/match/225
875s ok 313 /regex/match/226
875s ok 314 /regex/match/227
875s ok 315 /regex/match/228
875s ok 316 /regex/match/229
875s ok 317 /regex/match/230
875s ok 318 /regex/match/231
875s ok 319 /regex/match/232
875s ok 320 /regex/match/233
875s ok 321 /regex/match/234
875s ok 322 /regex/match/235
875s ok 323 /regex/match/236
875s ok 324 /regex/match/237
875s ok 325 /regex/match/238
875s ok 326 /regex/match/239
875s ok 327 /regex/match/240
875s ok 328 /regex/match/241
875s ok 329 /regex/match/242
875s ok 330 /regex/match/243
875s ok 331 /regex/match/244
875s ok 332 /regex/match/245
875s ok 333 /regex/match/246
875s ok 334 /regex/match/247
875s ok 335 /regex/match/partial282
875s ok 336 /regex/match/partial283
875s ok 337 /regex/match/partial284
875s ok 338 /regex/match/partial285
875s ok 339 /regex/match/partial286
875s ok 340 /regex/match/partial287
875s ok 341 /regex/match/partial288
875s ok 342 /regex/match/partial289
875s ok 343 /regex/match/partial290
875s ok 344 /regex/match/partial291
875s ok 345 /regex/match/partial292
875s ok 346 /regex/match/partial293
875s ok 347 /regex/match/partial294
875s ok 348 /regex/match/partial295
875s ok 349 /regex/match/partial296
875s ok 350 /regex/match/partial297
875s ok 351 /regex/match/partial298
875s ok 352 /regex/match/partial299
875s ok 353 /regex/match/partial300
875s ok 354 /regex/match/partial301
875s ok 355 /regex/match/partial302
875s ok 356 /regex/match/partial303
875s # Start of next0 tests
875s ok 357 /regex/match/next0/248
875s ok 358 /regex/match/next0/249
875s ok 359 /regex/match/next0/250
875s ok 360 /regex/match/next0/251
875s # End of next0 tests
875s # Start of next1 tests
875s ok 361 /regex/match/next1/252
875s ok 362 /regex/match/next1/253
875s ok 363 /regex/match/next1/254
875s ok 364 /regex/match/next1/255
875s ok 365 /regex/match/next1/256
875s # End of next1 tests
875s # Start of next2 tests
875s ok 366 /regex/match/next2/257
875s ok 367 /regex/match/next2/258
875s ok 368 /regex/match/next2/259
875s ok 369 /regex/match/next2/260
875s ok 370 /regex/match/next2/261
875s ok 371 /regex/match/next2/262
875s ok 372 /regex/match/next2/263
875s ok 373 /regex/match/next2/264
875s # End of next2 tests
875s # Start of next3 tests
875s ok 374 /regex/match/next3/265
875s ok 375 /regex/match/next3/266
875s ok 376 /regex/match/next3/267
875s ok 377 /regex/match/next3/268
875s ok 378 /regex/match/next3/269
875s ok 379 /regex/match/next3/270
875s # End of next3 tests
875s # Start of next4 tests
875s ok 380 /regex/match/next4/271
875s # End of next4 tests
875s # Start of count tests
875s ok 381 /regex/match/count/272
875s ok 382 /regex/match/count/273
875s ok 383 /regex/match/count/274
875s ok 384 /regex/match/count/275
875s ok 385 /regex/match/count/276
875s ok 386 /regex/match/count/277
875s ok 387 /regex/match/count/278
875s ok 388 /regex/match/count/279
875s ok 389 /regex/match/count/280
875s ok 390 /regex/match/count/281
875s # End of count tests
875s # Start of count-optimized tests
875s ok 391 /regex/match/count-optimized/272
875s ok 392 /regex/match/count-optimized/273
875s ok 393 /regex/match/count-optimized/274
875s ok 394 /regex/match/count-optimized/275
875s ok 395 /regex/match/count-optimized/276
875s ok 396 /regex/match/count-optimized/277
875s ok 397 /regex/match/count-optimized/278
875s ok 398 /regex/match/count-optimized/279
875s ok 399 /regex/match/count-optimized/280
875s ok 400 /regex/match/count-optimized/281
875s # End of count-optimized tests
875s # Start of partial-optimized tests
875s ok 401 /regex/match/partial-optimized/282
875s ok 402 /regex/match/partial-optimized/283
875s ok 403 /regex/match/partial-optimized/284
875s ok 404 /regex/match/partial-optimized/285
875s ok 405 /regex/match/partial-optimized/286
875s ok 406 /regex/match/partial-optimized/287
875s ok 407 /regex/match/partial-optimized/288
875s ok 408 /regex/match/partial-optimized/289
875s ok 409 /regex/match/partial-optimized/290
875s ok 410 /regex/match/partial-optimized/291
875s ok 411 /regex/match/partial-optimized/292
875s ok 412 /regex/match/partial-optimized/293
875s ok 413 /regex/match/partial-optimized/294
875s ok 414 /regex/match/partial-optimized/295
875s ok 415 /regex/match/partial-optimized/296
875s ok 416 /regex/match/partial-optimized/297
875s ok 417 /regex/match/partial-optimized/298
875s ok 418 /regex/match/partial-optimized/299
875s ok 419 /regex/match/partial-optimized/300
875s ok 420 /regex/match/partial-optimized/301
875s ok 421 /regex/match/partial-optimized/302
875s ok 422 /regex/match/partial-optimized/303
875s # End of partial-optimized tests
875s # Start of subpattern tests
875s ok 423 /regex/match/subpattern/304
875s ok 424 /regex/match/subpattern/305
875s ok 425 /regex/match/subpattern/306
875s ok 426 /regex/match/subpattern/307
875s ok 427 /regex/match/subpattern/308
875s ok 428 /regex/match/subpattern/309
875s ok 429 /regex/match/subpattern/310
875s ok 430 /regex/match/subpattern/311
875s ok 431 /regex/match/subpattern/312
875s ok 432 /regex/match/subpattern/313
875s ok 433 /regex/match/subpattern/314
875s ok 434 /regex/match/subpattern/315
875s ok 435 /regex/match/subpattern/316
875s # Start of named tests
875s # Start of dupnames tests
875s ok 436 /regex/match/subpattern/named/dupnames/326
875s ok 437 /regex/match/subpattern/named/dupnames/327
875s ok 438 /regex/match/subpattern/named/dupnames/328
875s ok 439 /regex/match/subpattern/named/dupnames/329
875s ok 440 /regex/match/subpattern/named/dupnames/330
875s # End of dupnames tests
875s # End of named tests
875s # End of subpattern tests
875s # Start of subpattern-optimized tests
875s ok 441 /regex/match/subpattern-optimized/304
875s ok 442 /regex/match/subpattern-optimized/305
875s ok 443 /regex/match/subpattern-optimized/306
875s ok 444 /regex/match/subpattern-optimized/307
875s ok 445 /regex/match/subpattern-optimized/308
875s ok 446 /regex/match/subpattern-optimized/309
875s ok 447 /regex/match/subpattern-optimized/310
875s ok 448 /regex/match/subpattern-optimized/311
875s ok 449 /regex/match/subpattern-optimized/312
875s ok 450 /regex/match/subpattern-optimized/313
875s ok 451 /regex/match/subpattern-optimized/314
875s ok 452 /regex/match/subpattern-optimized/315
875s ok 453 /regex/match/subpattern-optimized/316
875s # End of subpattern-optimized tests
875s # Start of named tests
875s # Start of subpattern tests
875s ok 454 /regex/match/named/subpattern/317
875s ok 455 /regex/match/named/subpattern/318
875s ok 456 /regex/match/named/subpattern/319
875s ok 457 /regex/match/named/subpattern/320
875s ok 458 /regex/match/named/subpattern/321
875s ok 459 /regex/match/named/subpattern/322
875s ok 460 /regex/match/named/subpattern/323
875s ok 461 /regex/match/named/subpattern/324
875s ok 462 /regex/match/named/subpattern/325
875s ok 463 /regex/match/named/subpattern/331
875s ok 464 /regex/match/named/subpattern/332
875s ok 465 /regex/match/named/subpattern/333
875s ok 466 /regex/match/named/subpattern/334
875s ok 467 /regex/match/named/subpattern/335
875s # End of subpattern tests
875s # End of named tests
875s # End of match tests
875s # Start of match-optimized tests
875s ok 468 /regex/match-optimized/166
875s ok 469 /regex/match-optimized/167
875s ok 470 /regex/match-optimized/168
875s ok 471 /regex/match-optimized/169
875s ok 472 /regex/match-optimized/170
875s ok 473 /regex/match-optimized/171
875s ok 474 /regex/match-optimized/172
875s ok 475 /regex/match-optimized/173
875s ok 476 /regex/match-optimized/174
875s ok 477 /regex/match-optimized/175
875s ok 478 /regex/match-optimized/176
875s ok 479 /regex/match-optimized/177
875s ok 480 /regex/match-optimized/178
875s ok 481 /regex/match-optimized/179
875s ok 482 /regex/match-optimized/180
875s ok 483 /regex/match-optimized/181
875s ok 484 /regex/match-optimized/182
875s ok 485 /regex/match-optimized/183
875s ok 486 /regex/match-optimized/184
875s ok 487 /regex/match-optimized/185
875s ok 488 /regex/match-optimized/186
875s ok 489 /regex/match-optimized/187
875s ok 490 /regex/match-optimized/188
875s ok 491 /regex/match-optimized/189
875s ok 492 /regex/match-optimized/190
875s ok 493 /regex/match-optimized/191
875s ok 494 /regex/match-optimized/192
875s ok 495 /regex/match-optimized/193
875s ok 496 /regex/match-optimized/194
875s ok 497 /regex/match-optimized/195
875s ok 498 /regex/match-optimized/196
875s ok 499 /regex/match-optimized/197
875s ok 500 /regex/match-optimized/198
875s ok 501 /regex/match-optimized/199
875s ok 502 /regex/match-optimized/200
875s ok 503 /regex/match-optimized/201
875s ok 504 /regex/match-optimized/202
875s ok 505 /regex/match-optimized/203
875s ok 506 /regex/match-optimized/204
875s ok 507 /regex/match-optimized/205
875s ok 508 /regex/match-optimized/206
875s ok 509 /regex/match-optimized/207
875s ok 510 /regex/match-optimized/208
875s ok 511 /regex/match-optimized/209
875s ok 512 /regex/match-optimized/210
875s ok 513 /regex/match-optimized/211
875s ok 514 /regex/match-optimized/212
875s ok 515 /regex/match-optimized/213
875s ok 516 /regex/match-optimized/214
875s ok 517 /regex/match-optimized/215
875s ok 518 /regex/match-optimized/216
875s ok 519 /regex/match-optimized/217
875s ok 520 /regex/match-optimized/218
875s ok 521 /regex/match-optimized/219
875s ok 522 /regex/match-optimized/220
875s ok 523 /regex/match-optimized/221
875s ok 524 /regex/match-optimized/222
875s ok 525 /regex/match-optimized/223
875s ok 526 /regex/match-optimized/224
875s ok 527 /regex/match-optimized/225
875s ok 528 /regex/match-optimized/226
875s ok 529 /regex/match-optimized/227
875s ok 530 /regex/match-optimized/228
875s ok 531 /regex/match-optimized/229
875s ok 532 /regex/match-optimized/230
875s ok 533 /regex/match-optimized/231
875s ok 534 /regex/match-optimized/232
875s ok 535 /regex/match-optimized/233
875s ok 536 /regex/match-optimized/234
875s ok 537 /regex/match-optimized/235
875s ok 538 /regex/match-optimized/236
875s ok 539 /regex/match-optimized/237
875s ok 540 /regex/match-optimized/238
875s ok 541 /regex/match-optimized/239
875s ok 542 /regex/match-optimized/240
875s ok 543 /regex/match-optimized/241
875s ok 544 /regex/match-optimized/242
875s ok 545 /regex/match-optimized/243
875s ok 546 /regex/match-optimized/244
875s ok 547 /regex/match-optimized/245
875s ok 548 /regex/match-optimized/246
875s ok 549 /regex/match-optimized/247
875s # End of match-optimized tests
875s # Start of fetch-all0 tests
875s ok 550 /regex/fetch-all0/336
875s ok 551 /regex/fetch-all0/337
875s # End of fetch-all0 tests
875s # Start of fetch-all1 tests
875s ok 552 /regex/fetch-all1/338
875s ok 553 /regex/fetch-all1/339
875s ok 554 /regex/fetch-all1/340
875s # End of fetch-all1 tests
875s # Start of fetch-all2 tests
875s ok 555 /regex/fetch-all2/341
875s ok 556 /regex/fetch-all2/342
875s ok 557 /regex/fetch-all2/343
875s # End of fetch-all2 tests
875s # Start of fetch-all3 tests
875s ok 558 /regex/fetch-all3/344
875s ok 559 /regex/fetch-all3/345
875s ok 560 /regex/fetch-all3/346
875s ok 561 /regex/fetch-all3/347
875s ok 562 /regex/fetch-all3/348
875s # End of fetch-all3 tests
875s # Start of split tests
875s # Start of simple0 tests
875s ok 563 /regex/split/simple0/349
875s ok 564 /regex/split/simple0/350
875s ok 565 /regex/split/simple0/365
875s ok 566 /regex/split/simple0/366
875s # End of simple0 tests
875s # Start of simple1 tests
875s ok 567 /regex/split/simple1/351
875s ok 568 /regex/split/simple1/352
875s # End of simple1 tests
875s # Start of simple2 tests
875s ok 569 /regex/split/simple2/353
875s ok 570 /regex/split/simple2/359
875s ok 571 /regex/split/simple2/361
875s # End of simple2 tests
875s # Start of simple3 tests
875s ok 572 /regex/split/simple3/354
875s ok 573 /regex/split/simple3/355
875s ok 574 /regex/split/simple3/356
875s ok 575 /regex/split/simple3/357
875s ok 576 /regex/split/simple3/358
875s ok 577 /regex/split/simple3/360
875s ok 578 /regex/split/simple3/362
875s ok 579 /regex/split/simple3/363
875s ok 580 /regex/split/simple3/364
875s # End of simple3 tests
875s # End of split tests
875s # Start of split0 tests
875s ok 581 /regex/split0/367
875s ok 582 /regex/split0/369
875s # End of split0 tests
875s # Start of full-split0 tests
875s ok 583 /regex/full-split0/368
875s ok 584 /regex/full-split0/370
875s ok 585 /regex/full-split0/371
875s ok 586 /regex/full-split0/372
875s ok 587 /regex/full-split0/373
875s # End of full-split0 tests
875s # Start of split1 tests
875s ok 588 /regex/split1/374
875s ok 589 /regex/split1/377
875s # End of split1 tests
875s # Start of full-split1 tests
875s ok 590 /regex/full-split1/375
875s ok 591 /regex/full-split1/376
875s ok 592 /regex/full-split1/378
875s ok 593 /regex/full-split1/379
875s ok 594 /regex/full-split1/405
875s # End of full-split1 tests
875s # Start of split2 tests
875s ok 595 /regex/split2/380
875s ok 596 /regex/split2/384
875s ok 597 /regex/split2/396
875s # End of split2 tests
875s # Start of full-split2 tests
875s ok 598 /regex/full-split2/381
875s ok 599 /regex/full-split2/382
875s ok 600 /regex/full-split2/383
875s ok 601 /regex/full-split2/385
875s ok 602 /regex/full-split2/397
875s ok 603 /regex/full-split2/400
875s ok 604 /regex/full-split2/406
875s # End of full-split2 tests
875s # Start of split3 tests
875s ok 605 /regex/split3/386
875s ok 606 /regex/split3/388
875s ok 607 /regex/split3/390
875s ok 608 /regex/split3/392
875s ok 609 /regex/split3/394
875s ok 610 /regex/split3/398
875s ok 611 /regex/split3/401
875s ok 612 /regex/split3/403
875s # End of split3 tests
875s # Start of full-split3 tests
875s ok 613 /regex/full-split3/387
875s ok 614 /regex/full-split3/389
875s ok 615 /regex/full-split3/391
875s ok 616 /regex/full-split3/393
875s ok 617 /regex/full-split3/395
875s ok 618 /regex/full-split3/399
875s ok 619 /regex/full-split3/402
875s ok 620 /regex/full-split3/404
875s ok 621 /regex/full-split3/407
875s ok 622 /regex/full-split3/408
875s # End of full-split3 tests
875s # Start of check-repacement tests
875s ok 623 /regex/check-repacement/409
875s ok 624 /regex/check-repacement/410
875s ok 625 /regex/check-repacement/411
875s ok 626 /regex/check-repacement/412
875s ok 627 /regex/check-repacement/413
875s ok 628 /regex/check-repacement/414
875s ok 629 /regex/check-repacement/415
875s ok 630 /regex/check-repacement/416
875s # End of check-repacement tests
875s # Start of expand tests
875s ok 631 /regex/expand/417
875s ok 632 /regex/expand/418
875s ok 633 /regex/expand/419
875s ok 634 /regex/expand/420
875s ok 635 /regex/expand/421
875s ok 636 /regex/expand/422
875s ok 637 /regex/expand/423
875s ok 638 /regex/expand/424
875s ok 639 /regex/expand/425
875s ok 640 /regex/expand/426
875s ok 641 /regex/expand/427
875s ok 642 /regex/expand/428
875s ok 643 /regex/expand/429
875s ok 644 /regex/expand/430
875s ok 645 /regex/expand/431
875s ok 646 /regex/expand/432
875s ok 647 /regex/expand/433
875s ok 648 /regex/expand/434
875s ok 649 /regex/expand/435
875s ok 650 /regex/expand/436
875s ok 651 /regex/expand/437
875s ok 652 /regex/expand/438
875s ok 653 /regex/expand/439
875s ok 654 /regex/expand/440
875s ok 655 /regex/expand/441
875s ok 656 /regex/expand/442
875s ok 657 /regex/expand/443
875s ok 658 /regex/expand/444
875s ok 659 /regex/expand/445
875s ok 660 /regex/expand/446
875s ok 661 /regex/expand/447
875s ok 662 /regex/expand/448
875s ok 663 /regex/expand/449
875s ok 664 /regex/expand/450
875s ok 665 /regex/expand/451
875s ok 666 /regex/expand/452
875s ok 667 /regex/expand/453
875s ok 668 /regex/expand/454
875s ok 669 /regex/expand/455
875s ok 670 /regex/expand/456
875s ok 671 /regex/expand/457
875s ok 672 /regex/expand/458
875s ok 673 /regex/expand/459
875s ok 674 /regex/expand/460
875s ok 675 /regex/expand/461
875s ok 676 /regex/expand/462
875s ok 677 /regex/expand/463
875s ok 678 /regex/expand/464
875s ok 679 /regex/expand/465
875s ok 680 /regex/expand/466
875s ok 681 /regex/expand/467
875s ok 682 /regex/expand/468
875s ok 683 /regex/expand/469
875s ok 684 /regex/expand/470
875s ok 685 /regex/expand/471
875s ok 686 /regex/expand/472
875s ok 687 /regex/expand/473
875s ok 688 /regex/expand/474
875s ok 689 /regex/expand/475
875s ok 690 /regex/expand/476
875s ok 691 /regex/expand/477
875s ok 692 /regex/expand/478
875s ok 693 /regex/expand/479
875s ok 694 /regex/expand/480
875s ok 695 /regex/expand/481
875s ok 696 /regex/expand/482
875s # End of expand tests
875s # Start of replace tests
875s ok 697 /regex/replace/483
875s ok 698 /regex/replace/484
875s ok 699 /regex/replace/485
875s ok 700 /regex/replace/486
875s ok 701 /regex/replace/487
875s ok 702 /regex/replace/488
875s ok 703 /regex/replace/489
875s ok 704 /regex/replace/490
875s ok 705 /regex/replace/491
875s ok 706 /regex/replace/492
875s ok 707 /regex/replace/493
875s ok 708 /regex/replace/494
875s ok 709 /regex/replace/495
875s ok 710 /regex/replace/496
875s ok 711 /regex/replace/497
875s ok 712 /regex/replace/498
875s ok 713 /regex/replace/499
875s ok 714 /regex/replace/500
875s ok 715 /regex/replace/501
875s ok 716 /regex/replace/502
875s ok 717 /regex/replace/503
875s ok 718 /regex/replace/504
875s ok 719 /regex/replace/505
875s ok 720 /regex/replace/506
875s ok 721 /regex/replace/507
875s ok 722 /regex/replace/508
875s ok 723 /regex/replace/509
875s ok 724 /regex/replace/510
875s # End of replace tests
875s # Start of replace-optimized tests
875s ok 725 /regex/replace-optimized/483
875s ok 726 /regex/replace-optimized/484
875s ok 727 /regex/replace-optimized/485
875s ok 728 /regex/replace-optimized/486
875s ok 729 /regex/replace-optimized/487
875s ok 730 /regex/replace-optimized/488
875s ok 731 /regex/replace-optimized/489
875s ok 732 /regex/replace-optimized/490
875s ok 733 /regex/replace-optimized/491
875s ok 734 /regex/replace-optimized/492
875s ok 735 /regex/replace-optimized/493
875s ok 736 /regex/replace-optimized/494
875s ok 737 /regex/replace-optimized/495
875s ok 738 /regex/replace-optimized/496
875s ok 739 /regex/replace-optimized/497
875s ok 740 /regex/replace-optimized/498
875s ok 741 /regex/replace-optimized/499
875s ok 742 /regex/replace-optimized/500
875s ok 743 /regex/replace-optimized/501
875s ok 744 /regex/replace-optimized/502
875s ok 745 /regex/replace-optimized/503
875s ok 746 /regex/replace-optimized/504
875s ok 747 /regex/replace-optimized/505
875s ok 748 /regex/replace-optimized/506
875s ok 749 /regex/replace-optimized/507
875s ok 750 /regex/replace-optimized/508
875s ok 751 /regex/replace-optimized/509
875s ok 752 /regex/replace-optimized/510
875s # End of replace-optimized tests
875s # Start of replace-literally tests
875s ok 753 /regex/replace-literally/511
875s ok 754 /regex/replace-literally/512
875s ok 755 /regex/replace-literally/513
875s ok 756 /regex/replace-literally/514
875s ok 757 /regex/replace-literally/515
875s ok 758 /regex/replace-literally/516
875s ok - glib/regex.test
875s # Running test: glib/struct-info.test
875s ok - glib/struct-info.test
875s # Running test: glib/object.test
875s ok - glib/object.test
875s ok 759 /regex/replace-literally/517
875s ok 760 /regex/replace-literally/518
875s ok 761 /regex/replace-literally/519
875s ok 762 /regex/replace-literally/520
875s ok 763 /regex/replace-literally/521
875s ok 764 /regex/replace-literally/522
875s ok 765 /regex/replace-literally/523
875s ok 766 /regex/replace-literally/524
875s ok 767 /regex/replace-literally/525
875s ok 768 /regex/replace-literally/526
875s ok 769 /regex/replace-literally/527
875s ok 770 /regex/replace-literally/528
875s ok 771 /regex/replace-literally/529
875s ok 772 /regex/replace-literally/530
875s # End of replace-literally tests
875s # Start of string-number tests
875s ok 773 /regex/string-number/531
875s ok 774 /regex/string-number/532
875s ok 775 /regex/string-number/533
875s ok 776 /regex/string-number/534
875s ok 777 /regex/string-number/535
875s ok 778 /regex/string-number/536
875s ok 779 /regex/string-number/537
875s ok 780 /regex/string-number/538
875s ok 781 /regex/string-number/539
875s ok 782 /regex/string-number/540
875s ok 783 /regex/string-number/541
875s ok 784 /regex/string-number/542
875s ok 785 /regex/string-number/543
875s ok 786 /regex/string-number/544
875s ok 787 /regex/string-number/545
875s # End of string-number tests
875s # Start of escape_nul tests
875s ok 788 /regex/escape_nul/546
875s ok 789 /regex/escape_nul/547
875s ok 790 /regex/escape_nul/548
875s ok 791 /regex/escape_nul/549
875s ok 792 /regex/escape_nul/550
875s ok 793 /regex/escape_nul/551
875s ok 794 /regex/escape_nul/552
875s ok 795 /regex/escape_nul/553
875s ok 796 /regex/escape_nul/554
875s ok 797 /regex/escape_nul/555
875s ok 798 /regex/escape_nul/556
875s ok 799 /regex/escape_nul/557
875s ok 800 /regex/escape_nul/558
875s ok 801 /regex/escape_nul/559
875s ok 802 /regex/escape_nul/560
875s # End of escape_nul tests
875s # Start of escape tests
875s ok 803 /regex/escape/561
875s ok 804 /regex/escape/562
875s ok 805 /regex/escape/563
875s ok 806 /regex/escape/564
875s ok 807 /regex/escape/565
875s ok 808 /regex/escape/566
875s ok 809 /regex/escape/567
875s ok 810 /regex/escape/568
875s ok 811 /regex/escape/569
875s ok 812 /regex/escape/570
875s ok 813 /regex/escape/571
875s ok 814 /regex/escape/572
875s ok 815 /regex/escape/573
875s ok 816 /regex/escape/574
875s ok 817 /regex/escape/575
875s ok 818 /regex/escape/576
875s ok 819 /regex/escape/577
875s ok 820 /regex/escape/578
875s # End of escape tests
875s # Start of match-all0 tests
875s ok 821 /regex/match-all0/579
875s ok 822 /regex/match-all0/581
875s # End of match-all0 tests
875s # Start of match-all-full0 tests
875s ok 823 /regex/match-all-full0/580
875s ok 824 /regex/match-all-full0/582
875s ok 825 /regex/match-all-full0/583
875s ok 826 /regex/match-all-full0/584
875s # End of match-all-full0 tests
875s # Start of match-all1 tests
875s ok 827 /regex/match-all1/585
875s ok 828 /regex/match-all1/587
875s ok 829 /regex/match-all1/592
875s # End of match-all1 tests
875s # Start of match-all-full1 tests
875s ok 830 /regex/match-all-full1/586
875s ok 831 /regex/match-all-full1/588
875s ok 832 /regex/match-all-full1/589
875s ok 833 /regex/match-all-full1/590
875s ok 834 /regex/match-all-full1/591
875s ok 835 /regex/match-all-full1/593
875s # End of match-all-full1 tests
875s # Start of match-all2 tests
875s ok 836 /regex/match-all2/594
875s ok 837 /regex/match-all2/596
875s ok 838 /regex/match-all2/598
875s # End of match-all2 tests
875s # Start of match-all-full2 tests
875s ok 839 /regex/match-all-full2/595
875s ok 840 /regex/match-all-full2/597
875s ok 841 /regex/match-all-full2/599
875s # End of match-all-full2 tests
875s # Start of match-all3 tests
875s ok 842 /regex/match-all3/600
875s ok 843 /regex/match-all3/602
875s # End of match-all3 tests
875s # Start of match-all-full3 tests
875s ok 844 /regex/match-all-full3/601
875s ok 845 /regex/match-all-full3/603
875s # End of match-all-full3 tests
875s # Start of match-notempty tests
875s ok 846 /regex/match-notempty/604
875s # End of match-notempty tests
875s # Start of match-notempty-optimized tests
875s ok 847 /regex/match-notempty-optimized/604
875s # End of match-notempty-optimized tests
875s # Start of match-notempty-atstart tests
875s ok 848 /regex/match-notempty-atstart/605
875s # End of match-notempty-atstart tests
875s # Start of match-notempty-atstart-optimized tests
875s ok 849 /regex/match-notempty-atstart-optimized/605
875s # End of match-notempty-atstart-optimized tests
875s # End of regex tests
875s TAP version 14
875s # random seed: R02S057afe4fa2476920138c6e0d92b158f7
875s 1..4
875s # Start of struct-info tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XZ2HK3/struct-info/field-iterators/.dirs/runtime
875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
875s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field()
875s ok 1 /struct-info/field-iterators
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XZ2HK3/struct-info/sizeof-gvalue/.dirs/runtime
875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
875s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue
875s ok 2 /struct-info/sizeof-gvalue
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XZ2HK3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime
875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
875s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer()
875s ok 3 /struct-info/is-pointer-for-struct-method-arg
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_XZ2HK3/struct-info/boxed/.dirs/runtime
875s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
875s # /struct-info/boxed summary: Test that a boxed struct is recognised as such
875s ok 4 /struct-info/boxed
875s # End of struct-info tests
875s TAP version 14
875s # random seed: R02S8effc5da1d010d413003bffea70297cc
875s 1..2
875s # Start of object tests
875s # Start of constructor tests
875s ok 1 /object/constructor/singleton
875s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings
875s # End of constructor tests
875s # End of object tests
875s TAP version 14
875s # random seed: R02S4ae3e29ea7a084e2775a70c9f2ff1b24
875s 1..1
875s # Start of portal-support tests
875s # Start of flatpak tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/runtime
875s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_90ZHK3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info
875s ok 1 /portal-support/flatpak/full
875s # End of flatpak tests
875s # End of portal-support tests
875s TAP version 14
875s # random seed: R02Se2dcbd35b3a78dc881ed4382dd87c967
875s 1..1
875s # Start of include tests
875s ok 1 /include/rwlock
875s # End of include tests
875s TAP version 14
875s # random seed: R02S06cc9a0ab4615424106f10f9aa357f6e
875s 1..1
875s # Start of gobject tests
875s # Start of refcount tests
875s ok 1 /gobject/refcount/properties-4
875s # End of refcount tests
875s # End of gobject tests
875s TAP version 14
875s # random seed: R02S952787a539f306ab364b8bcd2f1f7ee0
875s 1..1
875s # Start of completion tests
875s ok 1 /completion/test-completion
875s # End of completion tests
875s TAP version 14
875s # random seed: R02S04c38dbbcf82629b488a7e87ce604969
875s 1..12
875s # Start of gdbus tests
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/.dirs/runtime
875s # Testing with unix:dir address
875s # Testing with unix:tmpdir address
875s # Testing with unix:path address
875s # Running test: glib/portal-support-flatpak-full.test
875s ok - glib/portal-support-flatpak-full.test
875s # Running test: glib/include.test
875s ok - glib/include.test
875s # Running test: glib/properties-refcount4.test
875s ok - glib/properties-refcount4.test
875s # Running test: glib/completion.test
875s ok - glib/completion.test
875s # Running test: glib/gdbus-peer.test
875s ok 1 /gdbus/peer-to-peer
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/delayed-message-processing/.dirs/runtime
875s # Testing with unix:dir address
876s ok 2 /gdbus/delayed-message-processing
876s # slow test /gdbus/delayed-message-processing executed in 0.50 secs
876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/home
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/cache
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/system-config2
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/config
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/system-data2
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/data
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/state
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/nonce-tcp/.dirs/runtime
876s ok 3 /gdbus/nonce-tcp
876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/home
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/cache
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/system-config2
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/config
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/system-data2
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/data
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/state
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/tcp-anonymous/.dirs/runtime
876s ok 4 /gdbus/tcp-anonymous
876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/home
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/cache
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/system-config2
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/config
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/system-data2
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/data
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/state
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/credentials/.dirs/runtime
876s ok 5 /gdbus/credentials
876s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/home
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/cache
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/system-config2
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/config
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/system-data2
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/data
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/state
876s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/codegen-peer-to-peer/.dirs/runtime
876s # Testing with unix:dir address
876s # Machine ID: 06d28ac90022475bb88655edad5ccb29
877s # Executing: glib/gdbus-peer.test
877s ok 6 /gdbus/codegen-peer-to-peer
877s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs
877s # Start of peer-to-peer tests
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/signals/.dirs/runtime
877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620
877s # Testing with unix:dir address
877s ok 7 /gdbus/peer-to-peer/signals
877s # Start of invalid tests
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/server/.dirs/runtime
877s ok 8 /gdbus/peer-to-peer/invalid/server
877s # Start of conn tests
877s # Start of stream tests
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime
877s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2
877s ok - glib/gdbus-peer.test
877s # Running test: glib/gdbus-address-get-session.test
877s ok - glib/gdbus-address-get-session.test
877s # Running test: glib/power-profile-monitor-portal.test
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime
877s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync
877s # End of stream tests
877s # Start of addr tests
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime
877s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_0KIIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime
877s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync
877s # End of addr tests
877s # End of conn tests
877s # End of invalid tests
877s # End of peer-to-peer tests
877s # End of gdbus tests
877s TAP version 14
877s # random seed: R02S8828966aae8a2ba28dd4444deb508c0d
877s 1..2
877s # Start of gdbus tests
877s ok 1 /gdbus/x11-autolaunch
877s ok 2 /gdbus/xdg-runtime
877s # End of gdbus tests
877s TAP version 13
877s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available
877s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available
877s 1..2
877s ok - glib/power-profile-monitor-portal.test
877s # Running test: glib/rand.test
877s TAP version 14
877s # random seed: R02Sb510df9a51a428f48378b27b824e0625
877s 1..2
877s # Start of rand tests
877s ok - glib/rand.test
877s # Running test: glib/fileutils.test
877s ok 1 /rand/test-rand
877s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560
877s ok 2 /rand/double-range
877s # End of rand tests
877s TAP version 14
877s # random seed: R02S005f9ca7ba206dd3c610b67975bc0ddd
877s 1..27
877s # Start of fileutils tests
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/paths/.dirs/runtime
877s ok 1 /fileutils/paths
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/build-path/.dirs/runtime
877s ok 2 /fileutils/build-path
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/build-pathv/.dirs/runtime
877s ok 3 /fileutils/build-pathv
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/build-filename/.dirs/runtime
877s ok 4 /fileutils/build-filename
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/build-filenamev/.dirs/runtime
877s ok 5 /fileutils/build-filenamev
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents/.dirs/runtime
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s # Checking g_mkdir_with_parents() in subdir ./hum/
877s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/
877s ok 6 /fileutils/mkdir-with-parents
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/mkdir-with-parents-permission/.dirs/runtime
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s ok 7 /fileutils/mkdir-with-parents-permission
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/format-size-for-display/.dirs/runtime
877s ok 8 /fileutils/format-size-for-display
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/errors/.dirs/runtime
877s ok 9 /fileutils/errors
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/basename/.dirs/runtime
877s ok 10 /fileutils/basename
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/get-basename/.dirs/runtime
877s ok 11 /fileutils/get-basename
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/dirname/.dirs/runtime
877s ok 12 /fileutils/dirname
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/dir-make-tmp/.dirs/runtime
877s ok 13 /fileutils/dir-make-tmp
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/file-open-tmp/.dirs/runtime
877s ok 14 /fileutils/file-open-tmp
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/file-test/.dirs/runtime
877s ok 15 /fileutils/file-test
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/mkstemp/.dirs/runtime
877s ok 16 /fileutils/mkstemp
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/mkdtemp/.dirs/runtime
877s ok 17 /fileutils/mkdtemp
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents/.dirs/runtime
877s ok 18 /fileutils/get-contents
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/get-contents-large-file/.dirs/runtime
877s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents/.dirs/runtime
877s ok 20 /fileutils/set-contents
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/.dirs/runtime
877s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags
877s # Flags 0 and test 0
877s # Flags 0 and test 1
877s # Flags 0 and test 2
877s # Flags 0 and test 3
877s # Flags 0 and test 4
877s # Flags 0 and test 5
877s # Flags 0 and test 6
877s # Flags 1 and test 0
877s # Flags 1 and test 1
877s # Flags 1 and test 2
877s # Flags 1 and test 3
877s # Flags 1 and test 4
877s # Flags 1 and test 5
877s # Flags 1 and test 6
877s # Flags 2 and test 0
877s # Flags 2 and test 1
877s # Flags 2 and test 2
877s # Flags 2 and test 3
877s # Flags 2 and test 4
877s # Flags 2 and test 5
877s # Flags 2 and test 6
877s # Flags 3 and test 0
877s # Flags 3 and test 1
877s # Flags 3 and test 2
877s # Flags 3 and test 3
877s # Flags 3 and test 4
877s # Flags 3 and test 5
877s # Flags 3 and test 6
877s # Flags 4 and test 0
877s # Flags 4 and test 1
877s # Flags 4 and test 2
877s # Flags 4 and test 3
877s # Flags 4 and test 4
877s # Flags 4 and test 5
877s # Flags 4 and test 6
877s # Flags 5 and test 0
877s # Flags 5 and test 1
877s # Flags 5 and test 2
877s # Flags 5 and test 3
877s # Flags 5 and test 4
877s # Flags 5 and test 5
877s # Flags 5 and test 6
877s # Flags 6 and test 0
877s # Flags 6 and test 1
877s # Flags 6 and test 2
877s # Flags 6 and test 3
877s # Flags 6 and test 4
877s # Flags 6 and test 5
877s # Flags 6 and test 6
877s ok 21 /fileutils/set-contents-full
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/read-link/.dirs/runtime
877s ok 22 /fileutils/read-link
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/stdio-wrappers/.dirs/runtime
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s ok 23 /fileutils/stdio-wrappers
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/fopen-modes/.dirs/runtime
877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119
877s # Testing fopen() mode 'w'
877s # Testing fopen() mode 'r'
877s # Testing fopen() mode 'a'
877s # Testing fopen() mode 'w+'
877s # Testing fopen() mode 'r+'
877s # Testing fopen() mode 'a+'
877s # Testing fopen() mode 'wb'
877s # Testing fopen() mode 'rb'
877s # Testing fopen() mode 'ab'
877s # Testing fopen() mode 'w+b'
877s # Testing fopen() mode 'r+b'
877s # Testing fopen() mode 'a+b'
877s # Testing fopen() mode 'wb+'
877s # Testing fopen() mode 'rb+'
877s # Testing fopen() mode 'ab+'
877s # Testing fopen() mode 'we'
877s # Testing fopen() mode 're'
877s # Testing fopen() mode 'ae'
877s # Testing fopen() mode 'w+e'
877s # Testing fopen() mode 'r+e'
877s # Testing fopen() mode 'a+e'
877s # Testing fopen() mode 'wbe'
877s # Testing fopen() mode 'rbe'
877s # Testing fopen() mode 'abe'
877s # Testing fopen() mode 'w+be'
877s # Testing fopen() mode 'r+be'
877s # Testing fopen() mode 'a+be'
877s # Testing fopen() mode 'wb+e'
877s # Testing fopen() mode 'rb+e'
877s # Testing fopen() mode 'ab+e'
877s # Testing fopen() mode 'web'
877s # Testing fopen() mode 'reb'
877s # Testing fopen() mode 'aeb'
877s # Testing fopen() mode 'w+eb'
877s # Testing fopen() mode 'r+eb'
877s # Testing fopen() mode 'a+eb'
877s # Testing fopen() mode 'web+'
877s # Testing fopen() mode 'reb+'
877s # Testing fopen() mode 'aeb+'
877s ok 24 /fileutils/fopen-modes
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/clear-fd/.dirs/runtime
877s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd
877s # Will be closed by autocleanup: 3, -42
877s # Testing error handling
877s ok 25 /fileutils/clear-fd
877s # Start of set-contents-full tests
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-file/.dirs/runtime
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file
877s ok 26 /fileutils/set-contents-full/read-only-file
877s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/home
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/cache
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/config
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/data
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/state
877s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DQ0MK3/fileutils/set-contents-full/read-only-directory/.dirs/runtime
877s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory
877s # Flags 0
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s # Flags 1
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s # Flags 2
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s # Flags 3
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s # Flags 4
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s # Flags 5
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s ok - glib/fileutils.test
877s # Running test: glib/unix.test
877s # Flags 6
877s # We do not have CAP_DAC_OVERRIDE or equivalent
877s ok 27 /fileutils/set-contents-full/read-only-directory
877s # End of set-contents-full tests
877s # Start of clear-fd tests
877s # Start of subprocess tests
877s # End of subprocess tests
877s # End of clear-fd tests
877s # End of fileutils tests
877s Unable to clean up temporary directory /tmp/test_fileutils_DQ0MK3/glib-file-set-contents-full-rodir-FZZIK3: Directory not empty
877s Unable to clean up temporary directory /tmp/test_fileutils_DQ0MK3/glib-file-set-contents-full-rodir-CX1IK3: Directory not empty
877s Unable to clean up temporary directory /tmp/test_fileutils_DQ0MK3/glib-file-set-contents-full-rodir-S6JJK3: Directory not empty
877s Unable to clean up temporary directory /tmp/test_fileutils_DQ0MK3/glib-file-set-contents-full-rodir-SJ0IK3: Directory not empty
877s Unable to clean up temporary directory /tmp/test_fileutils_DQ0MK3/glib-file-set-contents-full-rodir-1RWIK3: Directory not empty
877s Unable to clean up temporary directory /tmp/test_fileutils_DQ0MK3/glib-file-set-contents-full-rodir-7YXIK3: Directory not empty
877s Unable to clean up temporary directory /tmp/test_fileutils_DQ0MK3/glib-file-set-contents-full-rodir-CJYIK3: Directory not empty
877s Unable to clean up temporary directory /tmp/test_fileutils_DQ0MK3: Directory not empty
877s TAP version 14
877s # random seed: R02Sdf1f7582937af8b423cc531a707f7efb
877s 1..20
877s # Start of glib-unix tests
877s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec()
877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247
877s ok 1 /glib-unix/closefrom
877s ok 2 /glib-unix/pipe
877s # /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
877s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795
877s ok 3 /glib-unix/pipe-stdio-overwrite
877s # /glib-unix/pipe-struct summary: Test GUnixPipe structure
877s ok 4 /glib-unix/pipe-struct
877s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe)
877s ok 5 /glib-unix/pipe-struct-auto
877s ok 6 /glib-unix/error
877s ok 7 /glib-unix/nonblocking
878s ok 8 /glib-unix/sighup
878s # slow test /glib-unix/sighup executed in 0.50 secs
878s ok 9 /glib-unix/sigterm
878s # slow test /glib-unix/sigterm executed in 0.50 secs
879s ok 10 /glib-unix/sighup_again
879s # slow test /glib-unix/sighup_again executed in 0.50 secs
879s ok 11 /glib-unix/sighup_add_remove
879s ok 12 /glib-unix/sighup_nested
881s ok 13 /glib-unix/callback_after_signal
881s # slow test /glib-unix/callback_after_signal executed in 2.00 secs
881s ok 14 /glib-unix/child-wait
881s # Start of closefrom tests
881s # Start of subprocess tests
881s # End of subprocess tests
881s # End of closefrom tests
881s # Start of pipe tests
881s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe()
881s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459
881s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
881s ok 15 /glib-unix/pipe/fd-cloexec
881s # End of pipe tests
881s # Start of sighup tests
882s # Executing: glib/unix.test
882s ok 16 /glib-unix/sighup/alternate-stack
882s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs
882s # End of sighup tests
882s # Start of sigterm tests
883s ok 17 /glib-unix/sigterm/alternate-stack
883s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs
883s # End of sigterm tests
883s # Start of sighup_again tests
884s ok 18 /glib-unix/sighup_again/alternate-stack
884s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs
884s # End of sighup_again tests
884s # Start of get-passwd-entry tests
884s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username.
884s ok 19 /glib-unix/get-passwd-entry/root
884s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username.
884s ok 20 /glib-unix/get-passwd-entry/nonexistent
884s # End of get-passwd-entry tests
884s # End of glib-unix tests
884s ok - glib/unix.test
884s # Running test: glib/gdbus-subscribe.test
884s TAP version 14
884s # random seed: R02Sba60ac86e066ae0588c500a9f96f6a7e
884s 1..24
884s # Start of gdbus tests
884s # Start of subscribe tests
884s # Start of conn tests
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/simple/.dirs/runtime
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it
884s # Step 0: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 1: adding subscription
884s # Sender: (any)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 2: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 2
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 1 /gdbus/subscribe/conn/simple
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
884s # Step 0: adding subscription
884s # Sender: (any)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: service 2
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 3: emitting signal
884s # Sender: service
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 4: emitting signal
884s # Sender: service 2
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 1
884s # Signal received from service 2 :1.2
884s # Signal received from service 2 :1.2 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 2
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 3
884s # Signal received from service 2 :1.2
884s # Signal received from service 2 :1.2 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/match_twice/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription
884s # Step 0: adding subscription
884s # Sender: service :1.1
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 1: adding subscription
884s # Sender: (any)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: (any)
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 2: adding subscription
884s # Sender: (any)
884s # Path: (any)
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 3: adding subscription
884s # Sender: service :1.1
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 4: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 3 /gdbus/subscribe/conn/match_twice
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
884s # Step 0: adding subscription
884s # Sender: service :1.1
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 3: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 3
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 4 /gdbus/subscribe/conn/limit_by_unique_name
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
884s # Step 0: adding subscription
884s # Sender: :0.this.had.better.not.exist
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /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
884s # Step 0: claiming bus name
884s # Name: org.gtk.Test.AlreadyOwned
884s # Owner: service
884s # Step 1: adding subscription
884s # Sender: org.gtk.Test.AlreadyOwned
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 2: adding subscription
884s # Sender: org.gtk.Test.OwnedLater
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 3: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 4: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 5: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 6: claiming bus name
884s # Name: org.gtk.Test.OwnedLater
884s # Owner: service
884s # Step 7: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 5
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 7
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 7
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
884s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
884s # Step 0: adding subscription
884s # Sender: org.freedesktop.DBus
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # String argument 0: would I lie to you?
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # Waiting for signal to reach message bus
884s # Step 3: claiming bus name
884s # Name: org.gtk.Test.OwnedLater
884s # Owner: service
884s # Signal received from message bus org.freedesktop.DBus
884s # Signal received from (unused) org.freedesktop.DBus via connection
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
884s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 7 /gdbus/subscribe/conn/limit_to_message_bus
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
884s # Step 0: claiming bus name
884s # Name: org.gtk.Test.AlreadyOwned
884s # Owner: service
884s # Step 1: adding subscription
884s # Sender: org.gtk.Test.AlreadyOwned
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Immediately unsubscribing
884s # Waiting for AddMatch to be processed
884s # Step 2: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately
884s # End of conn tests
884s # Start of proxy tests
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/simple/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it
884s # Step 0: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 1: adding subscription
884s # Sender: (any)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Cannot subscribe via proxy: no bus name
884s # Waiting for AddMatch to be processed
884s # Step 2: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 9 /gdbus/subscribe/proxy/simple
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
884s # Step 0: adding subscription
884s # Sender: (any)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Cannot subscribe via proxy: no bus name
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: service 2
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 3: emitting signal
884s # Sender: service
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 4: emitting signal
884s # Sender: service 2
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/match_twice/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription
884s # Step 0: adding subscription
884s # Sender: service :1.1
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 1: adding subscription
884s # Sender: (any)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: (any)
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Cannot subscribe via proxy: no bus name
884s # Waiting for AddMatch to be processed
884s # Step 2: adding subscription
884s # Sender: (any)
884s # Path: (any)
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Cannot subscribe via proxy: no bus name
884s # Waiting for AddMatch to be processed
884s # Step 3: adding subscription
884s # Sender: service :1.1
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 4: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 11 /gdbus/subscribe/proxy/match_twice
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
884s # Step 0: adding subscription
884s # Sender: service :1.1
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 3: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 3
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
884s # Step 0: adding subscription
884s # Sender: :0.this.had.better.not.exist
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /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
884s # Step 0: claiming bus name
884s # Name: org.gtk.Test.AlreadyOwned
884s # Owner: service
884s # Step 1: adding subscription
884s # Sender: org.gtk.Test.AlreadyOwned
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 2: adding subscription
884s # Sender: org.gtk.Test.OwnedLater
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 3: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 4: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 5: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 6: claiming bus name
884s # Name: org.gtk.Test.OwnedLater
884s # Owner: service
884s # Step 7: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 5
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 7
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 7
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
884s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
884s # Step 0: adding subscription
884s # Sender: org.freedesktop.DBus
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # String argument 0: would I lie to you?
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # Waiting for signal to reach message bus
884s # Step 3: claiming bus name
884s # Name: org.gtk.Test.OwnedLater
884s # Owner: service
884s # Signal received from message bus org.freedesktop.DBus
884s # Signal received from (unused) org.freedesktop.DBus via proxy
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
884s # Step 0: claiming bus name
884s # Name: org.gtk.Test.AlreadyOwned
884s # Owner: service
884s # Step 1: adding subscription
884s # Sender: org.gtk.Test.AlreadyOwned
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 2: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 2
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately
884s # End of proxy tests
884s # Start of parallel tests
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/simple/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it
884s # Step 0: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 1: adding subscription
884s # Sender: (any)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Cannot subscribe via proxy: no bus name
884s # Waiting for AddMatch to be processed
884s # Step 2: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 2
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 17 /gdbus/subscribe/parallel/simple
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
884s # Step 0: adding subscription
884s # Sender: (any)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Cannot subscribe via proxy: no bus name
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: service 2
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 3: emitting signal
884s # Sender: service
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 4: emitting signal
884s # Sender: service 2
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 1
884s # Signal received from service 2 :1.2
884s # Signal received from service 2 :1.2 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 2
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 3
884s # Signal received from service 2 :1.2
884s # Signal received from service 2 :1.2 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/match_twice/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription
884s # Step 0: adding subscription
884s # Sender: service :1.1
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 1: adding subscription
884s # Sender: (any)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: (any)
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Cannot subscribe via proxy: no bus name
884s # Waiting for AddMatch to be processed
884s # Step 2: adding subscription
884s # Sender: (any)
884s # Path: (any)
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Cannot subscribe via proxy: no bus name
884s # Waiting for AddMatch to be processed
884s # Step 3: adding subscription
884s # Sender: service :1.1
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 4: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 4
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
884s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 19 /gdbus/subscribe/parallel/match_twice
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
884s # Step 0: adding subscription
884s # Sender: service :1.1
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 3: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 3
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 3
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
884s # Step 0: adding subscription
884s # Sender: :0.this.had.better.not.exist
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /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
884s # Step 0: claiming bus name
884s # Name: org.gtk.Test.AlreadyOwned
884s # Owner: service
884s # Step 1: adding subscription
884s # Sender: org.gtk.Test.AlreadyOwned
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 2: adding subscription
884s # Sender: org.gtk.Test.OwnedLater
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 3: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 4: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 5: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Step 6: claiming bus name
884s # Name: org.gtk.Test.OwnedLater
884s # Owner: service
884s # Step 7: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 5
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 5
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 7
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 7
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via connection
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 7
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 7
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
884s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
884s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
884s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
884s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
884s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
884s # Step 0: adding subscription
884s # Sender: org.freedesktop.DBus
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 1: emitting signal
884s # Sender: attacker
884s # Destination: (broadcast)
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # String argument 0: would I lie to you?
884s # Waiting for signal to reach message bus
884s # Step 2: emitting signal
884s # Sender: attacker
884s # Destination: subscriber :1.0
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # Waiting for signal to reach message bus
884s # Step 3: claiming bus name
884s # Name: org.gtk.Test.OwnedLater
884s # Owner: service
884s # Signal received from message bus org.freedesktop.DBus
884s # Signal received from (unused) org.freedesktop.DBus via connection
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # Signal received from message bus org.freedesktop.DBus
884s # Signal received from (unused) org.freedesktop.DBus via proxy
884s # Path: /org/freedesktop/DBus
884s # Interface: org.freedesktop.DBus
884s # Member: NameOwnerChanged
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
884s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
884s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_V7O3J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
884s # subscriber is :1.0
884s # service is :1.1
884s # service 2 is :1.2
884s # attacker is :1.3
884s # Waiting for AddMatch to be processed
884s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
884s # Step 0: claiming bus name
884s # Name: org.gtk.Test.AlreadyOwned
884s # Owner: service
884s # Step 1: adding subscription
884s # Sender: org.gtk.Test.AlreadyOwned
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: (any)
884s # String argument 0: (any)
884s # Flags: 0
884s # Subscribing via connection
884s # Immediately unsubscribing
884s # Subscribing via proxy
884s # Waiting for AddMatch to be processed
884s # Step 2: emitting signal
884s # Sender: service
884s # Destination: (broadcast)
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Waiting for signal to reach message bus
884s # Signal received from service :1.1
884s # Signal received from service :1.1 via proxy
884s # Path: /org/gtk/GDBus/ExampleInterface
884s # Interface: org.gtk.GDBus.ExampleInterface
884s # Member: Foo
884s # Argument 0: (not a string)
884s # Sent in step: 2
884s # Received Finished signal from subscriber :1.0
884s # Received Finished signal from service :1.1
884s # Received Finished signal from service 2 :1.2
884s # Received Finished signal from attacker :1.3
884s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
884s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
884s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
884s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
884s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately
884s # End of parallel tests
884s # End of subscribe tests
884s # End of gdbus tests
884s ok - glib/gdbus-subscribe.test
884s # Running test: glib/cxx-2b.test
884s ok - glib/cxx-2b.test
884s # Running test: glib/unix-streams.test
884s TAP version 14
884s # random seed: R02S8cd47e2a51085bb7410d8c649952e305
884s 1..2
884s # Start of gtask tests
884s # 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.
884s ok 1 /gtask/name
884s # Start of name tests
884s # 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.
884s ok 2 /gtask/name/macro-wrapper
884s # End of name tests
884s # End of gtask tests
884s TAP version 14
884s # random seed: R02Scc4744c15a81ad5bc1c6bcfbdbb1f764
884s 1..9
884s # Start of unix-streams tests
884s ok 1 /unix-streams/basic
885s ok 2 /unix-streams/pipe-io-test
885s # slow test /unix-streams/pipe-io-test executed in 0.50 secs
885s ok 3 /unix-streams/nonblocking-io-test
885s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs
885s ok 4 /unix-streams/read_write
885s ok 5 /unix-streams/read_writev
885s ok 6 /unix-streams/write-wouldblock
885s ok 7 /unix-streams/writev-wouldblock
885s ok 8 /unix-streams/write-async-wouldblock
885s ok 9 /unix-streams/writev-async-wouldblock
885s # End of unix-streams tests
885s ok - glib/unix-streams.test
885s # Running test: glib/file.test
885s TAP version 14
885s # random seed: R02S36eefa359f129be1f125e58a8ed435c6
885s 1..55
885s # Start of file tests
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/basic/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/basic/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/basic/.dirs/system-config1:/tmp/test_file_6L75J3/file/basic/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/basic/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/basic/.dirs/system-data1:/tmp/test_file_6L75J3/file/basic/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/basic/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/basic/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/basic/.dirs/runtime
885s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
885s ok 1 /file/basic
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/build-filename/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/build-filename/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/build-filename/.dirs/system-config1:/tmp/test_file_6L75J3/file/build-filename/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/build-filename/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/build-filename/.dirs/system-data1:/tmp/test_file_6L75J3/file/build-filename/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/build-filename/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/build-filename/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/build-filename/.dirs/runtime
885s ok 2 /file/build-filename
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/build-filenamev/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/build-filenamev/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_6L75J3/file/build-filenamev/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/build-filenamev/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_6L75J3/file/build-filenamev/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/build-filenamev/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/build-filenamev/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/build-filenamev/.dirs/runtime
885s ok 3 /file/build-filenamev
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/parent/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/parent/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/parent/.dirs/system-config1:/tmp/test_file_6L75J3/file/parent/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/parent/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/parent/.dirs/system-data1:/tmp/test_file_6L75J3/file/parent/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/parent/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/parent/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/parent/.dirs/runtime
885s ok 4 /file/parent
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/child/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/child/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/child/.dirs/system-config1:/tmp/test_file_6L75J3/file/child/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/child/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/child/.dirs/system-data1:/tmp/test_file_6L75J3/file/child/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/child/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/child/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/child/.dirs/runtime
885s ok 5 /file/child
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/empty-path/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/empty-path/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/empty-path/.dirs/system-config1:/tmp/test_file_6L75J3/file/empty-path/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/empty-path/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/empty-path/.dirs/system-data1:/tmp/test_file_6L75J3/file/empty-path/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/empty-path/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/empty-path/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/empty-path/.dirs/runtime
885s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328
885s # /file/empty-path summary: Check that creating a file with an empty path results in errors
885s ok 6 /file/empty-path
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/type/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/type/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/type/.dirs/system-config1:/tmp/test_file_6L75J3/file/type/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/type/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/type/.dirs/system-data1:/tmp/test_file_6L75J3/file/type/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/type/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/type/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/type/.dirs/runtime
885s ok 7 /file/type
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/parse-name/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/parse-name/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/parse-name/.dirs/system-config1:/tmp/test_file_6L75J3/file/parse-name/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/parse-name/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/parse-name/.dirs/system-data1:/tmp/test_file_6L75J3/file/parse-name/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/parse-name/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/parse-name/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/parse-name/.dirs/runtime
885s ok 8 /file/parse-name
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/replace-load/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/replace-load/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/replace-load/.dirs/system-config1:/tmp/test_file_6L75J3/file/replace-load/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/replace-load/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/replace-load/.dirs/system-data1:/tmp/test_file_6L75J3/file/replace-load/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/replace-load/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/replace-load/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/replace-load/.dirs/runtime
885s ok 9 /file/replace-load
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/replace-cancel/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/replace-cancel/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_6L75J3/file/replace-cancel/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/replace-cancel/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_6L75J3/file/replace-cancel/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/replace-cancel/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/replace-cancel/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/replace-cancel/.dirs/runtime
885s # Bug Reference: https://bugzilla.gnome.org/629301
885s ok 10 /file/replace-cancel
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/replace-symlink/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/replace-symlink/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_6L75J3/file/replace-symlink/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/replace-symlink/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_6L75J3/file/replace-symlink/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/replace-symlink/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/replace-symlink/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/replace-symlink/.dirs/runtime
885s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325
885s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks
885s # Using temporary directory /tmp/test_file_6L75J3/g_file_replace_symlink_UYZ5J3
885s ok 11 /file/replace-symlink
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/async-new-tmp/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/async-new-tmp/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_6L75J3/file/async-new-tmp/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/async-new-tmp/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_6L75J3/file/async-new-tmp/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/async-new-tmp/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/async-new-tmp/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/async-new-tmp/.dirs/runtime
885s ok 12 /file/async-new-tmp
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/async-new-tmp-dir/.dirs/runtime
885s ok 13 /file/async-new-tmp-dir
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/async-delete/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/async-delete/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/async-delete/.dirs/system-config1:/tmp/test_file_6L75J3/file/async-delete/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/async-delete/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/async-delete/.dirs/system-data1:/tmp/test_file_6L75J3/file/async-delete/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/async-delete/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/async-delete/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/async-delete/.dirs/runtime
885s ok 14 /file/async-delete
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/async-make-symlink/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/async-make-symlink/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_6L75J3/file/async-make-symlink/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/async-make-symlink/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_6L75J3/file/async-make-symlink/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/async-make-symlink/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/async-make-symlink/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/async-make-symlink/.dirs/runtime
885s ok 15 /file/async-make-symlink
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/copy-preserve-mode/.dirs/runtime
885s # Current umask: 2
885s # Vector 0
885s # Vector 1
885s # Vector 2
885s # Vector 3
885s # Vector 4
885s # Vector 5
885s # Vector 6
885s # Vector 7
885s # Vector 8
885s # Vector 9
885s # Vector 10
885s ok 16 /file/copy-preserve-mode
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/copy-async-with-closures/.dirs/runtime
885s ok 17 /file/copy-async-with-closures
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/measure/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/measure/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/measure/.dirs/system-config1:/tmp/test_file_6L75J3/file/measure/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/measure/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/measure/.dirs/system-data1:/tmp/test_file_6L75J3/file/measure/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/measure/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/measure/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/measure/.dirs/runtime
885s ok 18 /file/measure
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/measure-async/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/measure-async/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/measure-async/.dirs/system-config1:/tmp/test_file_6L75J3/file/measure-async/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/measure-async/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/measure-async/.dirs/system-data1:/tmp/test_file_6L75J3/file/measure-async/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/measure-async/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/measure-async/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/measure-async/.dirs/runtime
885s ok 19 /file/measure-async
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/load-bytes/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/load-bytes/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/load-bytes/.dirs/system-config1:/tmp/test_file_6L75J3/file/load-bytes/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/load-bytes/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/load-bytes/.dirs/system-data1:/tmp/test_file_6L75J3/file/load-bytes/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/load-bytes/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/load-bytes/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/load-bytes/.dirs/runtime
885s ok 20 /file/load-bytes
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/load-bytes-async/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/load-bytes-async/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_6L75J3/file/load-bytes-async/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/load-bytes-async/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_6L75J3/file/load-bytes-async/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/load-bytes-async/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/load-bytes-async/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/load-bytes-async/.dirs/runtime
885s ok 21 /file/load-bytes-async
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/load-bytes-4gb/.dirs/runtime
885s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/load-contents-4gb/.dirs/runtime
885s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/load-contents-4gb-async/.dirs/runtime
885s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/.dirs/runtime
885s ok 25 /file/writev
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/build-attribute-list-for-copy/.dirs/runtime
885s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::*
885s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::*
885s # 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::*
885s # 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::*
885s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::*
885s # Attributes for copy: standard::size,xattr::*
885s # Attributes for copy: standard::size,unix::mode,xattr::*
885s ok 26 /file/build-attribute-list-for-copy
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/move_async/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/move_async/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/move_async/.dirs/system-config1:/tmp/test_file_6L75J3/file/move_async/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/move_async/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/move_async/.dirs/system-data1:/tmp/test_file_6L75J3/file/move_async/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/move_async/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/move_async/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/move_async/.dirs/runtime
885s ok 27 /file/move_async
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/move-async-with-closures/.dirs/runtime
885s ok 28 /file/move-async-with-closures
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/query-zero-length-content-type/.dirs/runtime
885s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795
885s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize
885s ok 29 /file/query-zero-length-content-type
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/runtime
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/data/applications
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/config
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/config
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/config
885s ok 30 /file/query-default-handler-file
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/runtime
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/data/applications
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/config
885s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6L75J3/file/query-default-handler-file/.dirs/config to /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/config
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/config
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/config
885s ok 31 /file/query-default-handler-file-async
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/runtime
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/data/applications
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/config
885s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6L75J3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/config
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/config
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/config
885s ok 32 /file/query-default-handler-uri
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/runtime
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/data/applications
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/config
885s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6L75J3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/config
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/config
885s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6L75J3/file/query-default-handler-uri-async/.dirs/config
885s ok 33 /file/query-default-handler-uri-async
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/enumerator-cancellation/.dirs/runtime
885s ok 34 /file/enumerator-cancellation
885s # Start of async-create-delete tests
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/async-create-delete/0/.dirs/runtime
885s ok 35 /file/async-create-delete/0
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/async-create-delete/1/.dirs/runtime
885s ok 36 /file/async-create-delete/1
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/async-create-delete/10/.dirs/runtime
885s ok 37 /file/async-create-delete/10
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/async-create-delete/25/.dirs/runtime
885s ok 38 /file/async-create-delete/25
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/async-create-delete/4096/.dirs/runtime
885s ok 39 /file/async-create-delete/4096
885s # End of async-create-delete tests
885s # Start of replace-symlink tests
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/replace-symlink/using-etag/.dirs/runtime
885s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417
885s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink
885s # Using temporary directory /tmp/test_file_6L75J3/g_file_replace_symlink_using_etag_EV7IK3
887s # Executing: glib/file.test
887s ok 40 /file/replace-symlink/using-etag
887s # slow test /file/replace-symlink/using-etag executed in 2.00 secs
887s # End of replace-symlink tests
887s # Start of replace tests
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/replace/write-only/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/replace/write-only/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_6L75J3/file/replace/write-only/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/replace/write-only/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_6L75J3/file/replace/write-only/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/replace/write-only/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/replace/write-only/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/replace/write-only/.dirs/runtime
887s # /file/replace/write-only summary: Test various situations for g_file_replace()
887s # Current umask: 2
887s # Test 0, using temporary directory /tmp/test_file_6L75J3/g_file_replace_VH6IK3
887s # Test 1, using temporary directory /tmp/test_file_6L75J3/g_file_replace_0Y6IK3
887s # Test 2, using temporary directory /tmp/test_file_6L75J3/g_file_replace_SI4IK3
887s # Test 3, using temporary directory /tmp/test_file_6L75J3/g_file_replace_4V5IK3
887s # Test 4, using temporary directory /tmp/test_file_6L75J3/g_file_replace_GK5IK3
887s # Test 5, using temporary directory /tmp/test_file_6L75J3/g_file_replace_K22IK3
887s # Test 6, using temporary directory /tmp/test_file_6L75J3/g_file_replace_G92IK3
887s # Test 7, using temporary directory /tmp/test_file_6L75J3/g_file_replace_GC4IK3
887s # Test 8, using temporary directory /tmp/test_file_6L75J3/g_file_replace_L03IK3
887s # Test 9, using temporary directory /tmp/test_file_6L75J3/g_file_replace_S53IK3
887s # Test 10, using temporary directory /tmp/test_file_6L75J3/g_file_replace_NY1IK3
887s # Test 11, using temporary directory /tmp/test_file_6L75J3/g_file_replace_JN2IK3
887s # Test 12, using temporary directory /tmp/test_file_6L75J3/g_file_replace_0P2IK3
887s # Test 13, using temporary directory /tmp/test_file_6L75J3/g_file_replace_LL2IK3
887s # Test 14, using temporary directory /tmp/test_file_6L75J3/g_file_replace_LN0IK3
887s # Test 15, using temporary directory /tmp/test_file_6L75J3/g_file_replace_QY0IK3
887s # Test 16, using temporary directory /tmp/test_file_6L75J3/g_file_replace_7JYIK3
887s # Test 17, using temporary directory /tmp/test_file_6L75J3/g_file_replace_0JZIK3
887s # Test 18, using temporary directory /tmp/test_file_6L75J3/g_file_replace_2JWIK3
887s # Test 19, using temporary directory /tmp/test_file_6L75J3/g_file_replace_BJXIK3
887s # Test 20, using temporary directory /tmp/test_file_6L75J3/g_file_replace_HAKJK3
887s # Test 21, using temporary directory /tmp/test_file_6L75J3/g_file_replace_G7KJK3
887s # Test 22, using temporary directory /tmp/test_file_6L75J3/g_file_replace_5KLJK3
887s # Test 23, using temporary directory /tmp/test_file_6L75J3/g_file_replace_BILJK3
887s # Test 24, using temporary directory /tmp/test_file_6L75J3/g_file_replace_GDJJK3
887s # Test 25, using temporary directory /tmp/test_file_6L75J3/g_file_replace_03JJK3
887s # Test 26, using temporary directory /tmp/test_file_6L75J3/g_file_replace_R1JJK3
887s # Test 27, using temporary directory /tmp/test_file_6L75J3/g_file_replace_65JJK3
887s # Test 28, using temporary directory /tmp/test_file_6L75J3/g_file_replace_T8GJK3
887s # Test 29, using temporary directory /tmp/test_file_6L75J3/g_file_replace_7NFJK3
887s # Test 30, using temporary directory /tmp/test_file_6L75J3/g_file_replace_74FJK3
887s # Test 31, using temporary directory /tmp/test_file_6L75J3/g_file_replace_Z9FJK3
887s # Test 32, using temporary directory /tmp/test_file_6L75J3/g_file_replace_6EGJK3
887s # Test 33, using temporary directory /tmp/test_file_6L75J3/g_file_replace_CXDJK3
887s # Test 34, using temporary directory /tmp/test_file_6L75J3/g_file_replace_JLEJK3
887s # Test 35, using temporary directory /tmp/test_file_6L75J3/g_file_replace_TPEJK3
887s # Test 36, using temporary directory /tmp/test_file_6L75J3/g_file_replace_2SEJK3
887s # Test 37, using temporary directory /tmp/test_file_6L75J3/g_file_replace_N2CJK3
887s # Test 38, using temporary directory /tmp/test_file_6L75J3/g_file_replace_FBDJK3
887s # Test 39, using temporary directory /tmp/test_file_6L75J3/g_file_replace_X4AJK3
887s # Test 40, using temporary directory /tmp/test_file_6L75J3/g_file_replace_2BBJK3
887s # Test 41, using temporary directory /tmp/test_file_6L75J3/g_file_replace_Q6BJK3
887s # Test 42, using temporary directory /tmp/test_file_6L75J3/g_file_replace_PA9IK3
887s # Test 43, using temporary directory /tmp/test_file_6L75J3/g_file_replace_EAAJK3
887s # Test 44, using temporary directory /tmp/test_file_6L75J3/g_file_replace_ZAXJK3
887s # Test 45, using temporary directory /tmp/test_file_6L75J3/g_file_replace_57WJK3
887s # Test 46, using temporary directory /tmp/test_file_6L75J3/g_file_replace_YWXJK3
887s # Test 47, using temporary directory /tmp/test_file_6L75J3/g_file_replace_R2XJK3
887s # Test 48, using temporary directory /tmp/test_file_6L75J3/g_file_replace_28XJK3
887s # We do not have CAP_DAC_OVERRIDE or equivalent
887s ok 41 /file/replace/write-only
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/replace/read-write/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/replace/read-write/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_6L75J3/file/replace/read-write/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/replace/read-write/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_6L75J3/file/replace/read-write/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/replace/read-write/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/replace/read-write/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/replace/read-write/.dirs/runtime
887s # /file/replace/read-write summary: Test various situations for g_file_replace()
887s # Current umask: 2
887s # Test 0, using temporary directory /tmp/test_file_6L75J3/g_file_replace_RDVJK3
887s # Test 1, using temporary directory /tmp/test_file_6L75J3/g_file_replace_8HVJK3
887s # Test 2, using temporary directory /tmp/test_file_6L75J3/g_file_replace_0HWJK3
887s # Test 3, using temporary directory /tmp/test_file_6L75J3/g_file_replace_SNWJK3
887s # Test 4, using temporary directory /tmp/test_file_6L75J3/g_file_replace_7ZTJK3
887s # Test 5, using temporary directory /tmp/test_file_6L75J3/g_file_replace_U2TJK3
887s # Test 6, using temporary directory /tmp/test_file_6L75J3/g_file_replace_0AUJK3
887s # Test 7, using temporary directory /tmp/test_file_6L75J3/g_file_replace_WISJK3
887s # Test 8, using temporary directory /tmp/test_file_6L75J3/g_file_replace_NDSJK3
887s # Test 9, using temporary directory /tmp/test_file_6L75J3/g_file_replace_2ASJK3
887s # Test 10, using temporary directory /tmp/test_file_6L75J3/g_file_replace_DATJK3
887s # Test 11, using temporary directory /tmp/test_file_6L75J3/g_file_replace_8VQJK3
887s # Test 12, using temporary directory /tmp/test_file_6L75J3/g_file_replace_SXQJK3
887s # Test 13, using temporary directory /tmp/test_file_6L75J3/g_file_replace_3SQJK3
887s # Test 14, using temporary directory /tmp/test_file_6L75J3/g_file_replace_GMRJK3
887s # Test 15, using temporary directory /tmp/test_file_6L75J3/g_file_replace_RTRJK3
887s # Test 16, using temporary directory /tmp/test_file_6L75J3/g_file_replace_E4PJK3
887s # Test 17, using temporary directory /tmp/test_file_6L75J3/g_file_replace_GBQJK3
887s # Test 18, using temporary directory /tmp/test_file_6L75J3/g_file_replace_DLNJK3
887s # Test 19, using temporary directory /tmp/test_file_6L75J3/g_file_replace_RNOJK3
887s # Test 20, using temporary directory /tmp/test_file_6L75J3/g_file_replace_RPOJK3
887s # Test 21, using temporary directory /tmp/test_file_6L75J3/g_file_replace_8IMJK3
887s # Test 22, using temporary directory /tmp/test_file_6L75J3/g_file_replace_SQMJK3
887s # Test 23, using temporary directory /tmp/test_file_6L75J3/g_file_replace_UUMJK3
887s # Test 24, using temporary directory /tmp/test_file_6L75J3/g_file_replace_1P9JK3
887s # Test 25, using temporary directory /tmp/test_file_6L75J3/g_file_replace_WHAKK3
887s # Test 26, using temporary directory /tmp/test_file_6L75J3/g_file_replace_KLAKK3
887s # Test 27, using temporary directory /tmp/test_file_6L75J3/g_file_replace_Z1AKK3
887s # Test 28, using temporary directory /tmp/test_file_6L75J3/g_file_replace_T47JK3
887s # Test 29, using temporary directory /tmp/test_file_6L75J3/g_file_replace_P38JK3
887s # Test 30, using temporary directory /tmp/test_file_6L75J3/g_file_replace_D58JK3
887s # Test 31, using temporary directory /tmp/test_file_6L75J3/g_file_replace_OV8JK3
887s # Test 32, using temporary directory /tmp/test_file_6L75J3/g_file_replace_XP6JK3
887s # Test 33, using temporary directory /tmp/test_file_6L75J3/g_file_replace_JG7JK3
887s # Test 34, using temporary directory /tmp/test_file_6L75J3/g_file_replace_6V7JK3
887s # Test 35, using temporary directory /tmp/test_file_6L75J3/g_file_replace_IZ7JK3
887s # Test 36, using temporary directory /tmp/test_file_6L75J3/g_file_replace_WI5JK3
887s # Test 37, using temporary directory /tmp/test_file_6L75J3/g_file_replace_XV5JK3
887s # Test 38, using temporary directory /tmp/test_file_6L75J3/g_file_replace_5M3JK3
887s # Test 39, using temporary directory /tmp/test_file_6L75J3/g_file_replace_5F4JK3
887s # Test 40, using temporary directory /tmp/test_file_6L75J3/g_file_replace_P11JK3
887s # Test 41, using temporary directory /tmp/test_file_6L75J3/g_file_replace_1O2JK3
887s # Test 42, using temporary directory /tmp/test_file_6L75J3/g_file_replace_U9ZJK3
887s # Test 43, using temporary directory /tmp/test_file_6L75J3/g_file_replace_C10JK3
887s # Test 44, using temporary directory /tmp/test_file_6L75J3/g_file_replace_EXYJK3
887s # Test 45, using temporary directory /tmp/test_file_6L75J3/g_file_replace_DNYJK3
887s # Test 46, using temporary directory /tmp/test_file_6L75J3/g_file_replace_5QZJK3
887s # Test 47, using temporary directory /tmp/test_file_6L75J3/g_file_replace_BFZJK3
887s # Test 48, using temporary directory /tmp/test_file_6L75J3/g_file_replace_5D0EK3
887s # We do not have CAP_DAC_OVERRIDE or equivalent
887s ok 42 /file/replace/read-write
887s # End of replace tests
887s # Start of copy tests
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/copy/progress/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/copy/progress/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/copy/progress/.dirs/system-config1:/tmp/test_file_6L75J3/file/copy/progress/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/copy/progress/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/copy/progress/.dirs/system-data1:/tmp/test_file_6L75J3/file/copy/progress/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/copy/progress/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/copy/progress/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/copy/progress/.dirs/runtime
887s ok 43 /file/copy/progress
887s # End of copy tests
887s # Start of writev tests
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/no-bytes-written/.dirs/runtime
887s ok 44 /file/writev/no-bytes-written
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/no-vectors/.dirs/runtime
887s ok 45 /file/writev/no-vectors
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/empty-vectors/.dirs/runtime
887s ok 46 /file/writev/empty-vectors
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/too-big-vectors/.dirs/runtime
887s ok 47 /file/writev/too-big-vectors
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/async/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/async/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/async/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/async/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/async/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/async/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/async/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/async/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/async/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/async/.dirs/runtime
887s ok 48 /file/writev/async
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/async_all/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/async_all/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/async_all/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/async_all/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/async_all/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/async_all/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/async_all/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/async_all/.dirs/runtime
887s ok 49 /file/writev/async_all
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/async_all-empty-vectors/.dirs/runtime
887s ok 50 /file/writev/async_all-empty-vectors
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/async_all-no-vectors/.dirs/runtime
887s ok 51 /file/writev/async_all-no-vectors
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/async_all-to-big-vectors/.dirs/runtime
887s ok 52 /file/writev/async_all-to-big-vectors
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/writev/async_all-cancellation/.dirs/runtime
887s ok 53 /file/writev/async_all-cancellation
887s # End of writev tests
887s # Start of from-uri tests
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/home
887s ok - glib/file.test
887s # Running test: glib/gdbus-connection-loss.test
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/from-uri/ignores-query-string/.dirs/runtime
887s ok 54 /file/from-uri/ignores-query-string
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6L75J3/file/from-uri/ignores-fragment/.dirs/runtime
887s ok 55 /file/from-uri/ignores-fragment
887s # End of from-uri tests
887s # End of file tests
887s TAP version 14
887s # random seed: R02S6975cc5d55bff126b40370b3cfd66cb0
887s 1..1
887s # Start of gdbus tests
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_FKVEK3/gdbus/connection-loss/.dirs/runtime
888s ok 1 /gdbus/connection-loss
888s # End of gdbus tests
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s ok - glib/gdbus-connection-loss.test
888s # Running test: glib/slice.test
888s TAP version 14
888s # random seed: R02S2efc6f3fdf1ccdeaa2e98b6d6472cafc
888s 1..3
888s # Start of slice tests
888s ok 1 /slice/copy
888s ok 2 /slice/chain
888s ok 3 /slice/allocate
888s # End of slice tests
888s ok - glib/slice.test
888s # Running test: glib/gdbus-proxy-well-known-name.test
888s TAP version 14
888s # random seed: R02Scbf810cdfb8d9d32b7c3311a2abfc653
888s 1..1
888s # Start of gdbus tests
888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/home
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/cache
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/system-config2
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/config
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/system-data2
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/data
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/state
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_EEB9J3/gdbus/proxy-well-known-name/.dirs/runtime
888s ok - glib/gdbus-proxy-well-known-name.test
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
888s ok 1 /gdbus/proxy-well-known-name
888s # End of gdbus tests
888s # Running test: glib/tls-bindings.test
888s TAP version 14
888s # random seed: R02Sa44b7e5c88e3a42920d97202186f4a5a
888s 1..2
888s # Start of tls-connection tests
888s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’
888s ok 1 /tls-connection/get-tls-channel-binding
888s ok 2 /tls-connection/get-dtls-channel-binding
888s # End of tls-connection tests
888s ok - glib/tls-bindings.test
888s # Running test: glib/object-info.test
888s TAP version 14
888s # random seed: R02S03d70be28acef7238ae81b705f8c1d9a
888s 1..2
888s # Start of object-info tests
888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/home
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/cache
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/system-config2
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/config
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/system-data2
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/data
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/state
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_TFM9J3/object-info/find-method-using-interfaces/.dirs/runtime
888s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
888s ok - glib/object-info.test
888s # Running test: glib/vfs.test
888s ok - glib/vfs.test
888s # Running test: glib/signals-refcount1.test
888s ok 1 /object-info/find-method-using-interfaces
888s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/home
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/cache
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/system-config2
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/config
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/system-data2
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/data
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/state
888s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_TFM9J3/object-info/find-vfunc-using-interfaces/.dirs/runtime
888s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
888s ok 2 /object-info/find-vfunc-using-interfaces
888s # End of object-info tests
888s TAP version 14
888s # random seed: R02Sce8d656492cf3f228e648a632ec3dfa7
888s 1..3
888s # Start of gvfs tests
888s ok 1 /gvfs/local
888s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
888s ok 2 /gvfs/register-scheme
888s # Start of resource tests
888s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090
888s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI
888s ok 3 /gvfs/resource/malformed-escaping
888s # End of resource tests
888s # End of gvfs tests
888s TAP version 14
888s # random seed: R02S998c67512da747fb63a346b5119cf1f8
888s 1..1
888s # Start of gobject tests
888s # Start of refcount tests
888s # init 0x5d0e5ae244a0
888s #
888s # init 0x5d0e5ae1c580
888s #
892s # Executing: glib/signals-refcount1.test
893s # dispose 0x5d0e5ae244a0!
893s #
893s # dispose 0x5d0e5ae1c580!
893s #
893s ok 1 /gobject/refcount/signals
893s # slow test /gobject/refcount/signals executed in 5.00 secs
893s # End of refcount tests
893s # End of gobject tests
893s ok - glib/signals-refcount1.test
893s # Running test: glib/readwrite.test
893s TAP version 14
893s # random seed: R02Sdb6d253ea75e7b1e0a925cc1bea09868
893s 1..3
893s # Start of readwrite tests
893s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
893s ok 1 /readwrite/test_g_file_open_readwrite
893s ok 2 /readwrite/test_g_file_create_readwrite
893s ok - glib/readwrite.test
893s ok 3 /readwrite/test_g_file_replace_readwrite
893s # End of readwrite tests
893s # Running test: glib/date.test
893s TAP version 14
893s # random seed: R02S921bf99e78fc3ca0696cbfdbbeb4f832
893s 1..122
893s # Start of date tests
893s ok 1 /date/basic
893s ok 2 /date/empty
893s ok 3 /date/dmy
893s ok 4 /date/julian
893s ok 5 /date/compare
893s ok 6 /date/dates
893s ok 7 /date/strftime
893s ok 8 /date/two-digit-years
893s ok 9 /date/parse
893s ok 10 /date/parse_locale_change # SKIP locale th_TH not available
893s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550
893s ok 11 /date/month_substring
893s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206
893s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names
893s ok 13 /date/clamp
893s ok 14 /date/order
893s ok 15 /date/copy
893s # Vector 0: 0000-00-00, invalid
893s # Vector 1: 0001-01-01, valid
893s # Vector 2: 0000-01-01, invalid
893s # Vector 3: 2000-02-30, invalid
893s # Vector 4: 2000-02-29, valid
893s # Vector 5: 2001-02-29, invalid
893s # Vector 6: 65535-01-01, valid
893s ok 16 /date/valid-dmy
893s # Considering 2000-01-01
893s # Considering 2000-01-07
893s # Considering 2000-01-08
893s # Considering 2001-01-01
893s # Considering 2001-01-07
893s # Considering 2001-01-08
893s # Considering 2002-01-01
893s # Considering 2002-01-07
893s # Considering 2002-01-08
893s # Considering 2003-01-01
893s # Considering 2003-01-07
893s # Considering 2003-01-08
893s # Considering 2004-01-01
893s # Considering 2004-01-07
893s # Considering 2004-01-08
893s # Considering 2006-01-01
893s # Considering 2006-01-07
893s # Considering 2006-01-08
893s # Considering 2010-01-01
893s # Considering 2010-01-07
893s # Considering 2010-01-08
893s ok 17 /date/week-of-year
893s # Start of parse tests
893s # Test 0
893s # Test 1
893s ok 18 /date/parse/invalid
893s # End of parse tests
893s # Start of year tests
893s ok 19 /date/year/1
893s ok 20 /date/year/2
893s ok 21 /date/year/3
893s ok 22 /date/year/4
893s ok 23 /date/year/5
893s ok 24 /date/year/6
893s ok 25 /date/year/7
893s ok 26 /date/year/8
893s ok 27 /date/year/9
893s ok 28 /date/year/10
893s ok 29 /date/year/11
893s ok 30 /date/year/12
893s ok 31 /date/year/13
893s ok 32 /date/year/14
893s ok 33 /date/year/98
893s ok 34 /date/year/99
893s ok 35 /date/year/100
893s ok 36 /date/year/101
893s ok 37 /date/year/102
893s ok 38 /date/year/103
893s ok 39 /date/year/397
893s ok 40 /date/year/398
893s ok 41 /date/year/399
893s ok 42 /date/year/400
893s ok 43 /date/year/401
893s ok 44 /date/year/402
893s ok 45 /date/year/403
893s ok 46 /date/year/404
893s ok 47 /date/year/405
893s ok 48 /date/year/406
893s ok 49 /date/year/1598
893s ok 50 /date/year/1599
893s ok 51 /date/year/1600
893s ok 52 /date/year/1601
893s ok 53 /date/year/1602
893s ok 54 /date/year/1650
893s ok 55 /date/year/1651
893s ok 56 /date/year/1897
893s ok 57 /date/year/1898
893s ok 58 /date/year/1899
893s ok 59 /date/year/1900
893s ok 60 /date/year/1901
893s ok 61 /date/year/1902
893s ok 62 /date/year/1903
893s ok 63 /date/year/1961
893s ok 64 /date/year/1962
893s ok 65 /date/year/1963
893s ok 66 /date/year/1964
893s ok 67 /date/year/1965
893s ok 68 /date/year/1967
893s ok 69 /date/year/1968
893s ok 70 /date/year/1969
893s ok 71 /date/year/1970
893s ok 72 /date/year/1971
893s ok 73 /date/year/1972
893s ok 74 /date/year/1973
893s ok 75 /date/year/1974
893s ok 76 /date/year/1975
893s ok 77 /date/year/1976
893s ok 78 /date/year/1977
893s ok 79 /date/year/1978
893s ok 80 /date/year/1979
893s ok 81 /date/year/1980
893s ok 82 /date/year/1981
893s ok 83 /date/year/1982
893s ok 84 /date/year/1983
893s ok 85 /date/year/1984
893s ok 86 /date/year/1985
893s ok 87 /date/year/1986
893s ok 88 /date/year/1987
893s ok 89 /date/year/1988
893s ok 90 /date/year/1989
893s ok 91 /date/year/1990
893s ok 92 /date/year/1991
893s ok 93 /date/year/1992
893s ok 94 /date/year/1993
893s ok 95 /date/year/1994
893s ok 96 /date/year/1995
893s ok 97 /date/year/1996
893s ok 98 /date/year/1997
893s ok 99 /date/year/1998
893s ok 100 /date/year/1999
893s ok 101 /date/year/2000
893s ok 102 /date/year/2001
893s ok 103 /date/year/2002
893s ok 104 /date/year/2003
893s ok 105 /date/year/2004
893s ok 106 /date/year/2005
893s ok 107 /date/year/2006
893s ok 108 /date/year/2007
893s ok 109 /date/year/2008
893s ok 110 /date/year/2009
893s ok 111 /date/year/2010
893s ok 112 /date/year/2011
893s ok 113 /date/year/2012
893s ok 114 /date/year/3000
893s ok 115 /date/year/3001
893s ok 116 /date/year/3002
893s ok 117 /date/year/3998
893s ok 118 /date/year/3999
893s ok 119 /date/year/4000
893s ok 120 /date/year/4001
893s ok 121 /date/year/4002
893s ok 122 /date/year/4003
893s # End of year tests
893s # End of date tests
893s ok - glib/date.test
893s # Running test: glib/memory-settings-backend.test
893s TAP version 14
893s # random seed: R02S12ddd4cd31b6daef9963942d1c81d053
893s 1..1
893s # Start of memory-settings-backend tests
893s ok 1 /memory-settings-backend/extension-point-registered
893s # End of memory-settings-backend tests
893s ok - glib/memory-settings-backend.test
893s # Running test: glib/gsubprocess.test
893s TAP version 14
893s # random seed: R02S270f85cfa350bc987a3e0ae4b959dec5
893s 1..84
893s # Start of gsubprocess tests
893s ok 1 /gsubprocess/noop
893s ok 2 /gsubprocess/noop-all-to-null
893s ok 3 /gsubprocess/noop-no-wait
893s ok 4 /gsubprocess/noop-stdin-inherit
893s ok 5 /gsubprocess/search-path
893s ok 6 /gsubprocess/search-path-from-envp
897s # Executing: glib/gsubprocess.test
897s ok 7 /gsubprocess/signal
897s # slow test /gsubprocess/signal executed in 3.70 secs
897s ok 8 /gsubprocess/exit1
897s ok 9 /gsubprocess/echo1
897s ok 10 /gsubprocess/echo-merged
897s ok 11 /gsubprocess/cat-utf8
898s ok 12 /gsubprocess/cat-eof
898s # slow test /gsubprocess/cat-eof executed in 1.00 secs
901s ok 13 /gsubprocess/multi1
901s # slow test /gsubprocess/multi1 executed in 3.01 secs
901s ok 14 /gsubprocess/communicate
902s # Executing: glib/gsubprocess.test
904s ok 15 /gsubprocess/terminate
904s # slow test /gsubprocess/terminate executed in 2.98 secs
904s ok 16 /gsubprocess/fail-initialization
904s ok 17 /gsubprocess/env
904s ok 18 /gsubprocess/cwd
904s ok 19 /gsubprocess/launcher-close
904s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
904s ok 20 /gsubprocess/stdout-file
904s ok 21 /gsubprocess/stdout-fd
904s ok 22 /gsubprocess/child-setup
904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
904s ok 23 /gsubprocess/launcher-environment
904s # Start of exit1 tests
904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
904s ok 24 /gsubprocess/exit1/cancel
904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
904s ok 25 /gsubprocess/exit1/cancel_in_cb
904s # End of exit1 tests
904s # Start of communicate tests
904s ok 26 /gsubprocess/communicate/cancelled
904s ok 27 /gsubprocess/communicate/async
904s ok 28 /gsubprocess/communicate/utf8
904s # hello world
904s ok 29 /gsubprocess/communicate/no-pipes
904s ok 30 /gsubprocess/communicate/separate-stderr
904s ok 31 /gsubprocess/communicate/stdout-only
904s # hello world
904s ok 32 /gsubprocess/communicate/stderr-only
904s ok 33 /gsubprocess/communicate/stdout-silence
904s ok 34 /gsubprocess/communicate/nothing
904s # Start of async tests
904s ok 35 /gsubprocess/communicate/async/cancelled
904s # hello world
904s ok 36 /gsubprocess/communicate/async/no-pipes
904s ok 37 /gsubprocess/communicate/async/separate-stderr
904s ok 38 /gsubprocess/communicate/async/stdout-only
904s # hello world
904s ok 39 /gsubprocess/communicate/async/stderr-only
904s ok 40 /gsubprocess/communicate/async/stdout-silence
904s # Start of cancelled tests
904s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes
904s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr
904s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only
904s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only
904s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence
904s # End of cancelled tests
904s # End of async tests
904s # Start of utf8 tests
904s ok 46 /gsubprocess/communicate/utf8/cancelled
904s ok 47 /gsubprocess/communicate/utf8/async
904s # hello world
904s ok 48 /gsubprocess/communicate/utf8/no-pipes
904s ok 49 /gsubprocess/communicate/utf8/separate-stderr
904s ok 50 /gsubprocess/communicate/utf8/stdout-only
904s # hello world
904s ok 51 /gsubprocess/communicate/utf8/stderr-only
904s ok 52 /gsubprocess/communicate/utf8/stdout-silence
904s ok 53 /gsubprocess/communicate/utf8/invalid
904s # Start of async tests
904s ok 54 /gsubprocess/communicate/utf8/async/cancelled
904s # hello world
904s ok 55 /gsubprocess/communicate/utf8/async/no-pipes
904s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr
904s ok 57 /gsubprocess/communicate/utf8/async/stdout-only
904s # hello world
904s ok 58 /gsubprocess/communicate/utf8/async/stderr-only
904s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence
904s ok 60 /gsubprocess/communicate/utf8/async/invalid
904s # Start of cancelled tests
904s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes
904s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr
904s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only
904s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only
904s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence
904s # End of cancelled tests
904s # End of async tests
904s # Start of cancelled tests
904s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes
904s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr
904s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only
904s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only
904s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence
904s # End of cancelled tests
904s # End of utf8 tests
904s # Start of cancelled tests
904s ok 71 /gsubprocess/communicate/cancelled/no-pipes
904s ok 72 /gsubprocess/communicate/cancelled/separate-stderr
904s ok 73 /gsubprocess/communicate/cancelled/stdout-only
904s ok 74 /gsubprocess/communicate/cancelled/stderr-only
904s ok 75 /gsubprocess/communicate/cancelled/stdout-silence
904s # End of cancelled tests
904s # End of communicate tests
904s # Start of env tests
904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
904s ok 76 /gsubprocess/env/inherit
904s # End of env tests
904s # Start of pass-fd tests
904s ok 77 /gsubprocess/pass-fd/basic
904s ok 78 /gsubprocess/pass-fd/empty-child-setup
904s ok 79 /gsubprocess/pass-fd/inherit-fds
904s # End of pass-fd tests
904s # Start of fd-conflation tests
904s ok 80 /gsubprocess/fd-conflation/basic
904s ok 81 /gsubprocess/fd-conflation/empty-child-setup
904s ok 82 /gsubprocess/fd-conflation/inherit-fds
904s ok 83 /gsubprocess/fd-conflation/child-err-report-fd
904s # End of fd-conflation tests
904s # Start of exit-status tests
904s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes
904s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433
904s ok 84 /gsubprocess/exit-status/trapped
904s # End of exit-status tests
904s # End of gsubprocess tests
904s ok - glib/gsubprocess.test
904s # Running test: glib/network-monitor-race.test
904s TAP version 14
904s # random seed: R02S99ac011080e3f91dd4684c27d8dd0279
904s 1..1
904s # Start of network-monitor tests
904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727
906s ok - glib/network-monitor-race.test
906s # Running test: glib/notify-init2.test
906s ok 1 /network-monitor/create-in-thread
906s # slow test /network-monitor/create-in-thread executed in 2.09 secs
906s # End of network-monitor tests
906s TAP version 14
906s # random seed: R02S6cac35935f845513009c128c3a6fa836
906s 1..1
906s # Start of properties tests
906s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works
906s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
906s ok 1 /properties/notify-in-init2
906s # End of properties tests
906s ok - glib/notify-init2.test
906s # Running test: glib/base64.test
906s TAP version 14
906s # random seed: R02Sa23d4afc6cc12525919b7cf53a0b7a52
906s 1..28
906s # Start of base64 tests
906s ok 1 /base64/encode
906s ok 2 /base64/decode
906s ok 3 /base64/decode-inplace
906s ok 4 /base64/encode-decode
906s # Start of full tests
906s ok 5 /base64/full/1
906s ok 6 /base64/full/2
906s ok - glib/base64.test
906s # Running test: glib/gapplication.test
906s ok 7 /base64/full/3
906s ok 8 /base64/full/4
906s # End of full tests
906s # Start of encode tests
906s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
906s ok 9 /base64/encode/empty
906s # Start of incremental tests
906s # Start of small-block tests
906s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
906s ok 10 /base64/encode/incremental/small-block/1
906s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
906s ok 11 /base64/encode/incremental/small-block/2
906s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
906s ok 12 /base64/encode/incremental/small-block/3
906s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
906s ok 13 /base64/encode/incremental/small-block/4
906s # End of small-block tests
906s # End of incremental tests
906s # End of encode tests
906s # Start of incremental tests
906s # Start of nobreak tests
906s ok 14 /base64/incremental/nobreak/1
906s ok 15 /base64/incremental/nobreak/2
906s ok 16 /base64/incremental/nobreak/3
906s ok 17 /base64/incremental/nobreak/4-a
906s ok 18 /base64/incremental/nobreak/4-b
906s ok 19 /base64/incremental/nobreak/4-c
906s # End of nobreak tests
906s # Start of break tests
906s ok 20 /base64/incremental/break/1
906s ok 21 /base64/incremental/break/2
906s ok 22 /base64/incremental/break/3
906s # End of break tests
906s # Start of smallblock tests
906s ok 23 /base64/incremental/smallblock/1
906s ok 24 /base64/incremental/smallblock/2
906s ok 25 /base64/incremental/smallblock/3
906s ok 26 /base64/incremental/smallblock/4
906s # End of smallblock tests
906s # End of incremental tests
906s # Start of decode tests
906s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
906s ok 27 /base64/decode/empty
906s # End of decode tests
906s # Start of encode-decode tests
906s # Vector 0:
906s # Vector 1: f
906s # Vector 2: fo
906s # Vector 3: foo
906s # Vector 4: foob
906s # Vector 5: fooba
906s # Vector 6: foobar
906s ok 28 /base64/encode-decode/rfc4648
906s # End of encode-decode tests
906s # End of base64 tests
906s TAP version 14
906s # random seed: R02S7849d80bed8408db713a00be82694de8
906s 1..25
906s # Start of gapplication tests
906s ok 1 /gapplication/no-dbus
906s ok 2 /gapplication/no-appid
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 3 /gapplication/properties
906s ok 4 /gapplication/app-id
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 5 /gapplication/quit
906s ok 6 /gapplication/registered
906s ok 7 /gapplication/local-actions
906s ok 8 /gapplication/local-command-line
906s ok 9 /gapplication/resource-path
906s ok 10 /gapplication/test-help
906s ok 11 /gapplication/command-line-done
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 12 /gapplication/test-busy
906s ok 13 /gapplication/test-handle-local-options1
906s ok 14 /gapplication/test-handle-local-options2
906s ok 15 /gapplication/test-handle-local-options3
906s ok 16 /gapplication/api
906s ok 17 /gapplication/version
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # launching subprocess
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 18 /gapplication/replace
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # launching subprocess
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 19 /gapplication/no-replace
906s # slow test /gapplication/no-replace executed in 0.50 secs
906s # Start of command-line tests
906s # /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
906s ok 20 /gapplication/command-line/arguments
906s # End of command-line tests
906s # Start of dbus tests
906s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # Message 0
906s # Message 1
906s # Message 2
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 21 /gapplication/dbus/activate
906s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # Message 0
906s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
906s # Message 1
906s # Message 2
906s # Message 3
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 22 /gapplication/dbus/open
906s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # Message 0
906s # Message 1
906s # Message 2
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 23 /gapplication/dbus/command-line
906s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 24 /gapplication/dbus/command-line-done
906s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
906s # Message 0
906s # Message 1
906s # Message 2
906s # Message 3
906s # Message 4
906s # Message 5
906s # Message 6
906s # Message 7
906s # Message 8
906s # Message 9
906s # Message 10
906s # Message 11
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
906s ok 25 /gapplication/dbus/activate-action
906s # End of dbus tests
906s # End of gapplication tests
906s TAP version 14
906s # random seed: R02Sb0015805b99e092e8e7bc94a0f08a505
906s 1..3
906s # Start of converter tests
906s ok 1 /converter/bytes
906s ok 2 /converter/extra-bytes-at-end
906s ok 3 /converter/gzip-os-property
906s # End of converter tests
906s ok - glib/gapplication.test
906s # Running test: glib/converter.test
906s ok - glib/converter.test
906s # Running test: glib/registered-type-info.test
906s ok - glib/registered-type-info.test
906s # Running test: glib/utf8-pointer.test
906s TAP version 14
906s # random seed: R02S87f9ada7b98031b6e5db07c43cf28491
906s 1..1
906s # Start of registered-type-info tests
906s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/home
906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/cache
906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/system-config2
906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/config
906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/system-data2
906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/data
906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/state
906s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_3IPHK3/registered-type-info/boxed/.dirs/runtime
906s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
906s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo
906s # Expecting CClosure to not be boxed
906s # Expecting TypeCValue to not be boxed
906s # Expecting InitiallyUnownedClass to not be boxed
906s # Expecting BookmarkFile to be boxed
906s # Expecting Closure to be boxed
906s # Expecting Object to not be boxed
906s ok 1 /registered-type-info/boxed
906s # End of registered-type-info tests
906s TAP version 14
906s # random seed: R02S04739f3284b838aa73826327b9a1fe4f
906s 1..3
906s # Start of utf8 tests
907s # Executing: glib/utf8-pointer.test
907s ok 1 /utf8/offsets
907s # slow test /utf8/offsets executed in 0.80 secs
907s ok 2 /utf8/lengths
907s ok 3 /utf8/find
907s # End of utf8 tests
907s ok - glib/utf8-pointer.test
907s # Running test: glib/markup.test
907s ok - glib/markup.test
907s # Running test: glib/mainloop.test
907s TAP version 14
907s # random seed: R02S223e38a367f447a0b39809aebf35fc5a
907s 1..1
907s # Start of markup tests
907s ok 1 /markup/stack
907s # End of markup tests
907s TAP version 14
907s # random seed: R02Sc41b54c90d26491d0e8781cdb659d4ff
907s 1..47
907s # Start of maincontext tests
907s ok 1 /maincontext/basic
907s # Add same-priority sources: 9
907s # Find each source: 1
907s # Remove in random order: 9
907s ok 2 /maincontext/nsources_same_priority
907s # Add different-priority sources: 10
907s # Find each source: 1
907s # Remove in random order: 12
907s ok 3 /maincontext/nsources_different_priority
907s # Add sources from threads: 43
907s # Remove sources from threads: 33
907s ok 4 /maincontext/nsources_threadpool
907s ok 5 /maincontext/source_finalization
907s # /maincontext/idle-once summary: Test g_idle_add_once() works
907s ok 6 /maincontext/idle-once
907s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
907s ok 7 /maincontext/timeout-once
907s # /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.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725
907s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref
907s # Start of source_finalization_from_source tests
907s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 9 /maincontext/source_finalization_from_source/0
907s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 10 /maincontext/source_finalization_from_source/1
907s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 11 /maincontext/source_finalization_from_source/2
907s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 12 /maincontext/source_finalization_from_source/3
907s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 13 /maincontext/source_finalization_from_source/4
907s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 14 /maincontext/source_finalization_from_source/5
907s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 15 /maincontext/source_finalization_from_source/6
907s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 16 /maincontext/source_finalization_from_source/7
907s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 17 /maincontext/source_finalization_from_source/8
907s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
907s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
907s ok 18 /maincontext/source_finalization_from_source/9
907s # End of source_finalization_from_source tests
907s # Start of source_finalization_from_dispatch tests
907s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
907s ok 19 /maincontext/source_finalization_from_dispatch/0
907s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
907s ok 20 /maincontext/source_finalization_from_dispatch/1
907s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
907s ok 21 /maincontext/source_finalization_from_dispatch/2
907s # End of source_finalization_from_dispatch tests
907s # End of maincontext tests
907s # Start of mainloop tests
907s ok 22 /mainloop/basic
907s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test
907s ok 24 /mainloop/priorities
908s ok 25 /mainloop/invoke
908s # slow test /mainloop/invoke executed in 0.50 secs
909s ok 26 /mainloop/child_sources
909s # slow test /mainloop/child_sources executed in 1.17 secs
911s ok 27 /mainloop/recursive_child_sources
911s # slow test /mainloop/recursive_child_sources executed in 2.14 secs
911s ok 28 /mainloop/recursive_loop_child_sources
911s ok 29 /mainloop/swapping_child_sources
911s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
911s ok 30 /mainloop/blocked_child_sources
912s # Executing: glib/mainloop.test
912s ok 31 /mainloop/source_time
912s # slow test /mainloop/source_time executed in 1.00 secs
912s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
912s ok 32 /mainloop/overflow
913s ok 33 /mainloop/ready-time
913s # slow test /mainloop/ready-time executed in 0.50 secs
913s ok 34 /mainloop/wakeup
913s ok 35 /mainloop/remove-invalid
913s ok 36 /mainloop/unref-while-pending
913s ok 37 /mainloop/unix-fd
913s ok 38 /mainloop/unix-fd-source
913s ok 39 /mainloop/source-unix-fd-api
913s ok 40 /mainloop/wait
913s ok 41 /mainloop/unix-file-poll
913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
913s ok 42 /mainloop/unix-fd-priority
913s ok 43 /mainloop/nfds
913s ok 44 /mainloop/steal-fd
914s ok - glib/mainloop.test
914s ok 45 /mainloop/simultaneous-source-context-destruction
914s # slow test /mainloop/simultaneous-source-context-destruction executed in 0.55 secs
914s # Start of ownerless-polling tests
914s ok 46 /mainloop/ownerless-polling/attach-first
914s ok 47 /mainloop/ownerless-polling/pop-first
914s # End of ownerless-polling tests
914s # End of mainloop tests
914s # Running test: glib/portal-support-flatpak-gsettings-only.test
914s ok - glib/portal-support-flatpak-gsettings-only.test
914s TAP version 14
914s # random seed: R02S55672aeb1043ac42258ce23c3140e97a
914s 1..1
914s # Start of portal-support tests
914s # Start of flatpak tests
914s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/home
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/cache
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/system-config2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/config
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/system-data2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/data
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/state
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/runtime
914s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_NJV6J3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info
914s ok 1 /portal-support/flatpak/gsettings
914s # End of flatpak tests
914s # End of portal-support tests
914s # Running test: glib/scannerapi.test
914s TAP version 14
914s # random seed: R02Sd3c72d596f2c62e4a89585f3bad0c691
914s 1..8
914s # Start of scanner tests
914s ok 1 /scanner/warn
914s ok 2 /scanner/error
914s ok 3 /scanner/symbols
914s ok 4 /scanner/tokens
914s ok - glib/scannerapi.test
914s # Running test: glib/gdbus-bz627724.test
914s ok - glib/gdbus-bz627724.test
914s # Running test: glib/dump.test
914s ok - glib/dump.test
914s # Running test: glib/sleepy-stream.test
914s ok - glib/sleepy-stream.test
914s ok 5 /scanner/multiline-comment
914s ok 6 /scanner/int-to-float
914s ok 7 /scanner/fd-input
914s # Start of fd-input tests
914s ok 8 /scanner/fd-input/rewind
914s # End of fd-input tests
914s # End of scanner tests
914s TAP version 14
914s # random seed: R02S189904d9c4b08537e59604e246f14d8a
914s 1..1
914s # Start of gdbus tests
914s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/home
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/cache
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/system-config2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/config
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/system-data2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/data
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/state
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_BCT6J3/gdbus/bz627724/.dirs/runtime
914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
914s ok 1 /gdbus/bz627724
914s # End of gdbus tests
914s TAP version 14
914s # random seed: R02Sc64b1bd48b9edb3fd9ef9383db63b265
914s 1..4
914s # Start of dump tests
914s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/home
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/cache
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/system-config2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/config
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/system-data2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/data
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/state
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FDQ6J3/dump/empty-file/.dirs/runtime
914s ok 1 /dump/empty-file
914s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/home
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/cache
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/system-config2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/config
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/system-data2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/data
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/state
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FDQ6J3/dump/missing-get-type/.dirs/runtime
914s Invalid GType function: 'does_not_exist_get_type'
914s ok 2 /dump/missing-get-type
914s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/home
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/cache
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/system-config2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/config
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/system-data2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/data
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/state
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FDQ6J3/dump/missing-quark/.dirs/runtime
914s Invalid error quark function: 'does_not_exist_error'
914s ok 3 /dump/missing-quark
914s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FDQ6J3/dump/basic/.dirs/home
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FDQ6J3/dump/basic/.dirs/cache
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FDQ6J3/dump/basic/.dirs/system-config1:/tmp/test_dump_FDQ6J3/dump/basic/.dirs/system-config2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FDQ6J3/dump/basic/.dirs/config
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FDQ6J3/dump/basic/.dirs/system-data1:/tmp/test_dump_FDQ6J3/dump/basic/.dirs/system-data2
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FDQ6J3/dump/basic/.dirs/data
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FDQ6J3/dump/basic/.dirs/state
914s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FDQ6J3/dump/basic/.dirs/runtime
914s ok 4 /dump/basic
914s # End of dump tests
914s TAP version 14
914s # random seed: R02Sce77f19c0cd5bb4100d887c611c65f5c
914s 1..2
914s # Start of filter-stream tests
914s ok 1 /filter-stream/input
914s ok 2 /filter-stream/async
914s # End of filter-stream tests
914s # Running test: glib/gio-tool.py.test
914s TAP version 13
914s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder
914s # gio: /usr/bin/gio
914s # tmpdir: /tmp/tmpwj9221mx
914s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpwj9221mx/folder/desktop.entry']
914s # Working Directory: /tmp/tmpwj9221mx/folder
914s # Return code: 0
914s # Output:
914s # /tmp/tmpwj9221mx/folder/desktop.entry
914s # Error:
914s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent
914s # gio: /usr/bin/gio
914s # tmpdir: /tmp/tmpcyr1uyb6
914s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpcyr1uyb6/folder/desktop.entry']
914s # Working Directory: /tmp/tmpcyr1uyb6
914s # Return code: 0
914s # Output:
914s # /tmp/tmpcyr1uyb6/folder/desktop.entry
914s # Error:
914s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling
914s # gio: /usr/bin/gio
914s # tmpdir: /tmp/tmp1u11prs5
914s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp1u11prs5/folder/desktop.entry']
914s # Working Directory: /tmp/tmp1u11prs5/sibling
914s # Return code: 0
914s # Output:
914s # /tmp/tmp1u11prs5/folder/desktop.entry
914s # Error:
914s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder
914s # gio: /usr/bin/gio
914s # tmpdir: /tmp/tmp_se1jaol
914s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry']
914s # Working Directory: /tmp/tmp_se1jaol/folder
914s # Return code: 0
914s # Output:
914s # /tmp/tmp_se1jaol/folder/desktop.entry
914s # Error:
914s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent
914s # gio: /usr/bin/gio
914s # tmpdir: /tmp/tmpwwneyggb
914s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry']
914s # Working Directory: /tmp/tmpwwneyggb
914s # Return code: 0
914s # Output:
914s # /tmp/tmpwwneyggb/folder/desktop.entry
914s # Error:
914s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling
914s # gio: /usr/bin/gio
914s # tmpdir: /tmp/tmp3901dhz2
914s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry']
914s # Working Directory: /tmp/tmp3901dhz2/sibling
914s # Return code: 0
914s # Output:
914s # /tmp/tmp3901dhz2/folder/desktop.entry
914s # Error:
914s ok 7 __main__.TestGioTool.test_help
914s # gio: /usr/bin/gio
914s # tmpdir: /tmp/tmpdqzthobp
914s # Running: ['/usr/bin/gio', '--help']
914s # Return code: 0
914s # Output:
914s # Usage:
914s # gio COMMAND [ARGS…]
914s #
914s # Commands:
914s # help Print help
914s # version Print version
914s # cat Concatenate files to standard output
914s # copy Copy one or more files
914s # info Show information about locations
914s # launch Launch an application from a desktop file
914s # list List the contents of locations
914s # mime Get or set the handler for a mimetype
914s # mkdir Create directories
914s # monitor Monitor files and directories for changes
914s # mount Mount or unmount the locations
914s # move Move one or more files
914s # open Open files with the default application
914s # rename Rename a file
914s # remove Delete one or more files
914s # save Read from standard input and save
914s # set Set a file attribute
914s # trash Move files or directories to the trash
914s # tree Lists the contents of locations in a tree
914s #
914s # Use “gio help COMMAND” to get detailed help.
914s # Error:
914s #
914s # Running: ['/usr/bin/gio', 'help']
914s # Return code: 0
914s # Output:
914s # Usage:
914s # gio COMMAND [ARGS…]
914s #
914s # Commands:
914s # help Print help
914s # version Print version
914s # cat Concatenate files to standard output
914s # copy Copy one or more files
914s # info Show information about locations
914s # launch Launch an application from a desktop file
914s # list List the contents of locations
914s # mime Get or set the handler for a mimetype
914s # mkdir Create directories
914s # monitor Monitor files and directories for changes
914s # mount Mount or unmount the locations
914s # move Move one or more files
914s # open Open files with the default application
914s # rename Rename a file
914s # remove Delete one or more files
914s # save Read from standard input and save
914s # set Set a file attribute
914s # trash Move files or directories to the trash
914s # tree Lists the contents of locations in a tree
914s #
914s # Use “gio help COMMAND” to get detailed help.
914s # Error:
914s ok 8 __main__.TestGioTool.test_info_non_default_attributes
914s # gio: /usr/bin/gio
914s # tmpdir: /tmp/tmpsueikfg2
914s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpsueikfg2/tmpjysxaiq3']
914s # Return code: 0
914s # Output:
914s # uri: file:///tmp/tmpsueikfg2/tmpjysxaiq3
914s # local path: /tmp/tmpsueikfg2/tmpjysxaiq3
914s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30
914s # attributes:
914s # standard::content-type: application/x-zerosize
914s # Error:
914s ok 9 __main__.TestGioTool.test_no_args
914s # gio: /usr/bin/gio
914s # tmpdir: /tmp/tmpnj4p8uhr
914s # Running: ['/usr/bin/gio']
914s # Return code: 1
914s # Output:
914s #
914s # Error:
914s # Usage:
914s # gio COMMAND [ARGS…]
914s #
914s # Commands:
914s # help Print help
914s # version Print version
914s # cat Concatenate files to standard output
914s # copy Copy one or more files
914s # info Show information about locations
914s # launch Launch an application from a desktop file
914s # list List the contents of locations
914s # mime Get or set the handler for a mimetype
914s # mkdir Create directories
914s # monitor Monitor files and directories for changes
914s # mount Mount or unmount the locations
914s # move Move one or more files
914s # open Open files with the default application
914s # rename Rename a file
914s # remove Delete one or more files
914s # save Read from standard input and save
914s # set Set a file attribute
914s # trash Move files or directories to the trash
914s # tree Lists the contents of locations in a tree
914s #
914s # Use “gio help COMMAND” to get detailed help.
914s 1..9
914s ok - glib/gio-tool.py.test
914s # Running test: glib/data-input-stream.test
914s TAP version 14
914s # random seed: R02Sa51b273bdd6c2cb1a03128b836200eaf
914s 1..10
914s # Start of data-input-stream tests
914s ok 1 /data-input-stream/basic
914s ok 2 /data-input-stream/read-lines-LF
914s ok 3 /data-input-stream/read-lines-LF-valid-utf8
914s ok 4 /data-input-stream/read-lines-LF-invalid-utf8
914s ok 5 /data-input-stream/read-lines-CR
914s ok 6 /data-input-stream/read-lines-CR-LF
914s ok 7 /data-input-stream/read-lines-any
914s ok 8 /data-input-stream/read-until
914s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^
914s # Test vector 1: {"key": "value"}? and ?
914s ok 9 /data-input-stream/read-upto
914s ok 10 /data-input-stream/read-int
914s # End of data-input-stream tests
914s ok - glib/data-input-stream.test
914s # Running test: glib/converter-stream.test
914s TAP version 14
914s # random seed: R02Sb14acedd12f4436c5c33b58bc2989e1f
914s 1..17
914s # Start of converter tests
914s ok 1 /converter/basics
914s # End of converter tests
914s # Start of converter-input-stream tests
914s ok 2 /converter-input-stream/expander
914s ok 3 /converter-input-stream/compressor
914s # Start of truncation tests
914s ok 4 /converter-input-stream/truncation/zlib
914s ok 5 /converter-input-stream/truncation/gzip
914s ok 6 /converter-input-stream/truncation/raw
914s # End of truncation tests
914s # Start of charset tests
914s ok 7 /converter-input-stream/charset/utf8->latin1
914s ok 8 /converter-input-stream/charset/latin1->utf8
914s ok 9 /converter-input-stream/charset/fallbacks
914s # End of charset tests
914s # End of converter-input-stream tests
914s # Start of converter-output-stream tests
914s # Start of roundtrip tests
914s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
914s ok 10 /converter-output-stream/roundtrip/zlib-0
914s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
914s ok 11 /converter-output-stream/roundtrip/zlib-9
914s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
914s ok 12 /converter-output-stream/roundtrip/gzip-0
914s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
915s ok 13 /converter-output-stream/roundtrip/gzip-9
915s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
915s ok 14 /converter-output-stream/roundtrip/raw-0
915s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
915s ok 15 /converter-output-stream/roundtrip/raw-9
915s # End of roundtrip tests
915s # End of converter-output-stream tests
915s # Start of converter-stream tests
915s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
915s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60aebd69dae0 and GSocketClientAsyncConnectData 0x60aebd696240
915s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
915s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
915s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60aebd2dcbd0 for GSocketClientAsyncConnectData 0x60aebd696240
915s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
915s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
915s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
915s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
915s ok 16 /converter-stream/pollable
915s ok 17 /converter-stream/leftover
915s # End of converter-stream tests
915s ok - glib/converter-stream.test
915s # Running test: glib/testing-nonfatal.test
915s TAP version 14
915s # random seed: R02S03f93f6d80d450fada89eb22138e8d6f
915s **
915s 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?")
915s # 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?")
915s ok - glib/testing-nonfatal.test
915s # Running test: glib/tls-certificate.test
915s TAP version 14
915s # random seed: R02S932eae33f7135caadc39b9900ca73de1
915s 1..19
915s # Start of tls-certificate tests
915s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’
915s ok 1 /tls-certificate/pem-parser
915s ok 2 /tls-certificate/pem-parser-handles-chain
915s ok 3 /tls-certificate/from_file
915s ok 4 /tls-certificate/from_files
915s ok 5 /tls-certificate/from_files_crlf
915s ok 6 /tls-certificate/from_files_pkcs8
915s ok 7 /tls-certificate/from_files_pkcs8enc
915s ok 8 /tls-certificate/list_from_file
915s ok 9 /tls-certificate/pkcs11-uri
915s ok 10 /tls-certificate/pkcs11-uri-unsupported
915s ok 11 /tls-certificate/from_pkcs12
915s ok 12 /tls-certificate/from_pkcs12_file
915s ok 13 /tls-certificate/not-valid-before
915s ok 14 /tls-certificate/not-valid-after
915s ok 15 /tls-certificate/subject-name
915s ok 16 /tls-certificate/issuer-name
915s ok 17 /tls-certificate/dns-names
915s ok - glib/tls-certificate.test
915s ok 18 /tls-certificate/ip-addresses
915s ok 19 /tls-certificate/pem-parser-no-sentinel
915s # End of tls-certificate tests
915s # Running test: glib/once.test
915s TAP version 14
915s # random seed: R02Sc97dba2e78da6bdecea02637f90a511e
915s 1..5
915s # Start of once tests
915s # /once/single-threaded summary: Test g_once() usage from a single thread
915s ok 1 /once/single-threaded
915s # /once/multi-threaded summary: Test g_once() usage from multiple threads
915s ok 2 /once/multi-threaded
915s # End of once tests
915s # Start of once-init tests
915s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread
915s ok 3 /once-init/single-threaded
915s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads
915s ok 4 /once-init/multi-threaded
915s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string
915s ok 5 /once-init/string
915s # End of once-init tests
915s ok - glib/once.test
915s # Running test: glib/giomodule.test
915s TAP version 14
915s ok - glib/giomodule.test
915s # Running test: glib/live-g-file.test
915s # random seed: R02S4b85b317ff9b44ca04d19a201eb4a122
915s 1..3
915s # Start of giomodule tests
915s ok 1 /giomodule/extension-point
915s ok 2 /giomodule/module-scan-all
915s ok 3 /giomodule/module-scan-all-with-scope
915s # End of giomodule tests
915s TAP version 14
915s # random seed: R02S243973707f5ee5ad58c53a040b253531
915s 1..13
915s # Start of live-g-file tests
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/prep_clean_structure/.dirs/runtime
915s # Cleaning target testing structure in '/tmp/test_live-g-file_8FE9J3/testdir_live-g-file'...
915s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
915s ok 1 /live-g-file/prep_clean_structure
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/create_structure/.dirs/runtime
915s #
915s # Going to create testing structure in '/tmp/test_live-g-file_8FE9J3/testdir_live-g-file'...
915s # Creating directory 'dir1'...
915s # Creating directory 'dir1/subdir'...
915s # Creating directory 'dir2'...
915s # Creating directory 'dir-target'...
915s # Creating directory 'dir_no-access'...
915s # Creating directory 'dir_no-write'...
915s # Creating file 'target-file'...
915s # Creating file 'normal_file'...
915s # Creating symlink 'normal_file-symlink' --> 'normal_file'...
915s # Creating file 'executable_file'...
915s # Creating file 'private_file'...
915s # Creating file 'normal_file2'...
915s # Creating file 'readonly_file'...
915s # Creating file 'UTF_příliš z'...
915s # Creating directory 'dir_příliš z'...
915s # Creating symlink 'lost_symlink' --> 'nowhere'...
915s # Creating directory 'dir_hidden'...
915s # Creating file 'dir_hidden/.a-hidden-file'...
915s # Creating file 'dir_hidden/file-in-.hidden1'...
915s # Creating file 'dir_hidden/file-in-.hidden2'...
915s # Creating pattern file...
915s # done.
915s ok 2 /live-g-file/create_structure
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_initial_structure/.dirs/runtime
915s # Testing sample structure in '/tmp/test_live-g-file_8FE9J3/testdir_live-g-file'...
915s # Testing file 'dir1'...
915s # Testing file 'dir1/subdir'...
915s # Testing file 'dir2'...
915s # Testing file 'dir-target'...
915s # Testing file 'dir_no-access'...
915s # Testing file 'dir_no-write'...
915s # Testing file 'target-file'...
915s # Testing file 'normal_file'...
915s # Testing file 'normal_file-symlink'...
915s # Testing file 'executable_file'...
915s # Testing file 'private_file'...
915s # Testing file 'normal_file2'...
915s # Testing file 'readonly_file'...
915s # Testing file 'UTF_příliš z'...
915s # Testing file 'dir_příliš z'...
915s # Testing file 'lost_symlink'...
915s # Testing file 'dir_hidden'...
915s # Testing file 'dir_hidden/.a-hidden-file'...
915s # Testing file 'dir_hidden/file-in-.hidden1'...
915s # Testing file 'dir_hidden/file-in-.hidden2'...
915s # Testing pattern file...
915s # read 65536 bytes, total = 65536 of 65536.
915s ok 3 /live-g-file/test_initial_structure
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_traverse_structure/.dirs/runtime
915s # Traversing through the sample structure in '/tmp/test_live-g-file_8FE9J3/testdir_live-g-file'...
915s # Found file dir1, relative to root: dir1
915s # Found file subdir, relative to root: dir1/subdir
915s # Found file dir2, relative to root: dir2
915s # Found file dir-target, relative to root: dir-target
915s # Found file dir_no-access, relative to root: dir_no-access
915s # Found file dir_no-write, relative to root: dir_no-write
915s # Found file target-file, relative to root: target-file
915s # Found file normal_file, relative to root: normal_file
915s # Found file normal_file-symlink, relative to root: normal_file-symlink
915s # Found file executable_file, relative to root: executable_file
915s # Found file private_file, relative to root: private_file
915s # Found file normal_file2, relative to root: normal_file2
915s # Found file readonly_file, relative to root: readonly_file
915s # Found file UTF_příliš z, relative to root: UTF_příliš z
915s # Found file dir_příliš z, relative to root: dir_příliš z
915s # Found file lost_symlink, relative to root: lost_symlink
915s # Found file dir_hidden, relative to root: dir_hidden
915s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file
915s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1
915s # Found file .hidden, relative to root: dir_hidden/.hidden
915s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2
915s # Found file pattern_file, relative to root: pattern_file
915s ok 4 /live-g-file/test_traverse_structure
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_enumerate/.dirs/runtime
915s # Test enumerate '/tmp/test_live-g-file_8FE9J3/testdir_live-g-file'...
915s # Testing file 'dir_no-access'
915s # Testing file 'normal_file'
915s # Testing file 'normal_file-symlink'
915s # Testing file 'not_exists'
915s # Testing file 'not_exists'
915s # Testing file 'not_exists2'
915s # Testing file 'not_exists3'
915s # Testing file 'not_exists4'
915s # Testing file 'dir_no-execute/file'
915s ok 5 /live-g-file/test_enumerate
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_open/.dirs/runtime
915s # test_open: 'dir1'
915s # test_open: 'dir_no-access'
915s # test_open: 'target-file'
915s # test_open: 'normal_file-symlink'
915s # test_open: 'executable_file'
915s # test_open: 'private_file'
915s # test_open: 'readonly_file'
915s # test_open: 'UTF_příliš z'
915s # test_open: 'pattern_file'
915s # test_open: 'not_exists'
915s # test_open: 'dir_no-execute/file'
915s # test_open: 'lost_symlink'
915s ok 6 /live-g-file/test_open
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_create/.dirs/runtime
915s # test_create: 'dir1'
915s # error code 3 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir1”: Is a directory
915s # test_create: 'dir1/subdir'
915s # error code 3 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir1/subdir”: Is a directory
915s # test_create: 'dir2'
915s # error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir2”: File exists
915s # test_create: 'normal_file'
915s # error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/normal_file”: File exists
915s # test_create: 'executable_file'
915s # test_create: 'private_file'
915s # test_create: 'normal_file2'
915s # test_create: 'UTF_příliš z'
915s # error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/UTF_příliš z”: File exists
915s # test_create: 'dir_příliš z'
915s # error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_příliš z”: File exists
915s # test_create: 'pattern_file'
915s # test_create: 'not_exists2'
915s # test_create: 'not_exists3'
915s # test_create: 'not_exists4'
915s ok 7 /live-g-file/test_create
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_copy_move/.dirs/runtime
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir1/subdir' --> 'dir-target'
915s # res = 0, error code 25 = Can’t recursively copy directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir1/subdir' --> '.'
915s # res = 0, error code 2 = Target file exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir1/subdir' --> 'target-file'
915s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir1/subdir' --> 'not_exists'
915s # res = 0, error code 25 = Can’t recursively copy directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir1/subdir' --> 'dir_no-access'
915s # res = 0, error code 25 = Can’t recursively copy directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir1/subdir' --> 'dir_no-write'
915s # res = 0, error code 25 = Can’t recursively copy directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir2' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir-target' --> 'dir-target'
915s # res = 0, error code 25 = Can’t recursively copy directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir-target' --> '.'
915s # res = 0, error code 2 = Target file exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir-target' --> 'target-file'
915s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/dir-target”: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir-target' --> 'not_exists'
915s # res = 0, error code 25 = Can’t recursively copy directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir-target' --> 'dir_no-access'
915s # res = 0, error code 25 = Can’t recursively copy directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'dir-target' --> 'dir_no-write'
915s # res = 0, error code 25 = Can’t recursively copy directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'target-file' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'target-file' --> '.'
915s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file”: File exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'target-file' --> 'target-file'
915s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/target-file”: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'target-file' --> 'not_exists'
915s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists/target-file”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'target-file' --> 'dir_no-access'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-access/target-file”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'target-file' --> 'dir_no-write'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-write/target-file”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file-symlink' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file-symlink' --> '.'
915s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/normal_file-symlink: File exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file-symlink' --> 'target-file'
915s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file-symlink' --> 'not_exists'
915s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access'
915s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write'
915s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'executable_file' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'executable_file' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'executable_file' --> '.'
915s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/executable_file”: File exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'executable_file' --> 'target-file'
915s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/executable_file”: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'executable_file' --> 'not_exists'
915s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists/executable_file”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'executable_file' --> 'dir_no-access'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'executable_file' --> 'dir_no-write'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'private_file' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'private_file' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'private_file' --> '.'
915s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/private_file”: File exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'private_file' --> 'target-file'
915s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/private_file”: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'private_file' --> 'not_exists'
915s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists/private_file”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'private_file' --> 'dir_no-access'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-access/private_file”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'private_file' --> 'dir_no-write'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-write/private_file”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file2' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file2' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file2' --> '.'
915s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/normal_file2”: File exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file2' --> 'target-file'
915s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/normal_file2”: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file2' --> 'not_exists'
915s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file2' --> 'dir_no-access'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'normal_file2' --> 'dir_no-write'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'UTF_příliš z' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'UTF_příliš z' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'UTF_příliš z' --> '.'
915s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/UTF_příliš z”: File exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'UTF_příliš z' --> 'target-file'
915s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'UTF_příliš z' --> 'not_exists'
915s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'pattern_file' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'pattern_file' --> '.'
915s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/pattern_file”: File exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'pattern_file' --> 'target-file'
915s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/pattern_file”: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'pattern_file' --> 'not_exists'
915s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'pattern_file' --> 'dir_no-access'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'pattern_file' --> 'dir_no-write'
915s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'not_exists' --> 'dir-target'
915s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'not_exists' --> '.'
915s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'not_exists' --> 'target-file'
915s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'not_exists' --> 'not_exists'
915s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'not_exists' --> 'dir_no-access'
915s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'not_exists' --> 'dir_no-write'
915s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists”: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'not_exists' --> 'dir-target'
915s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'lost_symlink' --> 'dir-target'
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'lost_symlink' --> '.'
915s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/lost_symlink: File exists
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'lost_symlink' --> 'target-file'
915s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/target-file/lost_symlink: Not a directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'lost_symlink' --> 'not_exists'
915s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'lost_symlink' --> 'dir_no-access'
915s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s # do_copy_move: 'lost_symlink' --> 'dir_no-write'
915s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied
915s ok 8 /live-g-file/test_copy_move
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_delete/.dirs/runtime
915s # Deleting dir1, path = /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir1
915s # result = 0, error = Error removing file /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir1: Directory not empty
915s # Deleting dir2, path = /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir2
915s # result = 0, error = Error removing file /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir2: No such file or directory
915s # Deleting executable_file, path = /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/executable_file
915s # result = 0, error = Error trashing file /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/executable_file: No such file or directory
915s # Deleting readonly_file, path = /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/readonly_file
915s # Deleting dir_příliš z, path = /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_příliš z
915s # Deleting not_exists, path = /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists
915s # result = 0, error = Error removing file /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists: No such file or directory
915s # Deleting not_exists, path = /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists
915s # result = 0, error = Error trashing file /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/not_exists: No such file or directory
915s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-execute/file
915s # result = 0, error = Error removing file /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/dir_no-execute/file: No such file or directory
915s # Deleting lost_symlink, path = /tmp/test_live-g-file_8FE9J3/testdir_live-g-file/lost_symlink
915s ok 9 /live-g-file/test_delete
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_make_directory_with_parents/.dirs/runtime
915s # We do not have CAP_DAC_OVERRIDE or equivalent
915s ok 10 /live-g-file/test_make_directory_with_parents
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/final_clean/.dirs/runtime
915s # Cleaning target testing structure in '/tmp/test_live-g-file_8FE9J3/testdir_live-g-file'...
915s # deleting 'dir1'
915s # deleting 'subdir'
915s # deleting 'dir-target'
915s # deleting 'dir2'
915s # deleting 'target-file'
915s # deleting 'normal_file-symlink'
915s # deleting 'pattern_file'
915s # deleting 'executable_file'
915s # deleting 'private_file'
915s # deleting 'normal_file2'
915s # deleting 'UTF_příliš z'
915s # deleting 'lost_symlink'
915s # deleting 'dir_no-access'
915s # deleting 'dir_no-write'
915s # deleting 'target-file'
915s # deleting 'normal_file'
915s # deleting 'normal_file-symlink'
915s # deleting 'executable_file~'
915s # deleting 'private_file'
915s # deleting 'normal_file2~'
915s # deleting 'a'
915s # deleting 'UTF_příliš z'
915s # deleting 'dir_hidden'
915s # deleting '.a-hidden-file'
915s # deleting 'file-in-.hidden1'
915s # deleting '.hidden'
915s # deleting 'file-in-.hidden2'
915s # deleting 'pattern_file'
915s # deleting 'executable_file'
915s # deleting 'normal_file2'
915s # deleting 'not_exists2'
915s # deleting 'not_exists3'
915s # deleting 'not_exists4'
915s ok 11 /live-g-file/final_clean
915s # Start of test_unix_is_mountpoint tests
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime
915s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_8FE9J3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime
915s ok 13 /live-g-file/test_unix_is_mountpoint/proc
915s # End of test_unix_is_mountpoint tests
915s # End of live-g-file tests
915s TAP version 14
915s # random seed: R02S64aed5478e65a9091c210441ad999877
915s 1..4
915s # Start of repository tests
915s # Start of search-paths tests
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/default/.dirs/runtime
915s ok 1 /repository/search-paths/default
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2AV9J3/repository/search-paths/prepend/.dirs/runtime
915s ok 2 /repository/search-paths/prepend
915s # End of search-paths tests
915s # Start of library-paths tests
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/default/.dirs/runtime
915s ok 3 /repository/library-paths/default
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_2AV9J3/repository/library-paths/prepend/.dirs/runtime
915s ok 4 /repository/library-paths/prepend
915s # End of library-paths tests
915s # End of repository tests
915s TAP version 14
915s # random seed: R02S871d9baa0b8aa488230dd8d36c3f4b46
915s 1..1
915s # Start of memory-monitor-psi tests
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_GKU9J3/memory-monitor-psi/receive-signal/.dirs/runtime
915s # GLib-GIO-DEBUG: Write trigger some 70000 2000000
915s # GLib-GIO-DEBUG: Write trigger some 100000 2000000
915s # GLib-GIO-DEBUG: Write trigger full 100000 2000000
915s # GLib-GIO-DEBUG: Send low memory signal with warning level 0
915s # GLib-GIO-DEBUG: Send low memory signal with warning level 1
915s # GLib-GIO-DEBUG: Send low memory signal with warning level 2
915s ok 1 /memory-monitor-psi/receive-signal
915s # End of memory-monitor-psi tests
915s ok - glib/live-g-file.test
915s # Running test: glib/repository-search-paths.test
915s ok - glib/repository-search-paths.test
915s # Running test: glib/memory-monitor-psi.test
915s ok - glib/memory-monitor-psi.test
915s # Running test: glib/autoptr-girepository.test
915s TAP version 14
915s # random seed: R02S9c64f8bbd8efab7325fd46f519c7f233
915s 1..24
915s # Start of autoptr tests
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/repository/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 1 /autoptr/repository
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/typelib/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 2 /autoptr/typelib
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/base-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 3 /autoptr/base-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/arg-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 4 /autoptr/arg-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/callable-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 5 /autoptr/callable-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/callback-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 6 /autoptr/callback-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/constant-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 7 /autoptr/constant-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/enum-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 8 /autoptr/enum-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/field-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 9 /autoptr/field-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/flags-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 10 /autoptr/flags-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/function-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 11 /autoptr/function-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/interface-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 12 /autoptr/interface-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/object-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 13 /autoptr/object-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/property-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 14 /autoptr/property-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/registered-type-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 15 /autoptr/registered-type-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/signal-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 16 /autoptr/signal-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/struct-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 17 /autoptr/struct-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/type-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 18 /autoptr/type-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/union-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 19 /autoptr/union-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/value-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 20 /autoptr/value-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/autoptr/vfunc-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 21 /autoptr/vfunc-info
915s # End of autoptr tests
915s # Start of auto tests
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/auto/arg-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 22 /auto/arg-info
915s ok - glib/autoptr-girepository.test
915s # Running test: glib/logging.test
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/auto/type-info/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 23 /auto/type-info
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_60FAK3/auto/function-invoker/.dirs/runtime
915s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
915s ok 24 /auto/function-invoker
915s # End of auto tests
915s TAP version 14
915s # random seed: R02S7fd5ab4bfbbde80a02bc5fc151a228e9
915s 1..20
915s # Start of logging tests
915s ok 1 /logging/default-handler
915s ok 2 /logging/journald-handler
915s ok 3 /logging/warnings
915s ok 4 /logging/fatal-log-mask
915s ok 5 /logging/always-fatal
915s # bu-DEBUG: message
915s # ba-DEBUG: message
915s # ba-INFO: message
915s ok 6 /logging/set-handler
915s ok 7 /logging/print-handler
915s ok 8 /logging/printerr-handler
915s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052
915s # The Log Message Handler
915s #
915s # The Good Fail Message Handler
915s #
915s ok 9 /logging/653052
915s ok 10 /logging/gibberish
915s # Start of default-handler tests
915s # Start of subprocess tests
915s # End of subprocess tests
915s # End of default-handler tests
915s # End of logging tests
915s # Start of structured-logging tests
915s ok 11 /structured-logging/no-state
915s ok 12 /structured-logging/some-state
915s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly.
915s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760
915s ok 13 /structured-logging/recursion-overflow
915s ok 14 /structured-logging/robustness
915s ok 15 /structured-logging/roundtrip1
915s ok 16 /structured-logging/roundtrip2
915s ok 17 /structured-logging/roundtrip3
915s ok 18 /structured-logging/variant1
915s ok 19 /structured-logging/variant2
915s ok 20 /structured-logging/set-writer-func-twice
915s # End of structured-logging tests
915s ok - glib/logging.test
915s # Running test: glib/utf8-validate.test
915s TAP version 14
915s # random seed: R02S4fad4e626e8d678ed4cb052469c2406c
915s 1..238
915s # Start of utf8 tests
915s # Vector 0
915s # Vector 1
915s # Vector 2
915s # Vector 3
915s ok - glib/utf8-validate.test
915s # Running test: glib/simple-async-result.test
915s # Vector 4
915s # Vector 5
915s # Vector 6
915s # Vector 7
915s # Vector 8
915s # Vector 9
915s # Vector 10
915s # Vector 11
915s # Vector 12
915s # Vector 13
915s # Vector 14
915s # Vector 15
915s # Vector 16
915s # Vector 17
915s # Vector 18
915s # Vector 19
915s # Vector 20
915s # Vector 21
915s # Vector 22
915s # Vector 23
915s # Vector 24
915s # Vector 25
915s # Vector 26
915s # Vector 27
915s ok 1 /utf8/get-char-validated
915s # Start of validate tests
915s ok 2 /utf8/validate/0
915s ok 3 /utf8/validate/1
915s ok 4 /utf8/validate/2
915s ok 5 /utf8/validate/3
915s ok 6 /utf8/validate/4
915s ok 7 /utf8/validate/5
915s ok 8 /utf8/validate/6
915s ok 9 /utf8/validate/7
915s ok 10 /utf8/validate/8
915s ok 11 /utf8/validate/9
915s ok 12 /utf8/validate/10
915s ok 13 /utf8/validate/11
915s ok 14 /utf8/validate/12
915s ok 15 /utf8/validate/13
915s ok 16 /utf8/validate/14
915s ok 17 /utf8/validate/15
915s ok 18 /utf8/validate/16
915s ok 19 /utf8/validate/17
915s ok 20 /utf8/validate/18
915s ok 21 /utf8/validate/19
915s ok 22 /utf8/validate/20
915s ok 23 /utf8/validate/21
915s ok 24 /utf8/validate/22
915s ok 25 /utf8/validate/23
915s ok 26 /utf8/validate/24
915s ok 27 /utf8/validate/25
915s ok 28 /utf8/validate/26
915s ok 29 /utf8/validate/27
915s ok 30 /utf8/validate/28
915s ok 31 /utf8/validate/29
915s ok 32 /utf8/validate/30
915s ok 33 /utf8/validate/31
915s ok 34 /utf8/validate/32
915s ok 35 /utf8/validate/33
915s ok 36 /utf8/validate/34
915s ok 37 /utf8/validate/35
915s ok 38 /utf8/validate/36
915s ok 39 /utf8/validate/37
915s ok 40 /utf8/validate/38
915s ok 41 /utf8/validate/39
915s ok 42 /utf8/validate/40
915s ok 43 /utf8/validate/41
915s ok 44 /utf8/validate/42
915s ok 45 /utf8/validate/43
915s ok 46 /utf8/validate/44
915s ok 47 /utf8/validate/45
915s ok 48 /utf8/validate/46
915s ok 49 /utf8/validate/47
915s ok 50 /utf8/validate/48
915s ok 51 /utf8/validate/49
915s ok 52 /utf8/validate/50
915s ok 53 /utf8/validate/51
915s ok 54 /utf8/validate/52
915s ok 55 /utf8/validate/53
915s ok 56 /utf8/validate/54
915s ok 57 /utf8/validate/55
915s ok 58 /utf8/validate/56
915s ok 59 /utf8/validate/57
915s ok 60 /utf8/validate/58
915s ok 61 /utf8/validate/59
915s ok 62 /utf8/validate/60
915s ok 63 /utf8/validate/61
915s ok 64 /utf8/validate/62
915s ok 65 /utf8/validate/63
915s ok 66 /utf8/validate/64
915s ok 67 /utf8/validate/65
915s ok 68 /utf8/validate/66
915s ok 69 /utf8/validate/67
915s ok 70 /utf8/validate/68
915s ok 71 /utf8/validate/69
915s ok 72 /utf8/validate/70
915s ok 73 /utf8/validate/71
915s ok 74 /utf8/validate/72
915s ok 75 /utf8/validate/73
915s ok 76 /utf8/validate/74
915s ok 77 /utf8/validate/75
915s ok 78 /utf8/validate/76
915s ok 79 /utf8/validate/77
915s ok 80 /utf8/validate/78
915s ok 81 /utf8/validate/79
915s ok 82 /utf8/validate/80
915s ok 83 /utf8/validate/81
915s ok 84 /utf8/validate/82
915s ok 85 /utf8/validate/83
915s ok 86 /utf8/validate/84
915s ok 87 /utf8/validate/85
915s ok 88 /utf8/validate/86
915s ok 89 /utf8/validate/87
915s ok 90 /utf8/validate/88
915s ok 91 /utf8/validate/89
915s ok 92 /utf8/validate/90
915s ok 93 /utf8/validate/91
915s ok 94 /utf8/validate/92
915s ok 95 /utf8/validate/93
915s ok 96 /utf8/validate/94
915s ok 97 /utf8/validate/95
915s ok 98 /utf8/validate/96
915s ok 99 /utf8/validate/97
915s ok 100 /utf8/validate/98
915s ok 101 /utf8/validate/99
915s ok 102 /utf8/validate/100
915s ok 103 /utf8/validate/101
915s ok 104 /utf8/validate/102
915s ok 105 /utf8/validate/103
915s ok 106 /utf8/validate/104
915s ok 107 /utf8/validate/105
915s ok 108 /utf8/validate/106
915s ok 109 /utf8/validate/107
915s ok 110 /utf8/validate/108
915s ok 111 /utf8/validate/109
915s ok 112 /utf8/validate/110
915s ok 113 /utf8/validate/111
915s ok 114 /utf8/validate/112
915s ok 115 /utf8/validate/113
915s ok 116 /utf8/validate/114
915s ok 117 /utf8/validate/115
915s ok 118 /utf8/validate/116
915s ok 119 /utf8/validate/117
915s ok 120 /utf8/validate/118
915s ok 121 /utf8/validate/119
915s ok 122 /utf8/validate/120
915s ok 123 /utf8/validate/121
915s ok 124 /utf8/validate/122
915s ok 125 /utf8/validate/123
915s ok 126 /utf8/validate/124
915s ok 127 /utf8/validate/125
915s ok 128 /utf8/validate/126
915s ok 129 /utf8/validate/127
915s ok 130 /utf8/validate/128
915s ok 131 /utf8/validate/129
915s ok 132 /utf8/validate/130
915s ok 133 /utf8/validate/131
915s ok 134 /utf8/validate/132
915s ok 135 /utf8/validate/133
915s ok 136 /utf8/validate/134
915s ok 137 /utf8/validate/135
915s ok 138 /utf8/validate/136
915s ok 139 /utf8/validate/137
915s ok 140 /utf8/validate/138
915s ok 141 /utf8/validate/139
915s ok 142 /utf8/validate/140
915s ok 143 /utf8/validate/141
915s ok 144 /utf8/validate/142
915s ok 145 /utf8/validate/143
915s ok 146 /utf8/validate/144
915s ok 147 /utf8/validate/145
915s ok 148 /utf8/validate/146
915s ok 149 /utf8/validate/147
915s ok 150 /utf8/validate/148
915s ok 151 /utf8/validate/149
915s ok 152 /utf8/validate/150
915s ok 153 /utf8/validate/151
915s ok 154 /utf8/validate/152
915s ok 155 /utf8/validate/153
915s ok 156 /utf8/validate/154
915s ok 157 /utf8/validate/155
915s ok 158 /utf8/validate/156
915s ok 159 /utf8/validate/157
915s ok 160 /utf8/validate/158
915s ok 161 /utf8/validate/159
915s ok 162 /utf8/validate/160
915s ok 163 /utf8/validate/161
915s ok 164 /utf8/validate/162
915s ok 165 /utf8/validate/163
915s ok 166 /utf8/validate/164
915s ok 167 /utf8/validate/165
915s ok 168 /utf8/validate/166
915s ok 169 /utf8/validate/167
915s ok 170 /utf8/validate/168
915s ok 171 /utf8/validate/169
915s ok 172 /utf8/validate/170
915s ok 173 /utf8/validate/171
915s ok 174 /utf8/validate/172
915s ok 175 /utf8/validate/173
915s ok 176 /utf8/validate/174
915s ok 177 /utf8/validate/175
915s ok 178 /utf8/validate/176
915s ok 179 /utf8/validate/177
915s ok 180 /utf8/validate/178
915s ok 181 /utf8/validate/179
915s ok 182 /utf8/validate/180
915s ok 183 /utf8/validate/181
915s ok 184 /utf8/validate/182
915s ok 185 /utf8/validate/183
915s ok 186 /utf8/validate/184
915s ok 187 /utf8/validate/185
915s ok 188 /utf8/validate/186
915s ok 189 /utf8/validate/187
915s ok 190 /utf8/validate/188
915s ok 191 /utf8/validate/189
915s ok 192 /utf8/validate/190
915s ok 193 /utf8/validate/191
915s ok 194 /utf8/validate/192
915s ok 195 /utf8/validate/193
915s ok 196 /utf8/validate/194
915s ok 197 /utf8/validate/195
915s ok 198 /utf8/validate/196
915s ok 199 /utf8/validate/197
915s ok 200 /utf8/validate/198
915s ok 201 /utf8/validate/199
915s ok 202 /utf8/validate/200
915s ok 203 /utf8/validate/201
915s ok 204 /utf8/validate/202
915s ok 205 /utf8/validate/203
915s ok 206 /utf8/validate/204
915s ok 207 /utf8/validate/205
915s ok 208 /utf8/validate/206
915s ok 209 /utf8/validate/207
915s ok 210 /utf8/validate/208
915s ok 211 /utf8/validate/209
915s ok 212 /utf8/validate/210
915s ok 213 /utf8/validate/211
915s ok 214 /utf8/validate/212
915s ok 215 /utf8/validate/213
915s ok 216 /utf8/validate/214
915s ok 217 /utf8/validate/215
915s ok 218 /utf8/validate/216
915s ok 219 /utf8/validate/217
915s ok 220 /utf8/validate/218
915s ok 221 /utf8/validate/219
915s ok 222 /utf8/validate/220
915s ok 223 /utf8/validate/221
915s ok 224 /utf8/validate/222
915s ok 225 /utf8/validate/223
915s ok 226 /utf8/validate/224
915s ok 227 /utf8/validate/225
915s ok 228 /utf8/validate/226
915s ok 229 /utf8/validate/227
915s ok 230 /utf8/validate/228
915s ok 231 /utf8/validate/229
915s ok 232 /utf8/validate/230
915s ok 233 /utf8/validate/231
915s ok 234 /utf8/validate/232
915s ok 235 /utf8/validate/233
915s ok 236 /utf8/validate/234
915s ok 237 /utf8/validate/235
915s ok 238 /utf8/validate/236
915s # End of validate tests
915s # End of utf8 tests
915s TAP version 14
915s # random seed: R02S00429c1d6b90a844b9ec8e0fbba348ed
915s 1..2
915s # Start of gio tests
915s # Start of simple-async-result tests
915s ok 1 /gio/simple-async-result/test
915s # GLib-GIO-DEBUG: GTask 0x59a4c2480b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
915s ok 2 /gio/simple-async-result/valid
915s # End of simple-async-result tests
915s # End of gio tests
915s ok - glib/simple-async-result.test
915s # Running test: glib/spawn-test.test
915s TAP version 14
915s # random seed: R02Scd38054497d3215d8b11978650c740f9
915s 1..2
915s # Start of spawn tests
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_C8E6J3/spawn/basics/.dirs/runtime
915s ok 1 /spawn/basics
915s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/home
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/cache
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/system-config2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/config
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/system-data2
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/data
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/state
915s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_C8E6J3/spawn/stdio-overwrite/.dirs/runtime
915s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16
915s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open
915s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed
915s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open
915s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed
915s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open
915s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed
915s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open
915s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed
915s # Fetching GSpawn result output with stdin open, stdout open, stderr open
915s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed
915s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open
915s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed
915s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open
915s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed
915s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open
915s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed
915s # Fetching GSpawn result error output with stdin open, stdout open, stderr open
915s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed
915s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open
915s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed
915s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open
915s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed
915s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open
915s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed
915s # Fetching GSpawn result with stdin open, stdout open, stderr open
915s # Fetching GSpawn result with stdin open, stdout open, stderr already closed
915s # Fetching GSpawn result with stdin open, stdout already closed, stderr open
915s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed
915s # Fetching GSpawn result with stdin already closed, stdout open, stderr open
915s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed
915s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open
915s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed
915s ok - glib/spawn-test.test
915s # Running test: glib/fileattributematcher.test
915s ok 2 /spawn/stdio-overwrite
915s # End of spawn tests
915s TAP version 14
915s # random seed: R02S6ff600c2c2baf3c827a4c8133254d473
915s 1..3
915s # Start of fileattributematcher tests
915s ok 1 /fileattributematcher/exact
915s ok 2 /fileattributematcher/equality
915s ok 3 /fileattributematcher/subtract
915s # End of fileattributematcher tests
915s ok - glib/fileattributematcher.test
915s # Running test: glib/debugcontroller.test
915s TAP version 14
915s # random seed: R02S0bf93bfdfb083c96ab6ce8870d1f1e45
915s 1..3
915s # Start of debug-controller tests
915s # Start of dbus tests
915s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
915s # GLib-GIO-DEBUG: Debug output enabled
915s # GLib-GIO-DEBUG: Debug output disabled
915s ok - glib/debugcontroller.test
915s # Running test: glib/gvariant.test
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s ok 1 /debug-controller/dbus/basic
915s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
915s ok 2 /debug-controller/dbus/duplicate
915s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
915s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102
915s # End of dbus tests
915s # End of debug-controller tests
915s TAP version 14
915s # random seed: R02S7bb3b9da1910b423bbdd644f300d8400
915s 1..69
915s # Start of gvariant tests
915s ok 1 /gvariant/type
915s ok 2 /gvariant/typeinfo
915s ok 3 /gvariant/string
915s ok 4 /gvariant/utf8
915s ok 5 /gvariant/utf8-new-strings
915s ok 6 /gvariant/containers
915s ok 7 /gvariant/format-strings
915s ok 8 /gvariant/invalid-varargs
915s ok 9 /gvariant/varargs
915s ok 10 /gvariant/valist
915s ok 11 /gvariant/builder-memory
915s ok 12 /gvariant/hashing
915s ok 13 /gvariant/byteswap
915s ok 14 /gvariant/parser
915s ok 15 /gvariant/parse-failures
915s ok 16 /gvariant/parse-positional
915s ok 17 /gvariant/floating
915s ok 18 /gvariant/bytestring
915s ok 19 /gvariant/lookup-value
915s ok 20 /gvariant/lookup
915s ok 21 /gvariant/compare
915s ok 22 /gvariant/equal
915s ok 23 /gvariant/fixed-array
915s ok 24 /gvariant/check-format-string
915s ok 25 /gvariant/checksum-basic
915s ok 26 /gvariant/checksum-nested
915s ok 27 /gvariant/gbytes
915s ok 28 /gvariant/print-context
915s ok 29 /gvariant/error-quark
915s ok 30 /gvariant/stack-builder-init
915s ok 31 /gvariant/stack-builder-init-static
915s ok 32 /gvariant/stack-builder-init-unset
915s ok 33 /gvariant/stack-dict-init
915s ok 34 /gvariant/unaligned-construction
915s # Start of type tests
915s # Start of string-scan tests
915s # Start of recursion tests
915s ok 35 /gvariant/type/string-scan/recursion/tuple
915s ok 36 /gvariant/type/string-scan/recursion/array
915s # End of recursion tests
915s # End of string-scan tests
915s # End of type tests
915s # Start of serialiser tests
915s ok 37 /gvariant/serialiser/maybe
915s ok 38 /gvariant/serialiser/array
915s ok 39 /gvariant/serialiser/tuple
915s ok 40 /gvariant/serialiser/variant
915s ok 41 /gvariant/serialiser/strings
917s # Executing: glib/gvariant.test
917s ok 42 /gvariant/serialiser/byteswap
917s # slow test /gvariant/serialiser/byteswap executed in 1.80 secs
917s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865
917s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works
917s ok 43 /gvariant/serialiser/children
917s # Start of byteswap tests
917s ok 44 /gvariant/serialiser/byteswap/zero-sized
917s # End of byteswap tests
917s # Start of fuzz tests
917s ok 45 /gvariant/serialiser/fuzz/1%
917s ok 46 /gvariant/serialiser/fuzz/5%
918s ok 47 /gvariant/serialiser/fuzz/9%
918s ok 48 /gvariant/serialiser/fuzz/13%
918s ok 49 /gvariant/serialiser/fuzz/17%
918s # End of fuzz tests
918s # End of serialiser tests
918s # Start of utf8 tests
918s # Start of subprocess tests
918s # End of subprocess tests
918s # End of utf8 tests
918s # Start of varargs tests
918s # Start of subprocess tests
918s # End of subprocess tests
918s # End of varargs tests
918s # Start of byteswap tests
918s # /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.
918s ok 50 /gvariant/byteswap/non-normal-non-aligned
918s # End of byteswap tests
918s # Start of parser tests
918s ok 51 /gvariant/parser/integer-bounds
918s ok 52 /gvariant/parser/recursion
918s # Start of recursion tests
918s ok 53 /gvariant/parser/recursion/typedecls
918s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants
918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782
918s # Text form 0: @mmmu 5
918s # Text form 1: @mmmas ['hello']
918s # Text form 2: @mmmu just just nothing
918s # Text form 3: @mmmas just just nothing
918s # Text form 4: @mmmu just nothing
918s # Text form 5: @mmmas just nothing
918s # Text form 6: @mmmu nothing
918s # Text form 7: @mmmas nothing
918s ok 54 /gvariant/parser/recursion/maybes
918s # End of recursion tests
918s # End of parser tests
918s # Start of parse tests
918s # Start of subprocess tests
918s # End of subprocess tests
918s # End of parse tests
918s # Start of normal-checking tests
918s ok 55 /gvariant/normal-checking/tuples
918s ok 56 /gvariant/normal-checking/array-offsets
918s ok 57 /gvariant/normal-checking/array-offsets2
918s ok 58 /gvariant/normal-checking/tuple-offsets
918s ok 59 /gvariant/normal-checking/tuple-offsets2
918s ok 60 /gvariant/normal-checking/tuple-offsets3
918s ok 61 /gvariant/normal-checking/tuple-offsets4
918s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840
918s ok 62 /gvariant/normal-checking/tuple-offsets5
918s ok 63 /gvariant/normal-checking/empty-object-path
918s # Start of array-offsets tests
918s ok 64 /gvariant/normal-checking/array-offsets/overlapped
918s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized
918s # End of array-offsets tests
918s # Start of tuple-offsets tests
918s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized
918s # End of tuple-offsets tests
918s # End of normal-checking tests
918s # Start of recursion-limits tests
918s ok 67 /gvariant/recursion-limits/variant-in-variant
918s ok - glib/gvariant.test
918s # Running test: glib/accumulator.test
918s ok - glib/accumulator.test
918s # Running test: glib/param.test
918s ok 68 /gvariant/recursion-limits/array-in-variant
918s # End of recursion-limits tests
918s # End of gvariant tests
918s # Start of gvarianttype tests
918s ok 69 /gvarianttype/hash
918s # End of gvarianttype tests
918s TAP version 14
918s # random seed: R02S828185ace1f4a4e428038a25021912d8
918s 1..1
918s # Start of gobject tests
918s ok 1 /gobject/accumulator
918s # End of gobject tests
918s TAP version 14
918s # random seed: R02S4f16a65ba70fbc96dca41a252b445c3b
918s 1..32
918s # Start of param tests
918s ok 1 /param/value
918s ok 2 /param/strings
918s ok 3 /param/qdata
918s ok 4 /param/validate
918s ok 5 /param/convert
918s ok 6 /param/implement # SKIP Skipping slow /param/implement test
918s ok 7 /param/default
918s ok 8 /param/is-valid-name
918s # Start of invalid-name tests
918s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names
918s ok 9 /param/invalid-name/colon
918s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names
918s ok 10 /param/invalid-name/first-char
918s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names
918s ok 11 /param/invalid-name/empty
918s ok - glib/param.test
918s # End of invalid-name tests
918s # Start of implement tests
918s # Start of subprocess tests
918s # End of subprocess tests
918s # End of implement tests
918s # End of param tests
918s # Start of value tests
918s ok 12 /value/transform
918s # End of value tests
918s # Start of paramspec tests
918s ok 13 /paramspec/char
918s ok 14 /paramspec/uchar
918s ok 15 /paramspec/int
918s ok 16 /paramspec/uint
918s ok 17 /paramspec/long
918s ok 18 /paramspec/ulong
918s ok 19 /paramspec/int64
918s ok 20 /paramspec/uint64
918s ok 21 /paramspec/float
918s ok 22 /paramspec/double
918s ok 23 /paramspec/unichar
918s ok 24 /paramspec/param
918s ok 25 /paramspec/null-param
918s ok 26 /paramspec/string
918s ok 27 /paramspec/override
918s ok 28 /paramspec/gtype
918s ok 29 /paramspec/variant
918s ok 30 /paramspec/custom
918s ok 31 /paramspec/pool
918s # Start of variant tests
918s ok 32 /paramspec/variant/cmp
918s # End of variant tests
918s # End of paramspec tests
918s # Running test: glib/cxx-20.test
918s ok - glib/cxx-20.test
918s # Running test: glib/error.test
918s TAP version 14
918s # random seed: R02Saf702c9a7101a631bb9d97f014cd4e5f
918s 1..2
918s # Start of gtask tests
918s # 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.
918s ok 1 /gtask/name
918s # Start of name tests
918s # 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.
918s ok 2 /gtask/name/macro-wrapper
918s # End of name tests
918s # End of gtask tests
918s TAP version 14
918s ok - glib/error.test
918s # random seed: R02S5f61dde0c95b2a20c185f17146a7c3bb
918s 1..3
918s # Start of error tests
918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_69K3J3/error/from-errno/.dirs/home
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_69K3J3/error/from-errno/.dirs/cache
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_69K3J3/error/from-errno/.dirs/system-config1:/tmp/test_error_69K3J3/error/from-errno/.dirs/system-config2
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_69K3J3/error/from-errno/.dirs/config
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_69K3J3/error/from-errno/.dirs/system-data1:/tmp/test_error_69K3J3/error/from-errno/.dirs/system-data2
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_69K3J3/error/from-errno/.dirs/data
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_69K3J3/error/from-errno/.dirs/state
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_69K3J3/error/from-errno/.dirs/runtime
918s ok 1 /error/from-errno
918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_69K3J3/error/from-file-error/.dirs/home
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_69K3J3/error/from-file-error/.dirs/cache
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_69K3J3/error/from-file-error/.dirs/system-config1:/tmp/test_error_69K3J3/error/from-file-error/.dirs/system-config2
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_69K3J3/error/from-file-error/.dirs/config
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_69K3J3/error/from-file-error/.dirs/system-data1:/tmp/test_error_69K3J3/error/from-file-error/.dirs/system-data2
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_69K3J3/error/from-file-error/.dirs/data
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_69K3J3/error/from-file-error/.dirs/state
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_69K3J3/error/from-file-error/.dirs/runtime
918s ok 2 /error/from-file-error
918s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_69K3J3/error/from-win32-error/.dirs/home
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_69K3J3/error/from-win32-error/.dirs/cache
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_69K3J3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_69K3J3/error/from-win32-error/.dirs/system-config2
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_69K3J3/error/from-win32-error/.dirs/config
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_69K3J3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_69K3J3/error/from-win32-error/.dirs/system-data2
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_69K3J3/error/from-win32-error/.dirs/data
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_69K3J3/error/from-win32-error/.dirs/state
918s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_69K3J3/error/from-win32-error/.dirs/runtime
918s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows
918s # End of error tests
918s # Running test: glib/network-address.test
918s TAP version 14
918s # random seed: R02S2a25ec72dab91ef9eecb0090f51160fe
918s 1..72
918s # Start of network-address tests
918s ok 1 /network-address/basic
918s ok 2 /network-address/scope-id
918s ok 3 /network-address/uri-scope-id
918s ok 4 /network-address/to-string
918s # Start of parse-host tests
918s ok 5 /network-address/parse-host/0
918s ok 6 /network-address/parse-host/1
918s ok 7 /network-address/parse-host/2
918s ok 8 /network-address/parse-host/3
918s ok 9 /network-address/parse-host/4
918s ok 10 /network-address/parse-host/5
918s ok 11 /network-address/parse-host/6
918s ok 12 /network-address/parse-host/7
918s ok 13 /network-address/parse-host/8
918s ok 14 /network-address/parse-host/9
918s ok 15 /network-address/parse-host/10
918s ok 16 /network-address/parse-host/11
918s ok 17 /network-address/parse-host/12
918s ok 18 /network-address/parse-host/13
918s # End of parse-host tests
918s # Start of parse-uri tests
918s ok 19 /network-address/parse-uri/0
918s ok 20 /network-address/parse-uri/1
918s ok 21 /network-address/parse-uri/2
918s ok 22 /network-address/parse-uri/3
918s ok 23 /network-address/parse-uri/4
918s ok 24 /network-address/parse-uri/5
918s ok 25 /network-address/parse-uri/6
918s ok 26 /network-address/parse-uri/7
918s ok 27 /network-address/parse-uri/8
918s ok 28 /network-address/parse-uri/9
918s # End of parse-uri tests
918s # Start of resolve-address tests
918s # Input: 192.168.1.2
918s ok 29 /network-address/resolve-address/0
918s # Input: fe80::42
918s ok 30 /network-address/resolve-address/1
918s # Input: 192.168.1.2:80
918s ok 31 /network-address/resolve-address/2
918s # Input: [fe80::42]
918s ok 32 /network-address/resolve-address/3
918s # Input: [fe80::42]:80
918s ok 33 /network-address/resolve-address/4
918s # Input: 192.168.258
918s ok 34 /network-address/resolve-address/5
918s # Input: 192.11010306
918s ok 35 /network-address/resolve-address/6
918s # Input: 3232235778
918s ok 36 /network-address/resolve-address/7
918s # Input: 0300.0250.0001.0001
918s ok 37 /network-address/resolve-address/8
918s # Input: 0xC0.0xA8.0x01.0x02
918s ok 38 /network-address/resolve-address/9
918s # Input: 0xc0.0xa8.0x01.0x02
918s ok 39 /network-address/resolve-address/10
918s # Input: 0xc0a80102
918s ok 40 /network-address/resolve-address/11
918s # End of resolve-address tests
918s # Start of loopback tests
918s ok 41 /network-address/loopback/basic
918s ok 42 /network-address/loopback/sync
918s ok 43 /network-address/loopback/async
918s # End of loopback tests
918s # Start of localhost tests
918s ok 44 /network-address/localhost/async
918s ok 45 /network-address/localhost/sync
918s # End of localhost tests
918s # Start of happy-eyeballs tests
918s ok 46 /network-address/happy-eyeballs/basic
918s ok 47 /network-address/happy-eyeballs/parallel
918s ok 48 /network-address/happy-eyeballs/slow-ipv4
918s ok 49 /network-address/happy-eyeballs/slow-ipv6
918s ok 50 /network-address/happy-eyeballs/very-slow-ipv6
919s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4
919s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs
919s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
919s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first
919s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
919s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first
919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865
919s # /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.
919s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
919s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow
919s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
919s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first
919s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
919s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first
919s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
919s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
919s ok 57 /network-address/happy-eyeballs/both-error
919s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
919s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
919s ok 58 /network-address/happy-eyeballs/both-error-delays-1
919s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
919s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
919s ok 59 /network-address/happy-eyeballs/both-error-delays-2
919s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
920s ok 60 /network-address/happy-eyeballs/both-error-delays-3
920s # End of happy-eyeballs tests
920s # End of network-address tests
920s # Start of gresolver tests
920s # Start of resolve-address tests
920s # Input: 192.168.1.2
920s ok 61 /gresolver/resolve-address/0
920s # Input: fe80::42
920s ok 62 /gresolver/resolve-address/1
920s # Input: 192.168.1.2:80
920s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80
920s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
920s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running
920s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’
920s # Error: Error resolving “192.168.1.2:80”: Name or service not known
920s ok 63 /gresolver/resolve-address/2
920s # Input: [fe80::42]
920s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]
920s # Error: Error resolving “[fe80::42]”: Name or service not known
920s ok 64 /gresolver/resolve-address/3
920s # Input: [fe80::42]:80
920s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80
920s # Error: Error resolving “[fe80::42]:80”: Name or service not known
920s ok 65 /gresolver/resolve-address/4
920s # Input: 192.168.258
920s ok - glib/network-address.test
920s # Running test: glib/singleton.test
920s ok - glib/singleton.test
920s # Running test: glib/g-file-info.test
920s ok - glib/g-file-info.test
920s # Running test: glib/thread-pool.test
920s ok - glib/thread-pool.test
920s # Running test: glib/environment.test
920s ok - glib/environment.test
920s # Running test: glib/portal-support-env-var.test
920s ok - glib/portal-support-env-var.test
920s # Running test: glib/override.test
920s # Error: Error resolving “192.168.258”: Name or service not known
920s ok 66 /gresolver/resolve-address/5
920s # Input: 192.11010306
920s # Error: Error resolving “192.11010306”: Name or service not known
920s ok 67 /gresolver/resolve-address/6
920s # Input: 3232235778
920s # Error: Error resolving “3232235778”: Name or service not known
920s ok 68 /gresolver/resolve-address/7
920s # Input: 0300.0250.0001.0001
920s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known
920s ok 69 /gresolver/resolve-address/8
920s # Input: 0xC0.0xA8.0x01.0x02
920s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known
920s ok 70 /gresolver/resolve-address/9
920s # Input: 0xc0.0xa8.0x01.0x02
920s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known
920s ok 71 /gresolver/resolve-address/10
920s # Input: 0xc0a80102
920s # Error: Error resolving “0xc0a80102”: Name or service not known
920s ok 72 /gresolver/resolve-address/11
920s # End of resolve-address tests
920s # End of gresolver tests
920s TAP version 14
920s # random seed: R02Sea1f09fb06f2a906cdf81356184041e5
920s 1..2
920s # Start of gobject tests
920s # Start of singleton tests
920s ok 1 /gobject/singleton/construction
920s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works
920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666
920s ok 2 /gobject/singleton/construct-property
920s # End of singleton tests
920s # End of gobject tests
920s TAP version 14
920s # random seed: R02Se62ab67ac495a62d8985c2aa98adcc94
920s 1..6
920s # Start of g-file-info tests
920s ok 1 /g-file-info/test_g_file_info
920s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs
920s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
920s ok 2 /g-file-info/xattrs
920s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds
920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116
920s ok 3 /g-file-info/set-modified-date-time-precision
920s # Start of test_g_file_info tests
920s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works.
920s ok 4 /g-file-info/test_g_file_info/modification-time
920s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works.
920s ok 5 /g-file-info/test_g_file_info/access-time
920s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works.
920s ok 6 /g-file-info/test_g_file_info/creation-time
920s # End of test_g_file_info tests
920s # End of g-file-info tests
920s TAP version 14
920s # random seed: R02S2829c4ec50c15836ab277db2ebce651a
920s 1..6
920s # Start of thread_pool tests
920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712
920s ok 1 /thread_pool/pool_fail
920s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works.
920s ok 2 /thread_pool/shared
920s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works.
920s ok 3 /thread_pool/exclusive
920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
920s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works.
920s ok 4 /thread_pool/create_shared_after_exclusive
920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121
920s ok 5 /thread_pool/create_full
920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
920s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works.
920s ok 6 /thread_pool/create_exclusive_after_shared
920s # End of thread_pool tests
920s TAP version 14
920s # random seed: R02Sd3c58f8682d13bbec3dbc79642fe6fca
920s 1..7
920s # Start of environ tests
920s # /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.
920s ok 1 /environ/listenv
920s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv().
920s ok 2 /environ/getenv
920s ok 3 /environ/setenv
920s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp).
920s ok 4 /environ/array
920s # /environ/null summary: Test getting and setting variables on a NULL envp array.
920s ok 5 /environ/null
920s # /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.
920s ok 6 /environ/case
920s # /environ/expansion summary: Test expansion of environment variable references.
920s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows
920s # End of environ tests
920s TAP version 14
920s # random seed: R02Sb5023ab94a06a12825bf145e54cb8436
920s 1..1
920s # Start of portal-support tests
920s ok 1 /portal-support/env-var
920s # End of portal-support tests
920s ok - glib/override.test
920s TAP version 14
920s # random seed: R02S61cdd87842754eb49000790893e02e9d
920s 1..1
920s # Start of gobject tests
920s # *** emitting foo on a TestA instance
920s # Expecting: TestA::foo,TestI::foo
920s # Got: TestA::foo,TestI::foo
920s # *** emitting bar on a TestA instance
920s # Expecting: TestA::bar
920s # Got: TestA::bar
920s # *** emitting baz on a TestA instance
920s # Expecting: TestA::baz
920s # Got: TestA::baz
920s # *** emitting foo on a TestB instance
920s # Expecting: TestB::foo,TestA::foo,TestI::foo
920s # Got: TestB::foo,TestA::foo,TestI::foo
920s # *** emitting bar on a TestB instance
920s # Expecting: TestB::bar,TestA::bar
920s # Got: TestB::bar,TestA::bar
920s # *** emitting baz on a TestB instance
920s # Expecting: TestB::baz,TestA::baz
920s # Got: TestB::baz,TestA::baz
920s # *** emitting foo on a TestC instance
920s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo
920s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo
920s # *** emitting bar on a TestC instance
920s # Expecting: TestC::bar,TestB::bar,TestA::bar
920s # Got: TestC::bar,TestB::bar,TestA::bar
920s # *** emitting baz on a TestC instance
920s # Expecting: TestC::baz,TestB::baz,TestA::baz
920s # Got: TestC::baz,TestB::baz,TestA::baz
920s ok 1 /gobject/override
920s # End of gobject tests
920s # Running test: glib/option-argv0.test
920s ok - glib/option-argv0.test
920s # Running test: glib/gdbus-test-codegen-min-required-2-64.test
920s TAP version 14
920s # random seed: R02Sbe73a13ceaa301978c4d1302492384a9
920s 1..1
920s # Start of option tests
920s ok 1 /option/argv0
920s # End of option tests
920s TAP version 14
920s # random seed: R02S6ac2b735c928949e934eaba79735c39e
920s 1..8
920s # Start of gdbus tests
920s # Start of codegen tests
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/annotations/.dirs/runtime
920s ok 1 /gdbus/codegen/annotations
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/interface_stability/.dirs/runtime
920s ok 2 /gdbus/codegen/interface_stability
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/object-manager/.dirs/runtime
920s ok 3 /gdbus/codegen/object-manager
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/property-naming/.dirs/runtime
920s ok 4 /gdbus/codegen/property-naming
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/config
920s ok - glib/gdbus-test-codegen-min-required-2-64.test
920s # Running test: glib/application-command-line.test
920s ok - glib/application-command-line.test
920s # Running test: glib/basic-signals.test
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/autocleanups/.dirs/runtime
920s ok 5 /gdbus/codegen/autocleanups
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/deprecations/.dirs/runtime
920s ok 6 /gdbus/codegen/deprecations
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/standalone-interface-info/.dirs/runtime
920s ok 7 /gdbus/codegen/standalone-interface-info
920s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/home
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/cache
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/system-config2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/config
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/system-data2
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/data
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/state
920s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_XRCGK3/gdbus/codegen/unix-fd-list/.dirs/runtime
920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
920s ok 8 /gdbus/codegen/unix-fd-list
920s # End of codegen tests
920s # End of gdbus tests
920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
920s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
920s TAP version 14
920s # random seed: R02S2ecaf8a0ea88d7687d1a77bcc246375b
920s 1..1
920s # Start of application-command-line tests
920s ok 1 /application-command-line/basic-properties
920s # End of application-command-line tests
920s TAP version 14
920s # random seed: R02Sf6c7a10449736df0517dad4fad59d411
920s ok - glib/basic-signals.test
920s # Running test: glib/gmenumodel.test
920s 1..1
920s # Start of gobject tests
920s ok 1 /gobject/basic-signals
920s # End of gobject tests
920s TAP version 14
920s # random seed: R02S8a1c1cb6d0860b9444740d1588c4b062
920s 1..15
920s # Start of gmenu tests
920s ok 1 /gmenu/equality
920s ok 2 /gmenu/random
920s ok 3 /gmenu/attributes
920s ok 4 /gmenu/links
920s ok 5 /gmenu/mutable
920s ok 6 /gmenu/convenience
920s ok 7 /gmenu/menuitem
920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
920s ok 8 /gmenu/input-validation
920s # Start of dbus tests
921s ok 9 /gmenu/dbus/roundtrip
921s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs
922s ok 10 /gmenu/dbus/subscriptions
922s # Executing: glib/gmenumodel.test
922s ok 11 /gmenu/dbus/threaded
922s # Start of peer tests
923s ok 12 /gmenu/dbus/peer/roundtrip
923s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs
923s ok 13 /gmenu/dbus/peer/subscriptions
923s # End of peer tests
923s # Start of export tests
923s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
923s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
923s ok 14 /gmenu/dbus/export/error-handling
923s # End of export tests
923s # End of dbus tests
923s # Start of attributes tests
923s ok 15 /gmenu/attributes/iterate
923s # End of attributes tests
923s # End of gmenu tests
923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
923s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
923s ok - glib/gmenumodel.test
923s # Running test: glib/macros-c-17.test
923s ok - glib/macros-c-17.test
923s # Running test: glib/cxx-14.test
923s ok - glib/cxx-14.test
923s # Running test: glib/thread-pool-slow.test
923s TAP version 14
923s # random seed: R02S3cd4f1d70163820fe5d5ae4795530be7
923s 1..4
923s # Start of C tests
923s ok 1 /C/standard-17
923s # End of C tests
923s # Start of alignof tests
923s ok 2 /alignof/fallback
923s # End of alignof tests
923s # Start of assert tests
923s ok 3 /assert/static
923s # End of assert tests
923s # Start of struct tests
923s ok 4 /struct/sizeof_member
923s # End of struct tests
923s TAP version 14
923s # random seed: R02S9efb7eaa2ffc77de899ed720e1a1280d
923s 1..2
923s # Start of gtask tests
923s # 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.
923s ok 1 /gtask/name
923s # Start of name tests
923s # 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.
923s ok 2 /gtask/name/macro-wrapper
923s # End of name tests
923s # End of gtask tests
923s TAP version 14
923s # random seed: R02S047abcd059d89a73b899d008779c6006
923s 1..7
923s # Start of threadpool tests
923s ok 1 /threadpool/functions
924s ok 2 /threadpool/stop-unused
924s # slow test /threadpool/stop-unused executed in 0.51 secs
924s ok 3 /threadpool/pools
924s # [unsorted] ===> pushed new thread with id:74, number of threads:1, unprocessed:1
924s # [unsorted] ===> pushed new thread with id:74, number of threads:2, unprocessed:2
924s # [unsorted] ===> pushed new thread with id:72, number of threads:3, unprocessed:3
924s # [unsorted] ===> pushed new thread with id:5, number of threads:4, unprocessed:4
924s # [unsorted] ===> pushed new thread with id:67, number of threads:5, unprocessed:5
924s # [unsorted] ===> pushed new thread with id:57, number of threads:6, unprocessed:6
924s # [unsorted] ===> pushed new thread with id:82, number of threads:7, unprocessed:7
924s # [unsorted] ===> pushed new thread with id:27, number of threads:8, unprocessed:8
924s # [unsorted] ===> pushed new thread with id:64, number of threads:9, unprocessed:9
924s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:8
924s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:1
924s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:2
924s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:3
924s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:4
924s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:5
924s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:6
924s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:7
924s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:8
924s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:9
924s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:10
924s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:11
924s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:12
924s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:13
924s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:14
924s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:15
924s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:16
924s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:17
924s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:18
924s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:19
924s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:20
924s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:21
924s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:22
924s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:23
924s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:24
924s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:25
924s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:26
924s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:27
924s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:28
924s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:29
924s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:30
924s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:31
924s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:32
924s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:33
924s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:34
924s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:35
924s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:36
924s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:37
924s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:38
924s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:39
924s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:40
924s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:41
924s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:42
924s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:43
924s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:44
924s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:45
924s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:46
924s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:47
924s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:48
924s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:49
924s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:50
924s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:51
924s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:52
924s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:53
924s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:54
924s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:55
924s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:56
924s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:57
924s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:58
924s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:59
924s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:60
924s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:61
924s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:62
924s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:63
924s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:64
924s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:65
924s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:66
924s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:67
924s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:68
924s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:69
924s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:70
924s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:71
924s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:72
924s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:73
924s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:74
924s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:75
924s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:76
924s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:77
924s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:78
924s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:79
924s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:80
924s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:81
924s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:82
924s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:83
924s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:84
924s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:85
924s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:86
924s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:87
924s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:88
924s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:89
924s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:90
924s ok 4 /threadpool/no-sort
924s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:1
924s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:2
924s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:3
924s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:4
924s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:5
924s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:6
924s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:7
924s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:8
924s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:9
924s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:10
924s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:11
924s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:12
924s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:13
924s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:14
924s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:15
924s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:16
924s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:17
924s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:18
924s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:19
924s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:20
924s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:21
924s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:22
924s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:23
924s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:24
924s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:25
924s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:26
924s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:27
924s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:28
924s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:29
924s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:30
924s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:31
924s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:32
924s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:33
924s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:34
924s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:35
924s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:36
924s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:37
924s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:38
924s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:39
924s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:40
924s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:41
924s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:42
924s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:43
924s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:44
924s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:45
924s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:46
924s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:47
924s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:48
924s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:49
924s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:50
924s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:51
924s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:52
924s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:53
924s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:54
924s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:55
924s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:56
924s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:57
924s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:58
924s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:59
924s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:60
924s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:61
924s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:62
924s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:63
924s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:64
924s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:65
924s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:66
924s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:67
924s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:68
924s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:69
924s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:70
924s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:71
924s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:72
924s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:73
924s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:74
924s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:75
924s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:76
924s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:77
924s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:78
924s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:79
924s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:80
924s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:81
924s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:82
924s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:83
924s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:84
924s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:85
924s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:86
924s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:87
924s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:88
924s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:89
924s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:90
924s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:91
924s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:92
924s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:93
924s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:94
924s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:95
924s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:96
924s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:97
924s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:98
924s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:99
924s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:100
924s # Starting thread pool processing
924s ok 5 /threadpool/sort
924s ok 6 /threadpool/stop-unused-multiple
924s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs
924s # Pool idle thread count: 0, unprocessed jobs: 40
925s # Pool idle thread count: 0, unprocessed jobs: 0
925s # Pool idle thread count: 0, unprocessed jobs: 0
925s # Pool idle thread count: 10, unprocessed jobs: 0
925s # Pool idle thread count: 10, unprocessed jobs: 0
926s # Pool idle thread count: 10, unprocessed jobs: 0
926s # Pool idle thread count: 10, unprocessed jobs: 0
926s # Pool idle thread count: 10, unprocessed jobs: 0
926s # Pool idle thread count: 10, unprocessed jobs: 0
927s # Executing: glib/thread-pool-slow.test
927s # Pool idle thread count: 10, unprocessed jobs: 0
927s # Pool idle thread count: 10, unprocessed jobs: 0
927s # Pool idle thread count: 10, unprocessed jobs: 0
927s # Pool idle thread count: 10, unprocessed jobs: 0
928s # Pool idle thread count: 10, unprocessed jobs: 0
928s # Pool idle thread count: 10, unprocessed jobs: 0
928s # Pool idle thread count: 10, unprocessed jobs: 0
928s # Pool idle thread count: 10, unprocessed jobs: 0
929s # Pool idle thread count: 10, unprocessed jobs: 0
929s # Pool idle thread count: 10, unprocessed jobs: 0
929s # Pool idle thread count: 10, unprocessed jobs: 0
929s # Pool idle thread count: 10, unprocessed jobs: 0
930s # Pool idle thread count: 10, unprocessed jobs: 0
930s # Pool idle thread count: 10, unprocessed jobs: 0
930s # Pool idle thread count: 10, unprocessed jobs: 0
930s # Pool idle thread count: 10, unprocessed jobs: 0
931s # Pool idle thread count: 10, unprocessed jobs: 0
931s # Pool idle thread count: 10, unprocessed jobs: 0
931s # Pool idle thread count: 10, unprocessed jobs: 0
931s # Pool idle thread count: 10, unprocessed jobs: 0
932s # Executing: glib/thread-pool-slow.test
932s # Pool idle thread count: 10, unprocessed jobs: 0
932s # Pool idle thread count: 10, unprocessed jobs: 0
932s # Pool idle thread count: 10, unprocessed jobs: 0
932s # Pool idle thread count: 10, unprocessed jobs: 0
933s # Pool idle thread count: 10, unprocessed jobs: 0
933s # Pool idle thread count: 10, unprocessed jobs: 0
933s # Pool idle thread count: 10, unprocessed jobs: 2
933s # Pool idle thread count: 10, unprocessed jobs: 2
933s # Pool idle thread count: 8, unprocessed jobs: 0
933s # Pool idle thread count: 8, unprocessed jobs: 0
934s # Pool idle thread count: 10, unprocessed jobs: 0
934s # Pool idle thread count: 10, unprocessed jobs: 0
934s # Pool idle thread count: 10, unprocessed jobs: 0
934s # Pool idle thread count: 10, unprocessed jobs: 0
935s # Pool idle thread count: 10, unprocessed jobs: 0
935s # Pool idle thread count: 10, unprocessed jobs: 0
935s # Pool idle thread count: 2, unprocessed jobs: 0
935s # Pool idle thread count: 2, unprocessed jobs: 0
936s # Pool idle thread count: 2, unprocessed jobs: 0
936s # Pool idle thread count: 2, unprocessed jobs: 0
936s # Pool idle thread count: 2, unprocessed jobs: 0
936s # Pool idle thread count: 2, unprocessed jobs: 0
937s # Executing: glib/thread-pool-slow.test
937s # Pool idle thread count: 2, unprocessed jobs: 0
937s # Pool idle thread count: 2, unprocessed jobs: 0
937s # Pool idle thread count: 2, unprocessed jobs: 0
937s # Pool idle thread count: 2, unprocessed jobs: 0
938s # Pool idle thread count: 2, unprocessed jobs: 0
938s # Pool idle thread count: 2, unprocessed jobs: 0
938s # Pool idle thread count: 2, unprocessed jobs: 0
938s # Pool idle thread count: 2, unprocessed jobs: 0
939s # Pool idle thread count: 2, unprocessed jobs: 0
939s # Pool idle thread count: 2, unprocessed jobs: 0
939s # Pool idle thread count: 2, unprocessed jobs: 0
939s # Pool idle thread count: 2, unprocessed jobs: 0
940s # Pool idle thread count: 2, unprocessed jobs: 0
940s # Pool idle thread count: 2, unprocessed jobs: 0
940s # Pool idle thread count: 2, unprocessed jobs: 0
940s # Pool idle thread count: 2, unprocessed jobs: 0
941s # Pool idle thread count: 2, unprocessed jobs: 0
941s # Pool idle thread count: 2, unprocessed jobs: 0
941s # Pool idle thread count: 2, unprocessed jobs: 0
941s # Pool idle thread count: 2, unprocessed jobs: 0
942s # Executing: glib/thread-pool-slow.test
942s # Pool idle thread count: 2, unprocessed jobs: 0
942s # Pool idle thread count: 2, unprocessed jobs: 0
942s # Pool idle thread count: 2, unprocessed jobs: 0
942s # Pool idle thread count: 2, unprocessed jobs: 0
943s # Pool idle thread count: 2, unprocessed jobs: 0
943s # Pool idle thread count: 2, unprocessed jobs: 0
943s # Pool idle thread count: 2, unprocessed jobs: 0
943s # Pool idle thread count: 2, unprocessed jobs: 0
944s ok 7 /threadpool/idle-time
944s # slow test /threadpool/idle-time executed in 19.52 secs
944s # End of threadpool tests
944s ok - glib/thread-pool-slow.test
944s # Running test: glib/slist.test
944s TAP version 14
944s # random seed: R02S1f97be36b1263ad1a214fe6959761ba2
944s 1..14
944s # Start of slist tests
944s ok 1 /slist/sort
944s ok 2 /slist/sort-with-data
944s ok 3 /slist/insert-sorted
944s ok 4 /slist/insert-sorted-with-data
944s ok 5 /slist/reverse
944s ok 6 /slist/nth
944s ok 7 /slist/remove
944s ok 8 /slist/remove-all
944s ok 9 /slist/insert
944s ok 10 /slist/position
944s ok 11 /slist/concat
944s ok 12 /slist/copy
944s # Start of sort tests
944s ok 13 /slist/sort/stable
944s # End of sort tests
944s # Start of copy tests
944s ok 14 /slist/copy/deep
944s # End of copy tests
944s # End of slist tests
944s ok - glib/slist.test
944s # Running test: glib/gobject-private.test
944s TAP version 14
944s # random seed: R02Scd733cf30f31f5f19ae919496fdbfdc9
944s 1..3
944s # Start of private tests
944s ok 1 /private/instance
944s ok 2 /private/derived-instance
944s ok 3 /private/mixed-derived-instance
944s # End of private tests
944s ok - glib/gobject-private.test
944s # Running test: glib/throws.test
944s TAP version 14
944s ok - glib/throws.test
944s # Running test: glib/gdatetime.test
944s # random seed: R02S76ba6baa072d0b6d764c5348dd12716c
944s 1..3
944s # Start of throws tests
944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/home
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/cache
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/system-config2
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/config
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/system-data2
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/data
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/state
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_IFA4J3/throws/invoke-gerror/.dirs/runtime
944s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
944s # /throws/invoke-gerror summary: Test invoking a function that throws a GError
944s ok 1 /throws/invoke-gerror
944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/home
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/cache
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/system-config2
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/config
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/system-data2
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/data
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/state
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_IFA4J3/throws/vfunc-can-throw-gerror/.dirs/runtime
944s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
944s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc
944s ok 2 /throws/vfunc-can-throw-gerror
944s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/home
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/cache
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/system-config2
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/config
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/system-data2
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/data
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/state
944s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_IFA4J3/throws/callback-can-throw-gerror/.dirs/runtime
944s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
944s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback
944s ok 3 /throws/callback-can-throw-gerror
944s # End of throws tests
944s TAP version 14
944s # random seed: R02S5e36d959e81cb5f86c139a92cf0126c8
944s 1..68
944s # Start of GDateTime tests
944s # Bug Reference: http://bugzilla.gnome.org/702674
944s ok 1 /GDateTime/invalid
944s ok 2 /GDateTime/add_days
944s ok 3 /GDateTime/add_full
944s ok 4 /GDateTime/add_hours
944s ok 5 /GDateTime/add_minutes
944s ok 6 /GDateTime/add_months
944s ok 7 /GDateTime/add_seconds
944s ok 8 /GDateTime/add_weeks
944s ok 9 /GDateTime/add_years
944s ok 10 /GDateTime/compare
944s ok 11 /GDateTime/diff
944s ok 12 /GDateTime/equal
944s ok 13 /GDateTime/get_day_of_week
944s ok 14 /GDateTime/get_day_of_month
944s ok 15 /GDateTime/get_day_of_year
944s ok 16 /GDateTime/get_hour
944s ok 17 /GDateTime/get_microsecond
944s ok 18 /GDateTime/get_minute
944s ok 19 /GDateTime/get_month
944s ok 20 /GDateTime/get_second
944s ok 21 /GDateTime/get_utc_offset
944s ok 22 /GDateTime/get_year
944s ok 23 /GDateTime/hash
944s ok 24 /GDateTime/new_from_unix
944s ok 25 /GDateTime/new_from_unix_utc
944s ok 26 /GDateTime/new_from_timeval
944s ok 27 /GDateTime/new_from_timeval_utc
944s ok 28 /GDateTime/new_from_iso8601
944s ok 29 /GDateTime/new_full
944s ok 30 /GDateTime/now
944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215
944s ok 31 /GDateTime/test-6-days-until-end-of-the-month
944s # %a -> expected: Sat
944s # %a -> actual: Sat
944s # %A -> expected: Saturday
944s # %A -> actual: Saturday
944s # %b -> expected: Oct
944s # %b -> actual: Oct
944s # %B -> expected: October
944s # %B -> actual: October
944s # %d -> expected: 24
944s # %d -> actual: 24
944s # %d -> expected: 01
944s # %d -> actual: 01
944s # %e -> expected: 24
944s # %e -> actual: 24
944s # %e -> expected: 1
944s # %e -> actual: 1
944s # %f -> expected: 001000
944s # %f -> actual: 001000
944s # %h -> expected: Oct
944s # %h -> actual: Oct
944s # %H -> expected: 00
944s # %H -> actual: 00
944s # %H -> expected: 15
944s # %H -> actual: 15
944s # %I -> expected: 12
944s # %I -> actual: 12
944s # %I -> expected: 12
944s # %I -> actual: 12
944s # %I -> expected: 03
944s # %I -> actual: 03
944s # %j -> expected: 297
944s # %j -> actual: 297
944s # %k -> expected: 0
944s # %k -> actual: 0
944s # %k -> expected: 13
944s # %k -> actual: 13
944s # %l -> expected: 12
944s # %l -> actual: 12
944s # %I -> expected: 12
944s # %I -> actual: 12
944s # %l -> expected: 1
944s # %l -> actual: 1
944s # %l -> expected: 10
944s # %l -> actual: 10
944s # %m -> expected: 10
944s # %m -> actual: 10
944s # %M -> expected: 00
944s # %M -> actual: 00
944s # %p -> expected: AM
944s # %p -> actual: AM
944s # %p -> expected: PM
944s # %p -> actual: PM
944s # %P -> expected: am
944s # %P -> actual: am
944s # %P -> expected: pm
944s # %P -> actual: pm
944s # %r -> expected: 12:00:00 AM
944s # %r -> actual: 12:00:00 AM
944s # %r -> expected: 01:13:13 PM
944s # %r -> actual: 01:13:13 PM
944s # %R -> expected: 00:00
944s # %R -> actual: 00:00
944s # %R -> expected: 13:13
944s # %R -> actual: 13:13
944s # %S -> expected: 00
944s # %S -> actual: 00
944s # %t -> expected:
944s # %t -> actual:
944s # %u -> expected: 6
944s # %u -> actual: 6
944s # %x -> expected: 10/24/09
944s # %x -> actual: 10/24/09
944s # %X -> expected: 00:00:00
944s # %X -> actual: 00:00:00
944s # %X -> expected: 13:14:15
944s # %X -> actual: 13:14:15
944s # %y -> expected: 09
944s # %y -> actual: 09
944s # %Y -> expected: 2009
944s # %Y -> actual: 2009
944s # %% -> expected: %
944s # %% -> actual: %
944s # % -> expected:
944s # % -> actual:
944s # %9 -> expected: (null)
944s # %9 -> actual: (null)
944s # %Z -> expected: UTC
944s # %Z -> actual: UTC
944s # %#Z %Z -> expected: utc UTC
944s # %#Z %Z -> actual: utc UTC
944s ok 32 /GDateTime/printf
944s # %a -> expected: 土
944s # %a -> actual: 土
944s # %A -> expected: 土曜日
944s # %A -> actual: 土曜日
944s # %b -> expected: 10月
944s # %b -> actual: 10月
944s # %B -> expected: 10月
944s # %B -> actual: 10月
944s # %c -> expected: 2009年10月24日 00時00分00秒
944s # %c -> actual: 2009年10月24日 00時00分00秒
944s # %C -> expected: 20
944s # %C -> actual: 20
944s # %d -> expected: 24
944s # %d -> actual: 24
944s # %d -> expected: 01
944s # %d -> actual: 01
944s # %e -> expected: 24
944s # %e -> actual: 24
944s # %h -> expected: 10月
944s # %h -> actual: 10月
944s # %H -> expected: 00
944s # %H -> actual: 00
944s # %H -> expected: 15
944s # %H -> actual: 15
944s # %I -> expected: 12
944s # %I -> actual: 12
944s # %I -> expected: 12
944s # %I -> actual: 12
944s # %I -> expected: 03
944s # %I -> actual: 03
944s # %j -> expected: 297
944s # %j -> actual: 297
944s # %k -> expected: 0
944s # %k -> actual: 0
944s # %k -> expected: 13
944s # %k -> actual: 13
944s # %l -> expected: 12
944s # %l -> actual: 12
944s # %I -> expected: 12
944s # %I -> actual: 12
944s # %l -> expected: 1
944s # %l -> actual: 1
944s # %l -> expected: 10
944s # %l -> actual: 10
944s # %m -> expected: 10
944s # %m -> actual: 10
944s # %M -> expected: 00
944s # %M -> actual: 00
944s # %p -> expected: 午前
944s # %p -> actual: 午前
944s # %p -> expected: 午後
944s # %p -> actual: 午後
944s # %P -> expected: 午前
944s # %P -> actual: 午前
944s # %P -> expected: 午後
944s # %P -> actual: 午後
944s # %r -> expected: 午前12時00分00秒
944s # %r -> actual: 午前12時00分00秒
944s # %r -> expected: 午後01時13分13秒
944s # %r -> actual: 午後01時13分13秒
944s # %R -> expected: 00:00
944s # %R -> actual: 00:00
944s # %R -> expected: 13:13
944s # %R -> actual: 13:13
944s # %S -> expected: 00
944s # %S -> actual: 00
944s # %t -> expected:
944s # %t -> actual:
944s # %u -> expected: 6
944s # %u -> actual: 6
944s # %x -> expected: 2009年10月24日
944s # %x -> actual: 2009年10月24日
944s # %X -> expected: 00時00分00秒
944s # %X -> actual: 00時00分00秒
944s # %X -> expected: 13時14分15秒
944s # %X -> actual: 13時14分15秒
944s # %y -> expected: 09
944s # %y -> actual: 09
944s # %Y -> expected: 2009
944s # %Y -> actual: 2009
944s # %% -> expected: %
944s # %% -> actual: %
944s # % -> expected:
944s # % -> actual:
944s # %9 -> expected: (null)
944s # %9 -> actual: (null)
944s # %Ec -> expected: 平成21年10月24日 00時00分00秒
944s # %Ec -> actual: 平成21年10月24日 00時00分00秒
944s # %EC -> expected: 平成
944s # %EC -> actual: 平成
944s # %Ex -> expected: 平成21年10月24日
944s # %Ex -> actual: 平成21年10月24日
944s # %EX -> expected: 00時00分00秒
944s # %EX -> actual: 00時00分00秒
944s # %Ey -> expected: 21
944s # %Ey -> actual: 21
944s # %EY -> expected: 平成21年
944s # %EY -> actual: 平成21年
944s ok 33 /GDateTime/non_utf8_printf
944s # ąśćł -> expected: ąśćł
944s # ąśćł -> actual: ąśćł
944s # %H∶%M -> expected: 23∶15
944s # %H∶%M -> actual: 23∶15
944s # %H∶%M -> expected: 23∶15
944s # %H∶%M -> actual: 23∶15
944s ok 34 /GDateTime/format_unrepresentable
944s ok 35 /GDateTime/format_iso8601
944s ok 36 /GDateTime/strftime
944s # %d -> expected: 01
944s # %d -> actual: 01
944s # %_d -> expected: 1
944s # %_d -> actual: 1
944s # %-d -> expected: 1
944s # %-d -> actual: 1
944s # %0d -> expected: 01
944s # %0d -> actual: 01
944s # %d -> expected: 21
944s # %d -> actual: 21
944s # %_d -> expected: 21
944s # %_d -> actual: 21
944s # %-d -> expected: 21
944s # %-d -> actual: 21
944s # %0d -> expected: 21
944s # %0d -> actual: 21
944s # %e -> expected: 1
944s # %e -> actual: 1
944s # %_e -> expected: 1
944s # %_e -> actual: 1
944s # %-e -> expected: 1
944s # %-e -> actual: 1
944s # %0e -> expected: 01
944s # %0e -> actual: 01
944s # %e -> expected: 21
944s # %e -> actual: 21
944s # %_e -> expected: 21
944s # %_e -> actual: 21
944s # %-e -> expected: 21
944s # %-e -> actual: 21
944s # %0e -> expected: 21
944s # %0e -> actual: 21
944s # %a -> expected: Thu
944s # %a -> actual: Thu
944s # %^a -> expected: THU
944s # %^a -> actual: THU
944s # %#a -> expected: THU
944s # %#a -> actual: THU
944s # %A -> expected: Thursday
944s # %A -> actual: Thursday
944s # %^A -> expected: THURSDAY
944s # %^A -> actual: THURSDAY
944s # %#A -> expected: THURSDAY
944s # %#A -> actual: THURSDAY
944s # %b -> expected: Jan
944s # %b -> actual: Jan
944s # %^b -> expected: JAN
944s # %^b -> actual: JAN
944s # %#b -> expected: JAN
944s # %#b -> actual: JAN
944s # %B -> expected: January
944s # %B -> actual: January
944s # %^B -> expected: JANUARY
944s # %^B -> actual: JANUARY
944s # %#B -> expected: JANUARY
944s # %#B -> actual: JANUARY
944s # %h -> expected: Jan
944s # %h -> actual: Jan
944s # %^h -> expected: JAN
944s # %^h -> actual: JAN
944s # %#h -> expected: JAN
944s # %#h -> actual: JAN
944s # %Z -> expected: UTC
944s # %Z -> actual: UTC
944s # %^Z -> expected: UTC
944s # %^Z -> actual: UTC
944s # %#Z -> expected: utc
944s # %#Z -> actual: utc
944s # %H -> expected: 01
944s # %H -> actual: 01
944s # %_H -> expected: 1
944s # %_H -> actual: 1
944s # %-H -> expected: 1
944s # %-H -> actual: 1
944s # %0H -> expected: 01
944s # %0H -> actual: 01
944s # %H -> expected: 21
944s # %H -> actual: 21
944s # %_H -> expected: 21
944s # %_H -> actual: 21
944s # %-H -> expected: 21
944s # %-H -> actual: 21
944s # %0H -> expected: 21
944s # %0H -> actual: 21
944s # %I -> expected: 01
944s # %I -> actual: 01
944s # %_I -> expected: 1
944s # %_I -> actual: 1
944s # %-I -> expected: 1
944s # %-I -> actual: 1
944s # %0I -> expected: 01
944s # %0I -> actual: 01
944s # %I -> expected: 11
944s # %I -> actual: 11
944s # %_I -> expected: 11
944s # %_I -> actual: 11
944s # %-I -> expected: 11
944s # %-I -> actual: 11
944s # %0I -> expected: 11
944s # %0I -> actual: 11
944s # %k -> expected: 1
944s # %k -> actual: 1
944s # %_k -> expected: 1
944s # %_k -> actual: 1
944s # %-k -> expected: 1
944s # %-k -> actual: 1
944s # %0k -> expected: 01
944s # %0k -> actual: 01
944s # %l -> expected: 1
944s # %l -> actual: 1
944s # %_l -> expected: 1
944s # %_l -> actual: 1
944s # %-l -> expected: 1
944s # %-l -> actual: 1
944s # %0l -> expected: 01
944s # %0l -> actual: 01
944s # %l -> expected: 11
944s # %l -> actual: 11
944s # %_l -> expected: 11
944s # %_l -> actual: 11
944s # %-l -> expected: 11
944s # %-l -> actual: 11
944s # %0l -> expected: 11
944s # %0l -> actual: 11
944s # %p -> expected: AM
944s # %p -> actual: AM
944s # %^p -> expected: AM
944s # %^p -> actual: AM
944s # %#p -> expected: am
944s # %#p -> actual: am
944s # %P -> expected: am
944s # %P -> actual: am
944s # %^P -> expected: AM
944s # %^P -> actual: AM
944s # %#P -> expected: am
944s # %#P -> actual: am
944s # %OH -> expected: ۲۳
944s # %OH -> actual: ۲۳
944s # %OI -> expected: ۱۱
944s # %OI -> actual: ۱۱
944s # %OM -> expected: ۰۰
944s # %OM -> actual: ۰۰
944s # %Om -> expected: ۰۷
944s # %Om -> actual: ۰۷
944s # %0Om -> expected: ۰۷
944s # %0Om -> actual: ۰۷
944s # %-Om -> expected: ۷
944s # %-Om -> actual: ۷
944s # %_Om -> expected: ۷
944s # %_Om -> actual: ۷
944s # %c -> expected: thu 01 jan 2009 00:00:00 utc
944s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC
944s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc
944s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC
944s # %C -> expected: 20
944s # %C -> actual: 20
944s # %EC -> expected: 20
944s # %EC -> actual: 20
944s # %x -> expected: 02/01/09
944s # %x -> actual: 02/01/09
944s # %Ex -> expected: 02/01/09
944s # %Ex -> actual: 02/01/09
944s # %X -> expected: 01:02:03
944s # %X -> actual: 01:02:03
944s # %EX -> expected: 01:02:03
944s # %EX -> actual: 01:02:03
944s # %y -> expected: 09
944s # %y -> actual: 09
944s # %Ey -> expected: 09
944s # %Ey -> actual: 09
944s # %Y -> expected: 2009
944s # %Y -> actual: 2009
944s # %EY -> expected: 2009
944s # %EY -> actual: 2009
944s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests
944s # Bug Reference: http://bugzilla.gnome.org/749206
944s # %B -> expected: January
944s # %B -> actual: January
944s # %OB -> expected: February
944s # %OB -> actual: February
944s # %b -> expected: Mar
944s # %b -> actual: Mar
944s # %Ob -> expected: Apr
944s # %Ob -> actual: Apr
944s # %h -> expected: May
944s # %h -> actual: May
944s # %Oh -> expected: Jun
944s # %Oh -> actual: Jun
944s # %B -> expected: Juli
944s # %B -> actual: Juli
944s # %OB -> expected: August
944s # %OB -> actual: August
944s # %b -> expected: Sep
944s # %b -> actual: Sep
944s # %Ob -> expected: Okt
944s # %Ob -> actual: Okt
944s # %h -> expected: Nov
944s # %h -> actual: Nov
944s # %Oh -> expected: Dez
944s # %Oh -> actual: Dez
944s # %B -> expected: enero
944s # %B -> actual: enero
944s # %OB -> expected: febrero
944s # %OB -> actual: febrero
944s # %b -> expected: mar
944s # %b -> actual: mar
944s # %Ob -> expected: abr
944s # %Ob -> actual: abr
944s # %h -> expected: may
944s # %h -> actual: may
944s # %Oh -> expected: jun
944s # %Oh -> actual: jun
944s # %B -> expected: juillet
944s # %B -> actual: juillet
944s # %OB -> expected: août
944s # %OB -> actual: août
944s # %b -> expected: sept.
944s # %b -> actual: sept.
944s # %Ob -> expected: oct.
944s # %Ob -> actual: oct.
944s # %h -> expected: nov.
944s # %h -> actual: nov.
944s # %Oh -> expected: déc.
944s # %Oh -> actual: déc.
944s # %B -> expected: Ιανουαρίου
944s # %B -> actual: Ιανουαρίου
944s # %B -> expected: Φεβρουαρίου
944s # %B -> actual: Φεβρουαρίου
944s # %B -> expected: Μαρτίου
944s # %B -> actual: Μαρτίου
944s # %OB -> expected: Απρίλιος
944s # %OB -> actual: Απρίλιος
944s # %OB -> expected: Μάιος
944s # %OB -> actual: Μάιος
944s # %OB -> expected: Ιούνιος
944s # %OB -> actual: Ιούνιος
944s # %b -> expected: Ιουλ
944s # %b -> actual: Ιουλ
944s # %Ob -> expected: Αύγ
944s # %Ob -> actual: Αύγ
944s # %B -> expected: svibnja
944s # %B -> actual: svibnja
944s # %B -> expected: lipnja
944s # %B -> actual: lipnja
944s # %B -> expected: srpnja
944s # %B -> actual: srpnja
944s # %OB -> expected: Kolovoz
944s # %OB -> actual: kolovoz
944s # %OB -> expected: Rujan
944s # %OB -> actual: rujan
944s # %OB -> expected: Listopad
944s # %OB -> actual: listopad
944s # %b -> expected: Stu
944s # %b -> actual: stu
944s # %Ob -> expected: Pro
944s # %Ob -> actual: pro
944s # %B -> expected: sausio
944s # %B -> actual: sausio
944s # %B -> expected: vasario
944s # %B -> actual: vasario
944s # %B -> expected: kovo
944s # %B -> actual: kovo
944s # %OB -> expected: balandis
944s # %OB -> actual: balandis
944s # %OB -> expected: gegužė
944s # %OB -> actual: gegužė
944s # %OB -> expected: birželis
944s # %OB -> actual: birželis
944s # %b -> expected: liep.
944s # %b -> actual: liep.
944s # %Ob -> expected: rugp.
944s # %Ob -> actual: rugp.
944s # %B -> expected: maja
944s # %B -> actual: maja
944s # %B -> expected: czerwca
944s # %B -> actual: czerwca
944s # %B -> expected: lipca
944s # %B -> actual: lipca
944s # %OB -> expected: sierpień
944s # %OB -> actual: sierpień
944s # %OB -> expected: wrzesień
944s # %OB -> actual: wrzesień
944s # %OB -> expected: październik
944s # %OB -> actual: październik
944s # %b -> expected: lis
944s # %b -> actual: lis
944s # %Ob -> expected: gru
944s # %Ob -> actual: gru
944s # %B -> expected: января
944s # %B -> actual: января
944s # %B -> expected: февраля
944s # %B -> actual: февраля
944s # %B -> expected: марта
944s # %B -> actual: марта
944s # %OB -> expected: Апрель
944s # %OB -> actual: Апрель
944s # %OB -> expected: Май
944s # %OB -> actual: Май
944s # %OB -> expected: Июнь
944s # %OB -> actual: Июнь
944s # %b -> expected: июл
944s # %b -> actual: июл
944s # %Ob -> expected: авг
944s # %Ob -> actual: авг
944s # %b -> expected: мая
944s # %b -> actual: мая
944s # %Ob -> expected: май
944s # %Ob -> actual: май
944s ok 38 /GDateTime/month_names
944s ok 39 /GDateTime/to_local
944s ok 40 /GDateTime/to_unix
944s ok 41 /GDateTime/to_timeval
944s ok 42 /GDateTime/to_utc
944s ok 43 /GDateTime/now_utc
944s ok 44 /GDateTime/dst
944s # Bug Reference: http://bugzilla.gnome.org/642935
944s ok 45 /GDateTime/test_z
945s ok 46 /GDateTime/test-all-dates
945s # slow test /GDateTime/test-all-dates executed in 0.56 secs
945s ok 47 /GDateTime/unix_usec
945s # Start of new_from_unix tests
945s # Bug Reference: http://bugzilla.gnome.org/782089
945s ok 48 /GDateTime/new_from_unix/overflow
945s # End of new_from_unix tests
945s # Start of new_from_timeval tests
945s # Bug Reference: http://bugzilla.gnome.org/782089
945s # Maximum supported GTimeVal.tv_sec = 253402300799
945s ok 49 /GDateTime/new_from_timeval/overflow
945s # End of new_from_timeval tests
945s # Start of new_from_iso8601 tests
945s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors.
945s # Vector 0: 1990-11-01T10:21:17Z
945s # Vector 1: 19901101T102117Z
945s # Vector 2: 1970-01-01T00:00:17.12Z
945s # Vector 3: 1970-01-01T00:00:17.1234Z
945s # Vector 4: 1970-01-01T00:00:17.123456Z
945s # Vector 5: 1980-02-22T12:36:00+02:00
945s # Vector 6: 1990-12-31T15:59:60-08:00
945s # Vector 7:
945s # Vector 8: x
945s # Vector 9: 123x
945s # Vector 10: 2001-10+x
945s # Vector 11: 1980-02-22T
945s # Vector 12: 2001-10-08Tx
945s # Vector 13: 2001-10-08T10:11x
945s # Vector 14: Wed Dec 19 17:20:20 GMT 2007
945s # Vector 15: 1980-02-22T10:36:00Zulu
945s # Vector 16: 2T0+819855292164632335
945s # Vector 17: 2018-08-03T14:08:05.446178377+01:00
945s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00
945s # Vector 19: 2018-13-03T14:08:05.446178377+01:00
945s # Vector 20: 2018-00-03T14:08:05.446178377+01:00
945s # Vector 21: 2018-08-00T14:08:05.446178377+01:00
945s # Vector 22: 2018-08-32T14:08:05.446178377+01:00
945s # Vector 23: 2018-08-03T24:08:05.446178377+01:00
945s # Vector 24: 2018-08-03T14:60:05.446178377+01:00
945s # Vector 25: 2018-08-03T14:08:63.446178377+01:00
945s # Vector 26: 2018-08-03T14:08:05.446178377+100:00
945s # Vector 27: 20180803T140805.446178377+0100
945s # Vector 28: 21474836480803T140805.446178377+0100
945s # Vector 29: 20181303T140805.446178377+0100
945s # Vector 30: 20180003T140805.446178377+0100
945s # Vector 31: 20180800T140805.446178377+0100
945s # Vector 32: 20180832T140805.446178377+0100
945s # Vector 33: 20180803T240805.446178377+0100
945s # Vector 34: 20180803T146005.446178377+0100
945s # Vector 35: 20180803T140863.446178377+0100
945s # Vector 36: 20180803T140805.446178377+10000
945s # Vector 37: -0005-01-01T00:00:00Z
945s # Vector 38: 2018-08-06
945s # Vector 39: 20180803T140805,446178377+0100
945s # Vector 40: 2018-08-03T14:08:05.446178377-01:00
945s # Vector 41: 2018-08-03T14:08:05.446178377 01:00
945s # Vector 42: 1990-11-01T10:21:17
945s # Vector 43: 1719W462 407777-07
945s # Vector 44: 4011090 260528Z
945s # Vector 45: 0000W011 228214-22
945s ok 50 /GDateTime/new_from_iso8601/2
945s # End of new_from_iso8601 tests
945s # Start of format_mixed tests
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
945s # %b -> expected: mar
945s # %b -> actual: Mar
945s # %B -> expected: march
945s # %B -> actual: March
945s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
945s # %b -> expected: mar
945s # %b -> actual: Mar
945s # %B -> expected: march
945s # %B -> actual: March
945s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
945s # %b -> expected: Mär
945s # %b -> actual: Mär
945s # %B -> expected: März
945s # %B -> actual: März
945s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
945s # %b -> expected: Mär
945s # %b -> actual: Mär
945s # %B -> expected: März
945s # %B -> actual: März
945s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages
945s # End of format_mixed tests
945s # Start of strftime tests
945s # %r -> expected: (null)
945s # %r -> actual: (null)
945s ok 55 /GDateTime/strftime/error_handling
945s # End of strftime tests
945s # Start of eras tests
945s # %Ec -> expected: 令和05年06月01日 00時00分00秒
945s # %Ec -> actual: 令和05年06月01日 00時00分00秒
945s # %EC -> expected: 令和
945s # %EC -> actual: 令和
945s # %Ex -> expected: 令和05年06月01日
945s # %Ex -> actual: 令和05年06月01日
945s # %EX -> expected: 00時00分00秒
945s # %EX -> actual: 00時00分00秒
945s # %Ey -> expected: 05
945s # %Ey -> actual: 05
945s # %EY -> expected: 令和05年
945s # %EY -> actual: 令和05年
945s # %Ec -> expected: 平成31年04月30日 00時00分00秒
945s # %Ec -> actual: 平成31年04月30日 00時00分00秒
945s # %EC -> expected: 平成
945s # %EC -> actual: 平成
945s # %Ex -> expected: 平成31年04月30日
945s # %Ex -> actual: 平成31年04月30日
945s # %EX -> expected: 00時00分00秒
945s # %EX -> actual: 00時00分00秒
945s # %Ey -> expected: 31
945s # %Ey -> actual: 31
945s # %EY -> expected: 平成31年
945s # %EY -> actual: 平成31年
945s # %Ec -> expected: 昭和元年12月25日 00時00分00秒
945s # %Ec -> actual: 昭和元年12月25日 00時00分00秒
945s # %EC -> expected: 昭和
945s # %EC -> actual: 昭和
945s # %Ex -> expected: 昭和元年12月25日
945s # %Ex -> actual: 昭和元年12月25日
945s # %EX -> expected: 00時00分00秒
945s # %EX -> actual: 00時00分00秒
945s # %Ey -> expected: 01
945s # %Ey -> actual: 01
945s # %EY -> expected: 昭和元年
945s # %EY -> actual: 昭和元年
945s ok 56 /GDateTime/eras/japan
945s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests
945s # Vector 0:
945s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey
945s # 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年
945s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年
945s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年
945s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年
945s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年
945s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年
945s # Vector 8: +
945s # Vector 9: +:
945s # Vector 10: +::
945s # Vector 11: +:200
945s # Vector 12: +:2nonsense
945s # Vector 13: +:2nonsense:
945s # Vector 14: +:2:
945s # Vector 15: +:2::
945s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年
945s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年
945s # Vector 18: +:2:2020:+*:令和:%EC%Ey年
945s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年
945s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年
945s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年
945s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年
945s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年
945s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年
945s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年
945s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年
945s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年
945s # Vector 28: +:2:2020/01/01
945s # Vector 29: +:2:2020/01/01:
945s # Vector 30: +:2:2020/01/01::
945s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年
945s # Vector 32: +:2:2020/01/01:+*
945s # Vector 33: +:2:2020/01/01:+*:
945s # Vector 34: +:2:2020/01/01:+*::
945s # Vector 35: +:2:2020/01/01:+*:令和
945s # Vector 36: +:2:2020/01/01:+*:令和:
945s # Vector 37: +:2:2020/01/01:+*:令和:;
945s ok 58 /GDateTime/eras/parsing
945s # End of eras tests
945s # End of GDateTime tests
945s # Start of GTimeZone tests
945s ok 59 /GTimeZone/find-interval
945s ok 60 /GTimeZone/adjust-time
945s ok 61 /GTimeZone/no-header
945s ok - glib/gdatetime.test
945s # Running test: glib/gdbus-introspection.test
945s ok - glib/gdbus-introspection.test
945s # Running test: glib/signals.test
945s ok - glib/signals.test
945s # Running test: glib/qdata.test
945s ok 62 /GTimeZone/no-header-identifier
945s ok 63 /GTimeZone/posix-parse
945s # Bug Reference: http://bugzilla.gnome.org/697715
945s ok 64 /GTimeZone/floating-point
945s # System time zone identifier: Etc/UTC
945s ok 65 /GTimeZone/identifier
945s # Vector 0: -158400
945s # Vector 1: -10000
945s # Vector 2: -3600
945s # Vector 3: -61
945s # Vector 4: -60
945s # Vector 5: -59
945s # Vector 6: 0
945s # Vector 7: 59
945s # Vector 8: 60
945s # Vector 9: 61
945s # Vector 10: 3600
945s # Vector 11: 10000
945s # Vector 12: 158400
945s ok 66 /GTimeZone/new-offset
945s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129
945s ok 67 /GTimeZone/parse-rfc8536
945s # /GTimeZone/caching summary: GTimeZone instances are cached
945s ok 68 /GTimeZone/caching
945s # End of GTimeZone tests
945s TAP version 14
945s # random seed: R02S547993f1a1f15c75dab9b29715b64266
945s 1..4
945s # Start of gdbus tests
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-parser/.dirs/runtime
945s ok 1 /gdbus/introspection-parser
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-generate/.dirs/runtime
945s ok 2 /gdbus/introspection-generate
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-default-direction/.dirs/runtime
945s ok 3 /gdbus/introspection-default-direction
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_6WBEK3/gdbus/introspection-extra-data/.dirs/runtime
945s ok 4 /gdbus/introspection-extra-data
945s # End of gdbus tests
945s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
945s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
945s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
945s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
945s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
945s TAP version 14
945s # random seed: R02S7859438b52c957574c89761c50fa6600
945s 1..31
945s # Start of gobject tests
945s # Start of signals tests
945s ok 1 /gobject/signals/all-types
945s ok 2 /gobject/signals/variant
945s ok 3 /gobject/signals/destroy-target-object
945s ok 4 /gobject/signals/generic-marshaller-1
945s ok 5 /gobject/signals/generic-marshaller-2
945s ok 6 /gobject/signals/generic-marshaller-enum-return-signed
945s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned
945s ok 8 /gobject/signals/generic-marshaller-int-return
945s ok 9 /gobject/signals/generic-marshaller-uint-return
945s ok 10 /gobject/signals/generic-marshaller-interface-return
945s ok 11 /gobject/signals/custom-marshaller
945s ok 12 /gobject/signals/connect
945s ok 13 /gobject/signals/emission-hook
945s ok 14 /gobject/signals/emitv
945s ok 15 /gobject/signals/accumulator
945s # Signal: accumulator-class-first
945s # Signal: accumulator-class-last
945s # Signal: accumulator-class-cleanup
945s # Signal: accumulator-class-first-last
945s # Signal: accumulator-class-first-last-cleanup
945s # Signal: accumulator-class-last-cleanup
945s ok 16 /gobject/signals/accumulator-class
945s ok 17 /gobject/signals/introspection
945s ok 18 /gobject/signals/block-handler
945s ok 19 /gobject/signals/stop-emission
945s ok 20 /gobject/signals/invocation-hint
945s ok 21 /gobject/signals/test-disconnection-wrong-object
945s ok 22 /gobject/signals/clear-signal-handler
945s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs.
945s ok 23 /gobject/signals/lookup
945s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs.
945s ok 24 /gobject/signals/parse-name
945s ok 25 /gobject/signals/is-valid-name
945s ok 26 /gobject/signals/weak-ref-disconnect
945s # Start of lookup tests
945s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name.
945s ok 27 /gobject/signals/lookup/invalid
945s # End of lookup tests
945s # Start of parse-name tests
945s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs.
945s # Parser input:
945s # Parser input: 7zip
945s # Parser input: invalid:signal
945s # Parser input: simple-detailed::
945s # Parser input: simple-detailed:
945s # Parser input: :
945s # Parser input: ::
945s # Parser input: :valid-detail
945s # Parser input: ::valid-detail
945s ok 28 /gobject/signals/parse-name/invalid
945s # End of parse-name tests
945s # Start of invalid-name tests
945s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names.
945s ok 29 /gobject/signals/invalid-name/colon
945s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names.
945s ok 30 /gobject/signals/invalid-name/first-char
945s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names.
945s ok 31 /gobject/signals/invalid-name/empty
945s # End of invalid-name tests
945s # End of signals tests
945s # End of gobject tests
945s TAP version 14
945s # random seed: R02S59f823fe664f9a25414922d815592f1a
945s 1..2
945s # Start of qdata tests
945s ok 1 /qdata/threaded
945s ok 2 /qdata/dup
945s # End of qdata tests
945s ok - glib/qdata.test
945s # Running test: glib/gdbus-auth.test
945s TAP version 14
945s # random seed: R02Se5d5e96219f971bcc22b249c5ef25554
945s 1..5
945s # Start of gdbus tests
945s # Start of auth tests
945s # Start of client tests
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/EXTERNAL/.dirs/runtime
945s ok 1 /gdbus/auth/client/EXTERNAL
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime
945s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1
945s # End of client tests
945s # Start of server tests
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/ANONYMOUS/.dirs/runtime
945s ok 3 /gdbus/auth/server/ANONYMOUS
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/EXTERNAL/.dirs/runtime
945s ok 4 /gdbus/auth/server/EXTERNAL
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_L8W9J3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime
945s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1
945s # End of server tests
945s # End of auth tests
945s # End of gdbus tests
945s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
945s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
945s ok - glib/gdbus-auth.test
945s # Running test: glib/642026-ec.test
945s TAP version 14
945s # random seed: R02S6bd1be5db8dd72b523e73bf757693fb0
945s 1..1
945s # Start of glib tests
945s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
945s ok - glib/642026-ec.test
945s ok 1 /glib/642026
945s # End of glib tests
945s # Running test: glib/thread.test
945s TAP version 14
945s # random seed: R02S95699ac47da7d642ceee32caf6c3be87
945s 1..7
945s # Start of thread tests
945s ok 1 /thread/thread1
945s ok 2 /thread/thread2
945s ok 3 /thread/thread3
945s ok 4 /thread/thread4
945s ok 5 /thread/thread5
945s ok 6 /thread/thread6
945s ok 7 /thread/thread7
945s ok - glib/thread.test
945s # End of thread tests
945s # Running test: glib/binding.test
945s TAP version 14
945s # random seed: R02S8ac16fbf8465007f582517650d71229d
945s 1..19
945s # Start of binding tests
945s ok 1 /binding/default
945s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work
945s ok 2 /binding/canonicalisation
945s ok 3 /binding/bidirectional
945s ok 4 /binding/transform
945s ok 5 /binding/transform-default
945s ok 6 /binding/transform-closure
945s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782
945s ok 7 /binding/chain
945s ok 8 /binding/sync-create
945s ok 9 /binding/invert-boolean
945s ok 10 /binding/same-object
945s ok 11 /binding/unbind
945s ok 12 /binding/unbind-weak
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373
945s ok 13 /binding/unbind-multiple
945s ok 14 /binding/fail
945s ok 15 /binding/interface
945s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly
945s ok 16 /binding/concurrent-unbind
945s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly
945s ok 17 /binding/concurrent-finalizing
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
945s ok 18 /binding/dispose-source
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
945s ok 19 /binding/dispose-target
945s # End of binding tests
945s ok - glib/binding.test
945s # Running test: glib/cancellable.test
945s TAP version 14
945s # random seed: R02Scab1fce026ebbfad85f5a2cf1e5662aa
945s 1..18
945s # Start of cancellable tests
945s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test
945s ok 2 /cancellable/null
945s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose
945s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643
945s ok 4 /cancellable/connect-to-disposing-callback
945s ok 5 /cancellable/connect-cancelled-data-is-destroyed
945s # Toggle reference callback for GCancellable (0x64cc08ed0c00), last: 1
945s # Toggle reference callback for GCancellable (0x64cc08ed0c00), last: 0
945s # Toggle reference callback for GCancellable (0x64cc08ed0c00), last: 1
945s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference
945s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643
945s ok 7 /cancellable/connect-cancelled-to-disposing-callback
945s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable
945s # Toggle reference callback for GCancellable (0x64cc08ed0c00), last: 1
945s # Toggle reference callback for GCancellable (0x64cc08ed0c00), last: 0
945s # Toggle reference callback for GCancellable (0x64cc08ed0c00), last: 1
945s # Toggle reference callback for GCancellable (0x64cc08ed0c00), last: 0
945s # Toggle reference callback for GCancellable (0x64cc08ed0c00), last: 1
945s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference
945s # /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
945s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs
945s # /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
945s ok 11 /cancellable/resets-on-cancel-callback-hangs
945s ok 12 /cancellable/poll-fd
945s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation
945s ok 13 /cancellable/poll-fd-cancelled
945s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD
945s ok 14 /cancellable/poll-fd-cancelled-threaded
945s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable
945s ok 15 /cancellable/cancel-reset-races
945s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable
945s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly
945s # End of cancellable tests
945s # Start of cancellable-source tests
945s # /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)
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841
945s ok 17 /cancellable-source/threaded-dispose
945s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times
945s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774
945s ok 18 /cancellable-source/can-be-fired-multiple-times
945s # End of cancellable-source tests
945s ok - glib/cancellable.test
945s # Running test: glib/gdbus-addresses.test
945s ok - glib/gdbus-addresses.test
945s TAP version 14
945s # random seed: R02S5e8ce0bde0cd811260cf3dbc28b77d3c
945s 1..9
945s # Start of gdbus tests
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LJDLK3/gdbus/empty-address/.dirs/runtime
945s ok 1 /gdbus/empty-address
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unsupported-address/.dirs/runtime
945s ok 2 /gdbus/unsupported-address
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LJDLK3/gdbus/address-parsing/.dirs/runtime
945s ok 3 /gdbus/address-parsing
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LJDLK3/gdbus/unix-address/.dirs/runtime
945s ok 4 /gdbus/unix-address
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LJDLK3/gdbus/nonce-tcp-address/.dirs/runtime
945s ok 5 /gdbus/nonce-tcp-address
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LJDLK3/gdbus/tcp-address/.dirs/runtime
945s ok 6 /gdbus/tcp-address
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LJDLK3/gdbus/autolaunch-address/.dirs/runtime
945s ok 7 /gdbus/autolaunch-address
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LJDLK3/gdbus/mixed-address/.dirs/runtime
945s ok 8 /gdbus/mixed-address
945s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/home
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/cache
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/system-config2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/config
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/system-data2
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/data
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/state
945s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LJDLK3/gdbus/escape-address/.dirs/runtime
945s ok 9 /gdbus/escape-address
945s # End of gdbus tests
945s # Running test: glib/properties-refcount3.test
945s TAP version 14
945s # random seed: R02S6d56ab43897bec49bcaa4d918f24b6f0
945s 1..1
945s # Start of gobject tests
945s # Start of refcount tests
947s # Executing: glib/properties-refcount3.test
952s # Executing: glib/properties-refcount3.test
957s # Executing: glib/properties-refcount3.test
962s # Executing: glib/properties-refcount3.test
967s # Executing: glib/properties-refcount3.test
972s # Executing: glib/properties-refcount3.test
975s #
975s # stopping
975s #
975s # stopped
975s #
975s # 45992047 4483117
975s #
975s ok 1 /gobject/refcount/properties-3
975s # slow test /gobject/refcount/properties-3 executed in 30.00 secs
975s # End of refcount tests
975s # End of gobject tests
975s ok - glib/properties-refcount3.test
975s # Running test: glib/guuid.test
975s TAP version 14
975s # random seed: R02Sbc704fa99cd2908cbf0384dc67f76931
975s 1..2
975s # Start of uuid tests
975s ok 1 /uuid/string
975s ok 2 /uuid/random
975s # End of uuid tests
975s ok - glib/guuid.test
975s # Running test: glib/cxx-11.test
975s ok - glib/cxx-11.test
975s TAP version 14
975s # random seed: R02S3311c7343a2fb65db445487caa5aa11b
975s 1..2
975s # Start of gtask tests
975s # 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.
975s ok 1 /gtask/name
975s # Start of name tests
975s # 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.
975s ok 2 /gtask/name/macro-wrapper
975s # End of name tests
975s # End of gtask tests
975s # Running test: glib/macros-c-99.test
975s ok - glib/macros-c-99.test
975s # Running test: glib/custom-dispatch.test
975s ok - glib/custom-dispatch.test
975s # Running test: glib/timer.test
975s ok - glib/timer.test
975s # Running test: glib/tree.test
975s ok - glib/tree.test
975s # Running test: glib/gthash.test
975s ok - glib/gthash.test
975s # Running test: glib/messages-low-memory.py.test
975s TAP version 14
975s # random seed: R02Sa96ed21acc07496dcd50d39addec76e7
975s 1..4
975s # Start of C tests
975s ok 1 /C/standard-99
975s # End of C tests
975s # Start of alignof tests
975s ok 2 /alignof/fallback
975s # End of alignof tests
975s # Start of assert tests
975s ok 3 /assert/static
975s # End of assert tests
975s # Start of struct tests
975s ok 4 /struct/sizeof_member
975s # End of struct tests
975s TAP version 14
975s # random seed: R02S1172a5cf8f010e53f10c6c40102faec8
975s 1..2
975s # Start of properties tests
975s # Start of custom-dispatch tests
975s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization
975s ok 1 /properties/custom-dispatch/init
975s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers
975s ok 2 /properties/custom-dispatch/set
975s # End of custom-dispatch tests
975s # End of properties tests
975s TAP version 14
975s # random seed: R02S5a101a954b4606ea9c0b3f71c71b5131
975s 1..10
975s # Start of timer tests
975s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820)
975s ok 2 /timer/stop
975s ok 3 /timer/continue
975s ok 4 /timer/reset
975s ok 5 /timer/is_active
975s # End of timer tests
975s # Start of timeval tests
975s ok 6 /timeval/add
975s ok 7 /timeval/from-iso8601
975s ok 8 /timeval/to-iso8601
975s # Start of to-iso8601 tests
975s ok 9 /timeval/to-iso8601/overflow
975s # End of to-iso8601 tests
975s # End of timeval tests
975s # Start of usleep tests
975s ok 10 /usleep/with-zero-wait
975s # End of usleep tests
975s TAP version 14
975s # random seed: R02S30e9adef85aade84196a9e9e01cca100
975s 1..7
975s # Start of tree tests
975s ok 1 /tree/search
975s ok 2 /tree/remove
975s ok 3 /tree/destroy
975s ok 4 /tree/traverse
975s ok 5 /tree/insert
975s ok 6 /tree/bounds
975s ok 7 /tree/remove-all
975s # End of tree tests
975s TAP version 14
975s # random seed: R02Se78b4edce7fcbf93c2f082f19e71920d
975s 1..1
975s # Start of gthash tests
975s ok 1 /gthash/build-retrieve
975s # End of gthash tests
975s TAP version 13
975s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure
975s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory
975s # tmpdir: /tmp/tmp1y48b0gz
975s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory']
975s # Return code: -6
975s # Output:
975s #
975s # Error:
975s # GLib-Message: 18:58:08.772: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting
975s # GLib-Message: 18:58:08.772: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753
975s # ../../../glib/gprintf.c:351: failed to allocate memory
975s 1..1
975s ok - glib/messages-low-memory.py.test
975s # Running test: glib/module-test-plugin.test
975s ok - glib/module-test-plugin.test
975s # Running test: glib/checksum.test
975s TAP version 14
975s # random seed: R02S02a40b0be507f20d596e5756cea57d2f
975s 1..3
975s # Start of module tests
975s ok 1 /module/basics
975s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
975s ok 2 /module/invalid-libtool-archive
975s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
975s ok 3 /module/local-binding
975s # End of module tests
975s TAP version 14
975s # random seed: R02S6447af15c591c5352bbde066d1ff8f25
975s 1..1851
975s # Start of checksum tests
975s ok 1 /checksum/unsupported
975s # Start of MD5 tests
975s ok 2 /checksum/MD5/0
975s ok 3 /checksum/MD5/1
975s ok 4 /checksum/MD5/2
975s ok 5 /checksum/MD5/3
975s ok 6 /checksum/MD5/4
975s ok 7 /checksum/MD5/5
975s ok 8 /checksum/MD5/6
975s ok 9 /checksum/MD5/7
975s ok 10 /checksum/MD5/8
975s ok 11 /checksum/MD5/9
975s ok 12 /checksum/MD5/10
975s ok 13 /checksum/MD5/11
975s ok 14 /checksum/MD5/12
975s ok 15 /checksum/MD5/13
975s ok 16 /checksum/MD5/14
975s ok 17 /checksum/MD5/15
975s ok 18 /checksum/MD5/16
975s ok 19 /checksum/MD5/17
975s ok 20 /checksum/MD5/18
975s ok 21 /checksum/MD5/19
975s ok 22 /checksum/MD5/20
975s ok 23 /checksum/MD5/21
975s ok 24 /checksum/MD5/22
975s ok 25 /checksum/MD5/23
975s ok 26 /checksum/MD5/24
975s ok 27 /checksum/MD5/25
975s ok 28 /checksum/MD5/26
975s ok 29 /checksum/MD5/27
975s ok 30 /checksum/MD5/28
975s ok 31 /checksum/MD5/29
975s ok 32 /checksum/MD5/30
975s ok 33 /checksum/MD5/31
975s ok 34 /checksum/MD5/32
975s ok 35 /checksum/MD5/33
975s ok 36 /checksum/MD5/34
975s ok 37 /checksum/MD5/35
975s ok 38 /checksum/MD5/36
975s ok 39 /checksum/MD5/37
975s ok 40 /checksum/MD5/38
975s ok 41 /checksum/MD5/39
975s ok 42 /checksum/MD5/40
975s ok 43 /checksum/MD5/41
975s ok 44 /checksum/MD5/42
975s ok 45 /checksum/MD5/43
975s ok 46 /checksum/MD5/44
975s ok 47 /checksum/MD5/45
975s ok 48 /checksum/MD5/46
975s ok 49 /checksum/MD5/47
975s ok 50 /checksum/MD5/48
975s ok 51 /checksum/MD5/49
975s ok 52 /checksum/MD5/50
975s ok 53 /checksum/MD5/51
975s ok 54 /checksum/MD5/52
975s ok 55 /checksum/MD5/53
975s ok 56 /checksum/MD5/54
975s ok 57 /checksum/MD5/55
975s ok 58 /checksum/MD5/56
975s ok 59 /checksum/MD5/57
975s ok 60 /checksum/MD5/58
975s ok 61 /checksum/MD5/59
975s ok 62 /checksum/MD5/60
975s ok 63 /checksum/MD5/61
975s ok 64 /checksum/MD5/62
975s ok 65 /checksum/MD5/63
975s ok 66 /checksum/MD5/64
975s ok 67 /checksum/MD5/65
975s ok 68 /checksum/MD5/66
975s ok 69 /checksum/MD5/67
975s ok 70 /checksum/MD5/68
975s ok 71 /checksum/MD5/69
975s ok 72 /checksum/MD5/70
975s ok 73 /checksum/MD5/71
975s ok 74 /checksum/MD5/72
975s ok 75 /checksum/MD5/73
975s ok 76 /checksum/MD5/74
975s ok 77 /checksum/MD5/75
975s ok 78 /checksum/MD5/76
975s ok 79 /checksum/MD5/77
975s ok 80 /checksum/MD5/78
975s ok 81 /checksum/MD5/79
975s ok 82 /checksum/MD5/80
975s ok 83 /checksum/MD5/81
975s ok 84 /checksum/MD5/82
975s ok 85 /checksum/MD5/83
975s ok 86 /checksum/MD5/84
975s ok 87 /checksum/MD5/85
975s ok 88 /checksum/MD5/86
975s ok 89 /checksum/MD5/87
975s ok 90 /checksum/MD5/88
975s ok 91 /checksum/MD5/89
975s ok 92 /checksum/MD5/90
975s ok 93 /checksum/MD5/91
975s ok 94 /checksum/MD5/92
975s ok 95 /checksum/MD5/93
975s ok 96 /checksum/MD5/94
975s ok 97 /checksum/MD5/95
975s ok 98 /checksum/MD5/96
975s ok 99 /checksum/MD5/97
975s ok 100 /checksum/MD5/98
975s ok 101 /checksum/MD5/99
975s ok 102 /checksum/MD5/100
975s ok 103 /checksum/MD5/101
975s ok 104 /checksum/MD5/102
975s ok 105 /checksum/MD5/103
975s ok 106 /checksum/MD5/104
975s ok 107 /checksum/MD5/105
975s ok 108 /checksum/MD5/106
975s ok 109 /checksum/MD5/107
975s ok 110 /checksum/MD5/108
975s ok 111 /checksum/MD5/109
975s ok 112 /checksum/MD5/110
975s ok 113 /checksum/MD5/111
975s ok 114 /checksum/MD5/112
975s ok 115 /checksum/MD5/113
975s ok 116 /checksum/MD5/114
975s ok 117 /checksum/MD5/115
975s ok 118 /checksum/MD5/116
975s ok 119 /checksum/MD5/117
975s ok 120 /checksum/MD5/118
975s ok 121 /checksum/MD5/119
975s ok 122 /checksum/MD5/120
975s ok 123 /checksum/MD5/121
975s ok 124 /checksum/MD5/122
975s ok 125 /checksum/MD5/123
975s ok 126 /checksum/MD5/124
975s ok 127 /checksum/MD5/125
975s ok 128 /checksum/MD5/126
975s ok 129 /checksum/MD5/127
975s ok 130 /checksum/MD5/128
975s ok 131 /checksum/MD5/129
975s ok 132 /checksum/MD5/130
975s ok 133 /checksum/MD5/131
975s ok 134 /checksum/MD5/132
975s ok 135 /checksum/MD5/133
975s ok 136 /checksum/MD5/134
975s ok 137 /checksum/MD5/135
975s ok 138 /checksum/MD5/136
975s ok 139 /checksum/MD5/137
975s ok 140 /checksum/MD5/138
975s ok 141 /checksum/MD5/139
975s ok 142 /checksum/MD5/140
975s ok 143 /checksum/MD5/141
975s ok 144 /checksum/MD5/142
975s ok 145 /checksum/MD5/143
975s ok 146 /checksum/MD5/144
975s ok 147 /checksum/MD5/145
975s ok 148 /checksum/MD5/146
975s ok 149 /checksum/MD5/147
975s ok 150 /checksum/MD5/148
975s ok 151 /checksum/MD5/149
975s ok 152 /checksum/MD5/150
975s ok 153 /checksum/MD5/151
975s ok 154 /checksum/MD5/152
975s ok 155 /checksum/MD5/153
975s ok 156 /checksum/MD5/154
975s ok 157 /checksum/MD5/155
975s ok 158 /checksum/MD5/156
975s ok 159 /checksum/MD5/157
975s ok 160 /checksum/MD5/158
975s ok 161 /checksum/MD5/159
975s ok 162 /checksum/MD5/160
975s ok 163 /checksum/MD5/161
975s ok 164 /checksum/MD5/162
975s ok 165 /checksum/MD5/163
975s ok 166 /checksum/MD5/164
975s ok 167 /checksum/MD5/165
975s ok 168 /checksum/MD5/166
975s ok 169 /checksum/MD5/167
975s ok 170 /checksum/MD5/168
975s ok 171 /checksum/MD5/169
975s ok 172 /checksum/MD5/170
975s ok 173 /checksum/MD5/171
975s ok 174 /checksum/MD5/172
975s ok 175 /checksum/MD5/173
975s ok 176 /checksum/MD5/174
975s ok 177 /checksum/MD5/175
975s ok 178 /checksum/MD5/176
975s ok 179 /checksum/MD5/177
975s ok 180 /checksum/MD5/178
975s ok 181 /checksum/MD5/179
975s ok 182 /checksum/MD5/180
975s ok 183 /checksum/MD5/181
975s ok 184 /checksum/MD5/182
975s ok 185 /checksum/MD5/183
975s ok 186 /checksum/MD5/string
975s ok 187 /checksum/MD5/bytes
975s # Start of reset tests
975s ok 188 /checksum/MD5/reset/0
975s ok 189 /checksum/MD5/reset/1
975s ok 190 /checksum/MD5/reset/2
975s ok 191 /checksum/MD5/reset/3
975s ok 192 /checksum/MD5/reset/4
975s ok 193 /checksum/MD5/reset/5
975s ok 194 /checksum/MD5/reset/6
975s ok 195 /checksum/MD5/reset/7
975s ok 196 /checksum/MD5/reset/8
975s ok 197 /checksum/MD5/reset/9
975s ok 198 /checksum/MD5/reset/10
975s ok 199 /checksum/MD5/reset/11
975s ok 200 /checksum/MD5/reset/12
975s ok 201 /checksum/MD5/reset/13
975s ok 202 /checksum/MD5/reset/14
975s ok 203 /checksum/MD5/reset/15
975s ok 204 /checksum/MD5/reset/16
975s ok 205 /checksum/MD5/reset/17
975s ok 206 /checksum/MD5/reset/18
975s ok 207 /checksum/MD5/reset/19
975s ok 208 /checksum/MD5/reset/20
975s ok 209 /checksum/MD5/reset/21
975s ok 210 /checksum/MD5/reset/22
975s ok 211 /checksum/MD5/reset/23
975s ok 212 /checksum/MD5/reset/24
975s ok 213 /checksum/MD5/reset/25
975s ok 214 /checksum/MD5/reset/26
975s ok 215 /checksum/MD5/reset/27
975s ok 216 /checksum/MD5/reset/28
975s ok 217 /checksum/MD5/reset/29
975s ok 218 /checksum/MD5/reset/30
975s ok 219 /checksum/MD5/reset/31
975s ok 220 /checksum/MD5/reset/32
975s ok 221 /checksum/MD5/reset/33
975s ok 222 /checksum/MD5/reset/34
975s ok 223 /checksum/MD5/reset/35
975s ok 224 /checksum/MD5/reset/36
975s ok 225 /checksum/MD5/reset/37
975s ok 226 /checksum/MD5/reset/38
975s ok 227 /checksum/MD5/reset/39
975s ok 228 /checksum/MD5/reset/40
975s ok 229 /checksum/MD5/reset/41
975s ok 230 /checksum/MD5/reset/42
975s ok 231 /checksum/MD5/reset/43
975s ok 232 /checksum/MD5/reset/44
975s ok 233 /checksum/MD5/reset/45
975s ok 234 /checksum/MD5/reset/46
975s ok 235 /checksum/MD5/reset/47
975s ok 236 /checksum/MD5/reset/48
975s ok 237 /checksum/MD5/reset/49
975s ok 238 /checksum/MD5/reset/50
975s ok 239 /checksum/MD5/reset/51
975s ok 240 /checksum/MD5/reset/52
975s ok 241 /checksum/MD5/reset/53
975s ok 242 /checksum/MD5/reset/54
975s ok 243 /checksum/MD5/reset/55
975s ok 244 /checksum/MD5/reset/56
975s ok 245 /checksum/MD5/reset/57
975s ok 246 /checksum/MD5/reset/58
975s ok 247 /checksum/MD5/reset/59
975s ok 248 /checksum/MD5/reset/60
975s ok 249 /checksum/MD5/reset/61
975s ok 250 /checksum/MD5/reset/62
975s ok 251 /checksum/MD5/reset/63
975s ok 252 /checksum/MD5/reset/64
975s ok 253 /checksum/MD5/reset/65
975s ok 254 /checksum/MD5/reset/66
975s ok 255 /checksum/MD5/reset/67
975s ok 256 /checksum/MD5/reset/68
975s ok 257 /checksum/MD5/reset/69
975s ok 258 /checksum/MD5/reset/70
975s ok 259 /checksum/MD5/reset/71
975s ok 260 /checksum/MD5/reset/72
975s ok 261 /checksum/MD5/reset/73
975s ok 262 /checksum/MD5/reset/74
975s ok 263 /checksum/MD5/reset/75
975s ok 264 /checksum/MD5/reset/76
975s ok 265 /checksum/MD5/reset/77
975s ok 266 /checksum/MD5/reset/78
975s ok 267 /checksum/MD5/reset/79
975s ok 268 /checksum/MD5/reset/80
975s ok 269 /checksum/MD5/reset/81
975s ok 270 /checksum/MD5/reset/82
975s ok 271 /checksum/MD5/reset/83
975s ok 272 /checksum/MD5/reset/84
975s ok 273 /checksum/MD5/reset/85
975s ok 274 /checksum/MD5/reset/86
975s ok 275 /checksum/MD5/reset/87
975s ok 276 /checksum/MD5/reset/88
975s ok 277 /checksum/MD5/reset/89
975s ok 278 /checksum/MD5/reset/90
975s ok 279 /checksum/MD5/reset/91
975s ok 280 /checksum/MD5/reset/92
975s ok 281 /checksum/MD5/reset/93
975s ok 282 /checksum/MD5/reset/94
975s ok 283 /checksum/MD5/reset/95
975s ok 284 /checksum/MD5/reset/96
975s ok 285 /checksum/MD5/reset/97
975s ok 286 /checksum/MD5/reset/98
975s ok 287 /checksum/MD5/reset/99
975s ok 288 /checksum/MD5/reset/100
975s ok 289 /checksum/MD5/reset/101
975s ok 290 /checksum/MD5/reset/102
975s ok 291 /checksum/MD5/reset/103
975s ok 292 /checksum/MD5/reset/104
975s ok 293 /checksum/MD5/reset/105
975s ok 294 /checksum/MD5/reset/106
975s ok 295 /checksum/MD5/reset/107
975s ok 296 /checksum/MD5/reset/108
975s ok 297 /checksum/MD5/reset/109
975s ok 298 /checksum/MD5/reset/110
975s ok 299 /checksum/MD5/reset/111
975s ok 300 /checksum/MD5/reset/112
975s ok 301 /checksum/MD5/reset/113
975s ok 302 /checksum/MD5/reset/114
975s ok 303 /checksum/MD5/reset/115
975s ok 304 /checksum/MD5/reset/116
975s ok 305 /checksum/MD5/reset/117
975s ok 306 /checksum/MD5/reset/118
975s ok 307 /checksum/MD5/reset/119
975s ok 308 /checksum/MD5/reset/120
975s ok 309 /checksum/MD5/reset/121
975s ok 310 /checksum/MD5/reset/122
975s ok 311 /checksum/MD5/reset/123
975s ok 312 /checksum/MD5/reset/124
975s ok 313 /checksum/MD5/reset/125
975s ok 314 /checksum/MD5/reset/126
975s ok 315 /checksum/MD5/reset/127
975s ok 316 /checksum/MD5/reset/128
975s ok 317 /checksum/MD5/reset/129
975s ok 318 /checksum/MD5/reset/130
975s ok 319 /checksum/MD5/reset/131
975s ok 320 /checksum/MD5/reset/132
975s ok 321 /checksum/MD5/reset/133
975s ok 322 /checksum/MD5/reset/134
975s ok 323 /checksum/MD5/reset/135
975s ok 324 /checksum/MD5/reset/136
975s ok 325 /checksum/MD5/reset/137
975s ok 326 /checksum/MD5/reset/138
975s ok 327 /checksum/MD5/reset/139
975s ok 328 /checksum/MD5/reset/140
975s ok 329 /checksum/MD5/reset/141
975s ok 330 /checksum/MD5/reset/142
975s ok 331 /checksum/MD5/reset/143
975s ok 332 /checksum/MD5/reset/144
975s ok 333 /checksum/MD5/reset/145
975s ok 334 /checksum/MD5/reset/146
975s ok 335 /checksum/MD5/reset/147
975s ok 336 /checksum/MD5/reset/148
975s ok 337 /checksum/MD5/reset/149
975s ok 338 /checksum/MD5/reset/150
975s ok 339 /checksum/MD5/reset/151
975s ok 340 /checksum/MD5/reset/152
975s ok 341 /checksum/MD5/reset/153
975s ok 342 /checksum/MD5/reset/154
975s ok 343 /checksum/MD5/reset/155
975s ok 344 /checksum/MD5/reset/156
975s ok 345 /checksum/MD5/reset/157
975s ok 346 /checksum/MD5/reset/158
975s ok 347 /checksum/MD5/reset/159
975s ok 348 /checksum/MD5/reset/160
975s ok 349 /checksum/MD5/reset/161
975s ok 350 /checksum/MD5/reset/162
975s ok 351 /checksum/MD5/reset/163
975s ok 352 /checksum/MD5/reset/164
975s ok 353 /checksum/MD5/reset/165
975s ok 354 /checksum/MD5/reset/166
975s ok 355 /checksum/MD5/reset/167
975s ok 356 /checksum/MD5/reset/168
975s ok 357 /checksum/MD5/reset/169
975s ok 358 /checksum/MD5/reset/170
975s ok 359 /checksum/MD5/reset/171
975s ok 360 /checksum/MD5/reset/172
975s ok 361 /checksum/MD5/reset/173
975s ok 362 /checksum/MD5/reset/174
975s ok 363 /checksum/MD5/reset/175
975s ok 364 /checksum/MD5/reset/176
975s ok 365 /checksum/MD5/reset/177
975s ok 366 /checksum/MD5/reset/178
975s ok 367 /checksum/MD5/reset/179
975s ok 368 /checksum/MD5/reset/180
975s ok 369 /checksum/MD5/reset/181
975s ok 370 /checksum/MD5/reset/182
975s ok 371 /checksum/MD5/reset/183
975s # End of reset tests
975s # End of MD5 tests
975s # Start of SHA1 tests
975s ok 372 /checksum/SHA1/0
975s ok 373 /checksum/SHA1/1
975s ok 374 /checksum/SHA1/2
975s ok 375 /checksum/SHA1/3
975s ok 376 /checksum/SHA1/4
975s ok 377 /checksum/SHA1/5
975s ok 378 /checksum/SHA1/6
975s ok 379 /checksum/SHA1/7
975s ok 380 /checksum/SHA1/8
975s ok 381 /checksum/SHA1/9
975s ok 382 /checksum/SHA1/10
975s ok 383 /checksum/SHA1/11
975s ok 384 /checksum/SHA1/12
975s ok 385 /checksum/SHA1/13
975s ok 386 /checksum/SHA1/14
975s ok 387 /checksum/SHA1/15
975s ok 388 /checksum/SHA1/16
975s ok 389 /checksum/SHA1/17
975s ok 390 /checksum/SHA1/18
975s ok 391 /checksum/SHA1/19
975s ok 392 /checksum/SHA1/20
975s ok 393 /checksum/SHA1/21
975s ok 394 /checksum/SHA1/22
975s ok 395 /checksum/SHA1/23
975s ok 396 /checksum/SHA1/24
975s ok 397 /checksum/SHA1/25
975s ok 398 /checksum/SHA1/26
975s ok 399 /checksum/SHA1/27
975s ok 400 /checksum/SHA1/28
975s ok 401 /checksum/SHA1/29
975s ok 402 /checksum/SHA1/30
975s ok 403 /checksum/SHA1/31
975s ok 404 /checksum/SHA1/32
975s ok 405 /checksum/SHA1/33
975s ok 406 /checksum/SHA1/34
975s ok 407 /checksum/SHA1/35
975s ok 408 /checksum/SHA1/36
975s ok 409 /checksum/SHA1/37
975s ok 410 /checksum/SHA1/38
975s ok 411 /checksum/SHA1/39
975s ok 412 /checksum/SHA1/40
975s ok 413 /checksum/SHA1/41
975s ok 414 /checksum/SHA1/42
975s ok 415 /checksum/SHA1/43
975s ok 416 /checksum/SHA1/44
975s ok 417 /checksum/SHA1/45
975s ok 418 /checksum/SHA1/46
975s ok 419 /checksum/SHA1/47
975s ok 420 /checksum/SHA1/48
975s ok 421 /checksum/SHA1/49
975s ok 422 /checksum/SHA1/50
975s ok 423 /checksum/SHA1/51
975s ok 424 /checksum/SHA1/52
975s ok 425 /checksum/SHA1/53
975s ok 426 /checksum/SHA1/54
975s ok 427 /checksum/SHA1/55
975s ok 428 /checksum/SHA1/56
975s ok 429 /checksum/SHA1/57
975s ok 430 /checksum/SHA1/58
975s ok 431 /checksum/SHA1/59
975s ok 432 /checksum/SHA1/60
975s ok 433 /checksum/SHA1/61
975s ok 434 /checksum/SHA1/62
975s ok 435 /checksum/SHA1/63
975s ok 436 /checksum/SHA1/64
975s ok 437 /checksum/SHA1/65
975s ok 438 /checksum/SHA1/66
975s ok 439 /checksum/SHA1/67
975s ok 440 /checksum/SHA1/68
975s ok 441 /checksum/SHA1/69
975s ok 442 /checksum/SHA1/70
975s ok 443 /checksum/SHA1/71
975s ok 444 /checksum/SHA1/72
975s ok 445 /checksum/SHA1/73
975s ok 446 /checksum/SHA1/74
975s ok 447 /checksum/SHA1/75
975s ok 448 /checksum/SHA1/76
975s ok 449 /checksum/SHA1/77
975s ok 450 /checksum/SHA1/78
975s ok 451 /checksum/SHA1/79
975s ok 452 /checksum/SHA1/80
975s ok 453 /checksum/SHA1/81
975s ok 454 /checksum/SHA1/82
975s ok 455 /checksum/SHA1/83
975s ok 456 /checksum/SHA1/84
975s ok 457 /checksum/SHA1/85
975s ok 458 /checksum/SHA1/86
975s ok 459 /checksum/SHA1/87
975s ok 460 /checksum/SHA1/88
975s ok 461 /checksum/SHA1/89
975s ok 462 /checksum/SHA1/90
975s ok 463 /checksum/SHA1/91
975s ok 464 /checksum/SHA1/92
975s ok 465 /checksum/SHA1/93
975s ok 466 /checksum/SHA1/94
975s ok 467 /checksum/SHA1/95
975s ok 468 /checksum/SHA1/96
975s ok 469 /checksum/SHA1/97
975s ok 470 /checksum/SHA1/98
975s ok 471 /checksum/SHA1/99
975s ok 472 /checksum/SHA1/100
975s ok 473 /checksum/SHA1/101
975s ok 474 /checksum/SHA1/102
975s ok 475 /checksum/SHA1/103
975s ok 476 /checksum/SHA1/104
975s ok 477 /checksum/SHA1/105
975s ok 478 /checksum/SHA1/106
975s ok 479 /checksum/SHA1/107
975s ok 480 /checksum/SHA1/108
975s ok 481 /checksum/SHA1/109
975s ok 482 /checksum/SHA1/110
975s ok 483 /checksum/SHA1/111
975s ok 484 /checksum/SHA1/112
975s ok 485 /checksum/SHA1/113
975s ok 486 /checksum/SHA1/114
975s ok 487 /checksum/SHA1/115
975s ok 488 /checksum/SHA1/116
975s ok 489 /checksum/SHA1/117
975s ok 490 /checksum/SHA1/118
975s ok 491 /checksum/SHA1/119
975s ok 492 /checksum/SHA1/120
975s ok 493 /checksum/SHA1/121
975s ok 494 /checksum/SHA1/122
975s ok 495 /checksum/SHA1/123
975s ok 496 /checksum/SHA1/124
975s ok 497 /checksum/SHA1/125
975s ok 498 /checksum/SHA1/126
975s ok 499 /checksum/SHA1/127
975s ok 500 /checksum/SHA1/128
975s ok 501 /checksum/SHA1/129
975s ok 502 /checksum/SHA1/130
975s ok 503 /checksum/SHA1/131
975s ok 504 /checksum/SHA1/132
975s ok 505 /checksum/SHA1/133
975s ok 506 /checksum/SHA1/134
975s ok 507 /checksum/SHA1/135
975s ok 508 /checksum/SHA1/136
975s ok 509 /checksum/SHA1/137
975s ok 510 /checksum/SHA1/138
975s ok 511 /checksum/SHA1/139
975s ok 512 /checksum/SHA1/140
975s ok 513 /checksum/SHA1/141
975s ok 514 /checksum/SHA1/142
975s ok 515 /checksum/SHA1/143
975s ok 516 /checksum/SHA1/144
975s ok 517 /checksum/SHA1/145
975s ok 518 /checksum/SHA1/146
975s ok 519 /checksum/SHA1/147
975s ok 520 /checksum/SHA1/148
975s ok 521 /checksum/SHA1/149
975s ok 522 /checksum/SHA1/150
975s ok 523 /checksum/SHA1/151
975s ok 524 /checksum/SHA1/152
975s ok 525 /checksum/SHA1/153
975s ok 526 /checksum/SHA1/154
975s ok 527 /checksum/SHA1/155
975s ok 528 /checksum/SHA1/156
975s ok 529 /checksum/SHA1/157
975s ok 530 /checksum/SHA1/158
975s ok 531 /checksum/SHA1/159
975s ok 532 /checksum/SHA1/160
975s ok 533 /checksum/SHA1/161
975s ok 534 /checksum/SHA1/162
975s ok 535 /checksum/SHA1/163
975s ok 536 /checksum/SHA1/164
975s ok 537 /checksum/SHA1/165
975s ok 538 /checksum/SHA1/166
975s ok 539 /checksum/SHA1/167
975s ok 540 /checksum/SHA1/168
975s ok 541 /checksum/SHA1/169
975s ok 542 /checksum/SHA1/170
975s ok 543 /checksum/SHA1/171
975s ok 544 /checksum/SHA1/172
975s ok 545 /checksum/SHA1/173
975s ok 546 /checksum/SHA1/174
975s ok 547 /checksum/SHA1/175
975s ok 548 /checksum/SHA1/176
975s ok 549 /checksum/SHA1/177
975s ok 550 /checksum/SHA1/178
975s ok 551 /checksum/SHA1/179
975s ok 552 /checksum/SHA1/180
975s ok 553 /checksum/SHA1/181
975s ok 554 /checksum/SHA1/182
975s ok 555 /checksum/SHA1/183
975s ok 556 /checksum/SHA1/string
975s ok 557 /checksum/SHA1/bytes
975s # Start of reset tests
975s ok 558 /checksum/SHA1/reset/0
975s ok 559 /checksum/SHA1/reset/1
975s ok 560 /checksum/SHA1/reset/2
975s ok 561 /checksum/SHA1/reset/3
975s ok 562 /checksum/SHA1/reset/4
975s ok 563 /checksum/SHA1/reset/5
975s ok 564 /checksum/SHA1/reset/6
975s ok 565 /checksum/SHA1/reset/7
975s ok 566 /checksum/SHA1/reset/8
975s ok 567 /checksum/SHA1/reset/9
975s ok 568 /checksum/SHA1/reset/10
975s ok 569 /checksum/SHA1/reset/11
975s ok 570 /checksum/SHA1/reset/12
975s ok 571 /checksum/SHA1/reset/13
975s ok 572 /checksum/SHA1/reset/14
975s ok 573 /checksum/SHA1/reset/15
975s ok 574 /checksum/SHA1/reset/16
975s ok 575 /checksum/SHA1/reset/17
975s ok 576 /checksum/SHA1/reset/18
975s ok 577 /checksum/SHA1/reset/19
975s ok 578 /checksum/SHA1/reset/20
975s ok 579 /checksum/SHA1/reset/21
975s ok 580 /checksum/SHA1/reset/22
975s ok 581 /checksum/SHA1/reset/23
975s ok 582 /checksum/SHA1/reset/24
975s ok 583 /checksum/SHA1/reset/25
975s ok 584 /checksum/SHA1/reset/26
975s ok 585 /checksum/SHA1/reset/27
975s ok 586 /checksum/SHA1/reset/28
975s ok 587 /checksum/SHA1/reset/29
975s ok 588 /checksum/SHA1/reset/30
975s ok 589 /checksum/SHA1/reset/31
975s ok 590 /checksum/SHA1/reset/32
975s ok 591 /checksum/SHA1/reset/33
975s ok 592 /checksum/SHA1/reset/34
975s ok 593 /checksum/SHA1/reset/35
975s ok 594 /checksum/SHA1/reset/36
975s ok 595 /checksum/SHA1/reset/37
975s ok 596 /checksum/SHA1/reset/38
975s ok 597 /checksum/SHA1/reset/39
975s ok 598 /checksum/SHA1/reset/40
975s ok 599 /checksum/SHA1/reset/41
975s ok 600 /checksum/SHA1/reset/42
975s ok 601 /checksum/SHA1/reset/43
975s ok 602 /checksum/SHA1/reset/44
975s ok 603 /checksum/SHA1/reset/45
975s ok 604 /checksum/SHA1/reset/46
975s ok 605 /checksum/SHA1/reset/47
975s ok 606 /checksum/SHA1/reset/48
975s ok 607 /checksum/SHA1/reset/49
975s ok 608 /checksum/SHA1/reset/50
975s ok 609 /checksum/SHA1/reset/51
975s ok 610 /checksum/SHA1/reset/52
975s ok 611 /checksum/SHA1/reset/53
975s ok 612 /checksum/SHA1/reset/54
975s ok 613 /checksum/SHA1/reset/55
975s ok 614 /checksum/SHA1/reset/56
975s ok 615 /checksum/SHA1/reset/57
975s ok 616 /checksum/SHA1/reset/58
975s ok 617 /checksum/SHA1/reset/59
975s ok 618 /checksum/SHA1/reset/60
975s ok 619 /checksum/SHA1/reset/61
975s ok 620 /checksum/SHA1/reset/62
975s ok 621 /checksum/SHA1/reset/63
975s ok 622 /checksum/SHA1/reset/64
975s ok 623 /checksum/SHA1/reset/65
975s ok 624 /checksum/SHA1/reset/66
975s ok 625 /checksum/SHA1/reset/67
975s ok 626 /checksum/SHA1/reset/68
975s ok 627 /checksum/SHA1/reset/69
975s ok 628 /checksum/SHA1/reset/70
975s ok 629 /checksum/SHA1/reset/71
975s ok 630 /checksum/SHA1/reset/72
975s ok 631 /checksum/SHA1/reset/73
975s ok 632 /checksum/SHA1/reset/74
975s ok 633 /checksum/SHA1/reset/75
975s ok 634 /checksum/SHA1/reset/76
975s ok 635 /checksum/SHA1/reset/77
975s ok 636 /checksum/SHA1/reset/78
975s ok 637 /checksum/SHA1/reset/79
975s ok 638 /checksum/SHA1/reset/80
975s ok 639 /checksum/SHA1/reset/81
975s ok 640 /checksum/SHA1/reset/82
975s ok 641 /checksum/SHA1/reset/83
975s ok 642 /checksum/SHA1/reset/84
975s ok 643 /checksum/SHA1/reset/85
975s ok 644 /checksum/SHA1/reset/86
975s ok 645 /checksum/SHA1/reset/87
975s ok 646 /checksum/SHA1/reset/88
975s ok 647 /checksum/SHA1/reset/89
975s ok 648 /checksum/SHA1/reset/90
975s ok 649 /checksum/SHA1/reset/91
975s ok 650 /checksum/SHA1/reset/92
975s ok 651 /checksum/SHA1/reset/93
975s ok 652 /checksum/SHA1/reset/94
975s ok 653 /checksum/SHA1/reset/95
975s ok 654 /checksum/SHA1/reset/96
975s ok 655 /checksum/SHA1/reset/97
975s ok 656 /checksum/SHA1/reset/98
975s ok 657 /checksum/SHA1/reset/99
975s ok 658 /checksum/SHA1/reset/100
975s ok 659 /checksum/SHA1/reset/101
975s ok 660 /checksum/SHA1/reset/102
975s ok 661 /checksum/SHA1/reset/103
975s ok 662 /checksum/SHA1/reset/104
975s ok 663 /checksum/SHA1/reset/105
975s ok 664 /checksum/SHA1/reset/106
975s ok 665 /checksum/SHA1/reset/107
975s ok 666 /checksum/SHA1/reset/108
975s ok 667 /checksum/SHA1/reset/109
975s ok 668 /checksum/SHA1/reset/110
975s ok 669 /checksum/SHA1/reset/111
975s ok 670 /checksum/SHA1/reset/112
975s ok 671 /checksum/SHA1/reset/113
975s ok 672 /checksum/SHA1/reset/114
975s ok 673 /checksum/SHA1/reset/115
975s ok 674 /checksum/SHA1/reset/116
975s ok 675 /checksum/SHA1/reset/117
975s ok 676 /checksum/SHA1/reset/118
975s ok 677 /checksum/SHA1/reset/119
975s ok 678 /checksum/SHA1/reset/120
975s ok 679 /checksum/SHA1/reset/121
975s ok 680 /checksum/SHA1/reset/122
975s ok 681 /checksum/SHA1/reset/123
975s ok 682 /checksum/SHA1/reset/124
975s ok 683 /checksum/SHA1/reset/125
975s ok 684 /checksum/SHA1/reset/126
975s ok 685 /checksum/SHA1/reset/127
975s ok 686 /checksum/SHA1/reset/128
975s ok 687 /checksum/SHA1/reset/129
975s ok 688 /checksum/SHA1/reset/130
975s ok 689 /checksum/SHA1/reset/131
975s ok 690 /checksum/SHA1/reset/132
975s ok 691 /checksum/SHA1/reset/133
975s ok 692 /checksum/SHA1/reset/134
975s ok 693 /checksum/SHA1/reset/135
975s ok 694 /checksum/SHA1/reset/136
975s ok 695 /checksum/SHA1/reset/137
975s ok 696 /checksum/SHA1/reset/138
975s ok 697 /checksum/SHA1/reset/139
975s ok 698 /checksum/SHA1/reset/140
975s ok 699 /checksum/SHA1/reset/141
975s ok 700 /checksum/SHA1/reset/142
975s ok 701 /checksum/SHA1/reset/143
975s ok 702 /checksum/SHA1/reset/144
975s ok 703 /checksum/SHA1/reset/145
975s ok 704 /checksum/SHA1/reset/146
975s ok 705 /checksum/SHA1/reset/147
975s ok 706 /checksum/SHA1/reset/148
975s ok 707 /checksum/SHA1/reset/149
975s ok 708 /checksum/SHA1/reset/150
975s ok 709 /checksum/SHA1/reset/151
975s ok 710 /checksum/SHA1/reset/152
975s ok 711 /checksum/SHA1/reset/153
975s ok 712 /checksum/SHA1/reset/154
975s ok 713 /checksum/SHA1/reset/155
975s ok 714 /checksum/SHA1/reset/156
975s ok 715 /checksum/SHA1/reset/157
975s ok 716 /checksum/SHA1/reset/158
975s ok 717 /checksum/SHA1/reset/159
975s ok 718 /checksum/SHA1/reset/160
975s ok 719 /checksum/SHA1/reset/161
975s ok 720 /checksum/SHA1/reset/162
975s ok 721 /checksum/SHA1/reset/163
975s ok 722 /checksum/SHA1/reset/164
975s ok 723 /checksum/SHA1/reset/165
975s ok 724 /checksum/SHA1/reset/166
975s ok 725 /checksum/SHA1/reset/167
975s ok 726 /checksum/SHA1/reset/168
975s ok 727 /checksum/SHA1/reset/169
975s ok 728 /checksum/SHA1/reset/170
975s ok 729 /checksum/SHA1/reset/171
975s ok 730 /checksum/SHA1/reset/172
975s ok 731 /checksum/SHA1/reset/173
975s ok 732 /checksum/SHA1/reset/174
975s ok 733 /checksum/SHA1/reset/175
975s ok 734 /checksum/SHA1/reset/176
975s ok 735 /checksum/SHA1/reset/177
975s ok 736 /checksum/SHA1/reset/178
975s ok 737 /checksum/SHA1/reset/179
975s ok 738 /checksum/SHA1/reset/180
975s ok 739 /checksum/SHA1/reset/181
975s ok 740 /checksum/SHA1/reset/182
975s ok 741 /checksum/SHA1/reset/183
975s # End of reset tests
975s # End of SHA1 tests
975s # Start of SHA256 tests
975s ok 742 /checksum/SHA256/0
975s ok 743 /checksum/SHA256/1
975s ok 744 /checksum/SHA256/2
975s ok 745 /checksum/SHA256/3
975s ok 746 /checksum/SHA256/4
975s ok 747 /checksum/SHA256/5
975s ok 748 /checksum/SHA256/6
975s ok 749 /checksum/SHA256/7
975s ok 750 /checksum/SHA256/8
975s ok 751 /checksum/SHA256/9
975s ok 752 /checksum/SHA256/10
975s ok 753 /checksum/SHA256/11
975s ok 754 /checksum/SHA256/12
975s ok 755 /checksum/SHA256/13
975s ok 756 /checksum/SHA256/14
975s ok 757 /checksum/SHA256/15
975s ok 758 /checksum/SHA256/16
975s ok 759 /checksum/SHA256/17
975s ok 760 /checksum/SHA256/18
975s ok 761 /checksum/SHA256/19
975s ok 762 /checksum/SHA256/20
975s ok 763 /checksum/SHA256/21
975s ok 764 /checksum/SHA256/22
975s ok 765 /checksum/SHA256/23
975s ok 766 /checksum/SHA256/24
975s ok 767 /checksum/SHA256/25
975s ok 768 /checksum/SHA256/26
975s ok 769 /checksum/SHA256/27
975s ok 770 /checksum/SHA256/28
975s ok 771 /checksum/SHA256/29
975s ok 772 /checksum/SHA256/30
975s ok 773 /checksum/SHA256/31
975s ok 774 /checksum/SHA256/32
975s ok 775 /checksum/SHA256/33
975s ok 776 /checksum/SHA256/34
975s ok 777 /checksum/SHA256/35
975s ok 778 /checksum/SHA256/36
975s ok 779 /checksum/SHA256/37
975s ok 780 /checksum/SHA256/38
975s ok 781 /checksum/SHA256/39
975s ok 782 /checksum/SHA256/40
975s ok 783 /checksum/SHA256/41
975s ok 784 /checksum/SHA256/42
975s ok 785 /checksum/SHA256/43
975s ok 786 /checksum/SHA256/44
975s ok 787 /checksum/SHA256/45
975s ok 788 /checksum/SHA256/46
975s ok 789 /checksum/SHA256/47
975s ok 790 /checksum/SHA256/48
975s ok 791 /checksum/SHA256/49
975s ok 792 /checksum/SHA256/50
975s ok 793 /checksum/SHA256/51
975s ok 794 /checksum/SHA256/52
975s ok 795 /checksum/SHA256/53
975s ok 796 /checksum/SHA256/54
975s ok 797 /checksum/SHA256/55
975s ok 798 /checksum/SHA256/56
975s ok 799 /checksum/SHA256/57
975s ok 800 /checksum/SHA256/58
975s ok 801 /checksum/SHA256/59
975s ok 802 /checksum/SHA256/60
975s ok 803 /checksum/SHA256/61
975s ok 804 /checksum/SHA256/62
975s ok 805 /checksum/SHA256/63
975s ok 806 /checksum/SHA256/64
975s ok 807 /checksum/SHA256/65
975s ok 808 /checksum/SHA256/66
975s ok 809 /checksum/SHA256/67
975s ok 810 /checksum/SHA256/68
975s ok 811 /checksum/SHA256/69
975s ok 812 /checksum/SHA256/70
975s ok 813 /checksum/SHA256/71
975s ok 814 /checksum/SHA256/72
975s ok 815 /checksum/SHA256/73
975s ok 816 /checksum/SHA256/74
975s ok 817 /checksum/SHA256/75
975s ok 818 /checksum/SHA256/76
975s ok 819 /checksum/SHA256/77
975s ok 820 /checksum/SHA256/78
975s ok 821 /checksum/SHA256/79
975s ok 822 /checksum/SHA256/80
975s ok 823 /checksum/SHA256/81
975s ok 824 /checksum/SHA256/82
975s ok 825 /checksum/SHA256/83
975s ok 826 /checksum/SHA256/84
975s ok 827 /checksum/SHA256/85
975s ok 828 /checksum/SHA256/86
975s ok 829 /checksum/SHA256/87
975s ok 830 /checksum/SHA256/88
975s ok 831 /checksum/SHA256/89
975s ok 832 /checksum/SHA256/90
975s ok 833 /checksum/SHA256/91
975s ok 834 /checksum/SHA256/92
975s ok 835 /checksum/SHA256/93
975s ok 836 /checksum/SHA256/94
975s ok 837 /checksum/SHA256/95
975s ok 838 /checksum/SHA256/96
975s ok 839 /checksum/SHA256/97
975s ok 840 /checksum/SHA256/98
975s ok 841 /checksum/SHA256/99
975s ok 842 /checksum/SHA256/100
975s ok 843 /checksum/SHA256/101
975s ok 844 /checksum/SHA256/102
975s ok 845 /checksum/SHA256/103
975s ok 846 /checksum/SHA256/104
975s ok 847 /checksum/SHA256/105
975s ok 848 /checksum/SHA256/106
975s ok 849 /checksum/SHA256/107
975s ok 850 /checksum/SHA256/108
975s ok 851 /checksum/SHA256/109
975s ok 852 /checksum/SHA256/110
975s ok 853 /checksum/SHA256/111
975s ok 854 /checksum/SHA256/112
975s ok 855 /checksum/SHA256/113
975s ok 856 /checksum/SHA256/114
975s ok 857 /checksum/SHA256/115
975s ok 858 /checksum/SHA256/116
975s ok 859 /checksum/SHA256/117
975s ok 860 /checksum/SHA256/118
975s ok 861 /checksum/SHA256/119
975s ok 862 /checksum/SHA256/120
975s ok 863 /checksum/SHA256/121
975s ok 864 /checksum/SHA256/122
975s ok 865 /checksum/SHA256/123
975s ok 866 /checksum/SHA256/124
975s ok 867 /checksum/SHA256/125
975s ok 868 /checksum/SHA256/126
975s ok 869 /checksum/SHA256/127
975s ok 870 /checksum/SHA256/128
975s ok 871 /checksum/SHA256/129
975s ok 872 /checksum/SHA256/130
975s ok 873 /checksum/SHA256/131
975s ok 874 /checksum/SHA256/132
975s ok 875 /checksum/SHA256/133
975s ok 876 /checksum/SHA256/134
975s ok 877 /checksum/SHA256/135
975s ok 878 /checksum/SHA256/136
975s ok 879 /checksum/SHA256/137
975s ok 880 /checksum/SHA256/138
975s ok 881 /checksum/SHA256/139
975s ok 882 /checksum/SHA256/140
975s ok 883 /checksum/SHA256/141
975s ok 884 /checksum/SHA256/142
975s ok 885 /checksum/SHA256/143
975s ok 886 /checksum/SHA256/144
975s ok 887 /checksum/SHA256/145
975s ok 888 /checksum/SHA256/146
975s ok 889 /checksum/SHA256/147
975s ok 890 /checksum/SHA256/148
975s ok 891 /checksum/SHA256/149
975s ok 892 /checksum/SHA256/150
975s ok 893 /checksum/SHA256/151
975s ok 894 /checksum/SHA256/152
975s ok 895 /checksum/SHA256/153
975s ok 896 /checksum/SHA256/154
975s ok 897 /checksum/SHA256/155
975s ok 898 /checksum/SHA256/156
975s ok 899 /checksum/SHA256/157
975s ok 900 /checksum/SHA256/158
975s ok 901 /checksum/SHA256/159
975s ok 902 /checksum/SHA256/160
975s ok 903 /checksum/SHA256/161
975s ok 904 /checksum/SHA256/162
975s ok 905 /checksum/SHA256/163
975s ok 906 /checksum/SHA256/164
975s ok 907 /checksum/SHA256/165
975s ok 908 /checksum/SHA256/166
975s ok 909 /checksum/SHA256/167
975s ok 910 /checksum/SHA256/168
975s ok 911 /checksum/SHA256/169
975s ok 912 /checksum/SHA256/170
975s ok 913 /checksum/SHA256/171
975s ok 914 /checksum/SHA256/172
975s ok 915 /checksum/SHA256/173
975s ok 916 /checksum/SHA256/174
975s ok 917 /checksum/SHA256/175
975s ok 918 /checksum/SHA256/176
975s ok 919 /checksum/SHA256/177
975s ok 920 /checksum/SHA256/178
975s ok 921 /checksum/SHA256/179
975s ok 922 /checksum/SHA256/180
975s ok 923 /checksum/SHA256/181
975s ok 924 /checksum/SHA256/182
975s ok 925 /checksum/SHA256/183
975s ok 926 /checksum/SHA256/string
975s ok 927 /checksum/SHA256/bytes
975s # Start of reset tests
975s ok 928 /checksum/SHA256/reset/0
975s ok 929 /checksum/SHA256/reset/1
975s ok 930 /checksum/SHA256/reset/2
975s ok 931 /checksum/SHA256/reset/3
975s ok 932 /checksum/SHA256/reset/4
975s ok 933 /checksum/SHA256/reset/5
975s ok 934 /checksum/SHA256/reset/6
975s ok 935 /checksum/SHA256/reset/7
975s ok 936 /checksum/SHA256/reset/8
975s ok 937 /checksum/SHA256/reset/9
975s ok 938 /checksum/SHA256/reset/10
975s ok 939 /checksum/SHA256/reset/11
975s ok 940 /checksum/SHA256/reset/12
975s ok 941 /checksum/SHA256/reset/13
975s ok 942 /checksum/SHA256/reset/14
975s ok 943 /checksum/SHA256/reset/15
975s ok 944 /checksum/SHA256/reset/16
975s ok 945 /checksum/SHA256/reset/17
975s ok 946 /checksum/SHA256/reset/18
975s ok 947 /checksum/SHA256/reset/19
975s ok 948 /checksum/SHA256/reset/20
975s ok 949 /checksum/SHA256/reset/21
975s ok 950 /checksum/SHA256/reset/22
975s ok 951 /checksum/SHA256/reset/23
975s ok 952 /checksum/SHA256/reset/24
975s ok 953 /checksum/SHA256/reset/25
975s ok 954 /checksum/SHA256/reset/26
975s ok 955 /checksum/SHA256/reset/27
975s ok 956 /checksum/SHA256/reset/28
975s ok 957 /checksum/SHA256/reset/29
975s ok 958 /checksum/SHA256/reset/30
975s ok 959 /checksum/SHA256/reset/31
975s ok 960 /checksum/SHA256/reset/32
975s ok 961 /checksum/SHA256/reset/33
975s ok 962 /checksum/SHA256/reset/34
975s ok 963 /checksum/SHA256/reset/35
975s ok 964 /checksum/SHA256/reset/36
975s ok 965 /checksum/SHA256/reset/37
975s ok 966 /checksum/SHA256/reset/38
975s ok 967 /checksum/SHA256/reset/39
975s ok 968 /checksum/SHA256/reset/40
975s ok 969 /checksum/SHA256/reset/41
975s ok 970 /checksum/SHA256/reset/42
975s ok 971 /checksum/SHA256/reset/43
975s ok 972 /checksum/SHA256/reset/44
975s ok 973 /checksum/SHA256/reset/45
975s ok 974 /checksum/SHA256/reset/46
975s ok 975 /checksum/SHA256/reset/47
975s ok 976 /checksum/SHA256/reset/48
975s ok 977 /checksum/SHA256/reset/49
975s ok 978 /checksum/SHA256/reset/50
975s ok 979 /checksum/SHA256/reset/51
975s ok 980 /checksum/SHA256/reset/52
975s ok 981 /checksum/SHA256/reset/53
975s ok 982 /checksum/SHA256/reset/54
975s ok 983 /checksum/SHA256/reset/55
975s ok 984 /checksum/SHA256/reset/56
975s ok 985 /checksum/SHA256/reset/57
975s ok 986 /checksum/SHA256/reset/58
975s ok 987 /checksum/SHA256/reset/59
975s ok 988 /checksum/SHA256/reset/60
975s ok 989 /checksum/SHA256/reset/61
975s ok 990 /checksum/SHA256/reset/62
975s ok 991 /checksum/SHA256/reset/63
975s ok 992 /checksum/SHA256/reset/64
975s ok 993 /checksum/SHA256/reset/65
975s ok 994 /checksum/SHA256/reset/66
975s ok 995 /checksum/SHA256/reset/67
975s ok 996 /checksum/SHA256/reset/68
975s ok 997 /checksum/SHA256/reset/69
975s ok 998 /checksum/SHA256/reset/70
975s ok 999 /checksum/SHA256/reset/71
975s ok 1000 /checksum/SHA256/reset/72
975s ok 1001 /checksum/SHA256/reset/73
975s ok 1002 /checksum/SHA256/reset/74
975s ok 1003 /checksum/SHA256/reset/75
975s ok 1004 /checksum/SHA256/reset/76
975s ok 1005 /checksum/SHA256/reset/77
975s ok 1006 /checksum/SHA256/reset/78
975s ok 1007 /checksum/SHA256/reset/79
975s ok 1008 /checksum/SHA256/reset/80
975s ok 1009 /checksum/SHA256/reset/81
975s ok 1010 /checksum/SHA256/reset/82
975s ok 1011 /checksum/SHA256/reset/83
975s ok 1012 /checksum/SHA256/reset/84
975s ok 1013 /checksum/SHA256/reset/85
975s ok 1014 /checksum/SHA256/reset/86
975s ok 1015 /checksum/SHA256/reset/87
975s ok 1016 /checksum/SHA256/reset/88
975s ok 1017 /checksum/SHA256/reset/89
975s ok 1018 /checksum/SHA256/reset/90
975s ok 1019 /checksum/SHA256/reset/91
975s ok 1020 /checksum/SHA256/reset/92
975s ok 1021 /checksum/SHA256/reset/93
975s ok 1022 /checksum/SHA256/reset/94
975s ok 1023 /checksum/SHA256/reset/95
975s ok 1024 /checksum/SHA256/reset/96
975s ok 1025 /checksum/SHA256/reset/97
975s ok 1026 /checksum/SHA256/reset/98
975s ok 1027 /checksum/SHA256/reset/99
975s ok 1028 /checksum/SHA256/reset/100
975s ok 1029 /checksum/SHA256/reset/101
975s ok 1030 /checksum/SHA256/reset/102
975s ok 1031 /checksum/SHA256/reset/103
975s ok 1032 /checksum/SHA256/reset/104
975s ok 1033 /checksum/SHA256/reset/105
975s ok 1034 /checksum/SHA256/reset/106
975s ok 1035 /checksum/SHA256/reset/107
975s ok 1036 /checksum/SHA256/reset/108
975s ok 1037 /checksum/SHA256/reset/109
975s ok 1038 /checksum/SHA256/reset/110
975s ok 1039 /checksum/SHA256/reset/111
975s ok 1040 /checksum/SHA256/reset/112
975s ok 1041 /checksum/SHA256/reset/113
975s ok 1042 /checksum/SHA256/reset/114
975s ok 1043 /checksum/SHA256/reset/115
975s ok 1044 /checksum/SHA256/reset/116
975s ok 1045 /checksum/SHA256/reset/117
975s ok 1046 /checksum/SHA256/reset/118
975s ok 1047 /checksum/SHA256/reset/119
975s ok 1048 /checksum/SHA256/reset/120
975s ok 1049 /checksum/SHA256/reset/121
975s ok 1050 /checksum/SHA256/reset/122
975s ok 1051 /checksum/SHA256/reset/123
975s ok 1052 /checksum/SHA256/reset/124
975s ok 1053 /checksum/SHA256/reset/125
975s ok 1054 /checksum/SHA256/reset/126
975s ok 1055 /checksum/SHA256/reset/127
975s ok 1056 /checksum/SHA256/reset/128
975s ok 1057 /checksum/SHA256/reset/129
975s ok 1058 /checksum/SHA256/reset/130
975s ok 1059 /checksum/SHA256/reset/131
975s ok 1060 /checksum/SHA256/reset/132
975s ok 1061 /checksum/SHA256/reset/133
975s ok 1062 /checksum/SHA256/reset/134
975s ok 1063 /checksum/SHA256/reset/135
975s ok 1064 /checksum/SHA256/reset/136
975s ok 1065 /checksum/SHA256/reset/137
975s ok 1066 /checksum/SHA256/reset/138
975s ok 1067 /checksum/SHA256/reset/139
975s ok 1068 /checksum/SHA256/reset/140
975s ok 1069 /checksum/SHA256/reset/141
975s ok 1070 /checksum/SHA256/reset/142
975s ok 1071 /checksum/SHA256/reset/143
975s ok 1072 /checksum/SHA256/reset/144
975s ok 1073 /checksum/SHA256/reset/145
975s ok 1074 /checksum/SHA256/reset/146
975s ok 1075 /checksum/SHA256/reset/147
975s ok 1076 /checksum/SHA256/reset/148
975s ok 1077 /checksum/SHA256/reset/149
975s ok 1078 /checksum/SHA256/reset/150
975s ok 1079 /checksum/SHA256/reset/151
975s ok 1080 /checksum/SHA256/reset/152
975s ok 1081 /checksum/SHA256/reset/153
975s ok 1082 /checksum/SHA256/reset/154
975s ok 1083 /checksum/SHA256/reset/155
975s ok 1084 /checksum/SHA256/reset/156
975s ok 1085 /checksum/SHA256/reset/157
975s ok 1086 /checksum/SHA256/reset/158
975s ok 1087 /checksum/SHA256/reset/159
975s ok 1088 /checksum/SHA256/reset/160
975s ok 1089 /checksum/SHA256/reset/161
975s ok 1090 /checksum/SHA256/reset/162
975s ok 1091 /checksum/SHA256/reset/163
975s ok 1092 /checksum/SHA256/reset/164
975s ok 1093 /checksum/SHA256/reset/165
975s ok 1094 /checksum/SHA256/reset/166
975s ok 1095 /checksum/SHA256/reset/167
975s ok 1096 /checksum/SHA256/reset/168
975s ok 1097 /checksum/SHA256/reset/169
975s ok 1098 /checksum/SHA256/reset/170
975s ok 1099 /checksum/SHA256/reset/171
975s ok 1100 /checksum/SHA256/reset/172
975s ok 1101 /checksum/SHA256/reset/173
975s ok 1102 /checksum/SHA256/reset/174
975s ok 1103 /checksum/SHA256/reset/175
975s ok 1104 /checksum/SHA256/reset/176
975s ok 1105 /checksum/SHA256/reset/177
975s ok 1106 /checksum/SHA256/reset/178
975s ok 1107 /checksum/SHA256/reset/179
975s ok 1108 /checksum/SHA256/reset/180
975s ok 1109 /checksum/SHA256/reset/181
975s ok 1110 /checksum/SHA256/reset/182
975s ok 1111 /checksum/SHA256/reset/183
975s # End of reset tests
975s # End of SHA256 tests
975s # Start of SHA384 tests
975s ok 1112 /checksum/SHA384/0
975s ok 1113 /checksum/SHA384/1
975s ok 1114 /checksum/SHA384/2
975s ok 1115 /checksum/SHA384/3
975s ok 1116 /checksum/SHA384/4
975s ok 1117 /checksum/SHA384/5
975s ok 1118 /checksum/SHA384/6
975s ok 1119 /checksum/SHA384/7
975s ok 1120 /checksum/SHA384/8
975s ok 1121 /checksum/SHA384/9
975s ok 1122 /checksum/SHA384/10
975s ok 1123 /checksum/SHA384/11
975s ok 1124 /checksum/SHA384/12
975s ok 1125 /checksum/SHA384/13
975s ok 1126 /checksum/SHA384/14
975s ok 1127 /checksum/SHA384/15
975s ok 1128 /checksum/SHA384/16
975s ok 1129 /checksum/SHA384/17
975s ok 1130 /checksum/SHA384/18
975s ok 1131 /checksum/SHA384/19
975s ok 1132 /checksum/SHA384/20
975s ok 1133 /checksum/SHA384/21
975s ok 1134 /checksum/SHA384/22
975s ok 1135 /checksum/SHA384/23
975s ok 1136 /checksum/SHA384/24
975s ok 1137 /checksum/SHA384/25
975s ok 1138 /checksum/SHA384/26
975s ok 1139 /checksum/SHA384/27
975s ok 1140 /checksum/SHA384/28
975s ok 1141 /checksum/SHA384/29
975s ok 1142 /checksum/SHA384/30
975s ok 1143 /checksum/SHA384/31
975s ok 1144 /checksum/SHA384/32
975s ok 1145 /checksum/SHA384/33
975s ok 1146 /checksum/SHA384/34
975s ok 1147 /checksum/SHA384/35
975s ok 1148 /checksum/SHA384/36
975s ok 1149 /checksum/SHA384/37
975s ok 1150 /checksum/SHA384/38
975s ok 1151 /checksum/SHA384/39
975s ok 1152 /checksum/SHA384/40
975s ok 1153 /checksum/SHA384/41
975s ok 1154 /checksum/SHA384/42
975s ok 1155 /checksum/SHA384/43
975s ok 1156 /checksum/SHA384/44
975s ok 1157 /checksum/SHA384/45
975s ok 1158 /checksum/SHA384/46
975s ok 1159 /checksum/SHA384/47
975s ok 1160 /checksum/SHA384/48
975s ok 1161 /checksum/SHA384/49
975s ok 1162 /checksum/SHA384/50
975s ok 1163 /checksum/SHA384/51
975s ok 1164 /checksum/SHA384/52
975s ok 1165 /checksum/SHA384/53
975s ok 1166 /checksum/SHA384/54
975s ok 1167 /checksum/SHA384/55
975s ok 1168 /checksum/SHA384/56
975s ok 1169 /checksum/SHA384/57
975s ok 1170 /checksum/SHA384/58
975s ok 1171 /checksum/SHA384/59
975s ok 1172 /checksum/SHA384/60
975s ok 1173 /checksum/SHA384/61
975s ok 1174 /checksum/SHA384/62
975s ok 1175 /checksum/SHA384/63
975s ok 1176 /checksum/SHA384/64
975s ok 1177 /checksum/SHA384/65
975s ok 1178 /checksum/SHA384/66
975s ok 1179 /checksum/SHA384/67
975s ok 1180 /checksum/SHA384/68
975s ok 1181 /checksum/SHA384/69
975s ok 1182 /checksum/SHA384/70
975s ok 1183 /checksum/SHA384/71
975s ok 1184 /checksum/SHA384/72
975s ok 1185 /checksum/SHA384/73
975s ok 1186 /checksum/SHA384/74
975s ok 1187 /checksum/SHA384/75
975s ok 1188 /checksum/SHA384/76
975s ok 1189 /checksum/SHA384/77
975s ok 1190 /checksum/SHA384/78
975s ok 1191 /checksum/SHA384/79
975s ok 1192 /checksum/SHA384/80
975s ok 1193 /checksum/SHA384/81
975s ok 1194 /checksum/SHA384/82
975s ok 1195 /checksum/SHA384/83
975s ok 1196 /checksum/SHA384/84
975s ok 1197 /checksum/SHA384/85
975s ok 1198 /checksum/SHA384/86
975s ok 1199 /checksum/SHA384/87
975s ok 1200 /checksum/SHA384/88
975s ok 1201 /checksum/SHA384/89
975s ok 1202 /checksum/SHA384/90
975s ok 1203 /checksum/SHA384/91
975s ok 1204 /checksum/SHA384/92
975s ok 1205 /checksum/SHA384/93
975s ok 1206 /checksum/SHA384/94
975s ok 1207 /checksum/SHA384/95
975s ok 1208 /checksum/SHA384/96
975s ok 1209 /checksum/SHA384/97
975s ok 1210 /checksum/SHA384/98
975s ok 1211 /checksum/SHA384/99
975s ok 1212 /checksum/SHA384/100
975s ok 1213 /checksum/SHA384/101
975s ok 1214 /checksum/SHA384/102
975s ok 1215 /checksum/SHA384/103
975s ok 1216 /checksum/SHA384/104
975s ok 1217 /checksum/SHA384/105
975s ok 1218 /checksum/SHA384/106
975s ok 1219 /checksum/SHA384/107
975s ok 1220 /checksum/SHA384/108
975s ok 1221 /checksum/SHA384/109
975s ok 1222 /checksum/SHA384/110
975s ok 1223 /checksum/SHA384/111
975s ok 1224 /checksum/SHA384/112
975s ok 1225 /checksum/SHA384/113
975s ok 1226 /checksum/SHA384/114
975s ok 1227 /checksum/SHA384/115
975s ok 1228 /checksum/SHA384/116
975s ok 1229 /checksum/SHA384/117
975s ok 1230 /checksum/SHA384/118
975s ok 1231 /checksum/SHA384/119
975s ok 1232 /checksum/SHA384/120
975s ok 1233 /checksum/SHA384/121
975s ok 1234 /checksum/SHA384/122
975s ok 1235 /checksum/SHA384/123
975s ok 1236 /checksum/SHA384/124
975s ok 1237 /checksum/SHA384/125
975s ok 1238 /checksum/SHA384/126
975s ok 1239 /checksum/SHA384/127
975s ok 1240 /checksum/SHA384/128
975s ok 1241 /checksum/SHA384/129
975s ok 1242 /checksum/SHA384/130
975s ok 1243 /checksum/SHA384/131
975s ok 1244 /checksum/SHA384/132
975s ok 1245 /checksum/SHA384/133
975s ok 1246 /checksum/SHA384/134
975s ok 1247 /checksum/SHA384/135
975s ok 1248 /checksum/SHA384/136
975s ok 1249 /checksum/SHA384/137
975s ok 1250 /checksum/SHA384/138
975s ok 1251 /checksum/SHA384/139
975s ok 1252 /checksum/SHA384/140
975s ok 1253 /checksum/SHA384/141
975s ok 1254 /checksum/SHA384/142
975s ok 1255 /checksum/SHA384/143
975s ok 1256 /checksum/SHA384/144
975s ok 1257 /checksum/SHA384/145
975s ok 1258 /checksum/SHA384/146
975s ok 1259 /checksum/SHA384/147
975s ok 1260 /checksum/SHA384/148
975s ok 1261 /checksum/SHA384/149
975s ok 1262 /checksum/SHA384/150
975s ok 1263 /checksum/SHA384/151
975s ok 1264 /checksum/SHA384/152
975s ok 1265 /checksum/SHA384/153
975s ok 1266 /checksum/SHA384/154
975s ok 1267 /checksum/SHA384/155
975s ok 1268 /checksum/SHA384/156
975s ok 1269 /checksum/SHA384/157
975s ok 1270 /checksum/SHA384/158
975s ok 1271 /checksum/SHA384/159
975s ok 1272 /checksum/SHA384/160
975s ok 1273 /checksum/SHA384/161
975s ok 1274 /checksum/SHA384/162
975s ok 1275 /checksum/SHA384/163
975s ok 1276 /checksum/SHA384/164
975s ok 1277 /checksum/SHA384/165
975s ok 1278 /checksum/SHA384/166
975s ok 1279 /checksum/SHA384/167
975s ok 1280 /checksum/SHA384/168
975s ok 1281 /checksum/SHA384/169
975s ok 1282 /checksum/SHA384/170
975s ok 1283 /checksum/SHA384/171
975s ok 1284 /checksum/SHA384/172
975s ok 1285 /checksum/SHA384/173
975s ok 1286 /checksum/SHA384/174
975s ok 1287 /checksum/SHA384/175
975s ok 1288 /checksum/SHA384/176
975s ok 1289 /checksum/SHA384/177
975s ok 1290 /checksum/SHA384/178
975s ok 1291 /checksum/SHA384/179
975s ok 1292 /checksum/SHA384/180
975s ok 1293 /checksum/SHA384/181
975s ok 1294 /checksum/SHA384/182
975s ok 1295 /checksum/SHA384/183
975s ok 1296 /checksum/SHA384/string
975s ok 1297 /checksum/SHA384/bytes
975s # Start of reset tests
975s ok 1298 /checksum/SHA384/reset/0
975s ok 1299 /checksum/SHA384/reset/1
975s ok 1300 /checksum/SHA384/reset/2
975s ok 1301 /checksum/SHA384/reset/3
975s ok 1302 /checksum/SHA384/reset/4
975s ok 1303 /checksum/SHA384/reset/5
975s ok 1304 /checksum/SHA384/reset/6
975s ok 1305 /checksum/SHA384/reset/7
975s ok 1306 /checksum/SHA384/reset/8
975s ok 1307 /checksum/SHA384/reset/9
975s ok 1308 /checksum/SHA384/reset/10
975s ok 1309 /checksum/SHA384/reset/11
975s ok 1310 /checksum/SHA384/reset/12
975s ok 1311 /checksum/SHA384/reset/13
975s ok 1312 /checksum/SHA384/reset/14
975s ok 1313 /checksum/SHA384/reset/15
975s ok 1314 /checksum/SHA384/reset/16
975s ok 1315 /checksum/SHA384/reset/17
975s ok 1316 /checksum/SHA384/reset/18
975s ok 1317 /checksum/SHA384/reset/19
975s ok 1318 /checksum/SHA384/reset/20
975s ok 1319 /checksum/SHA384/reset/21
975s ok 1320 /checksum/SHA384/reset/22
975s ok 1321 /checksum/SHA384/reset/23
975s ok 1322 /checksum/SHA384/reset/24
975s ok 1323 /checksum/SHA384/reset/25
975s ok 1324 /checksum/SHA384/reset/26
975s ok 1325 /checksum/SHA384/reset/27
975s ok 1326 /checksum/SHA384/reset/28
975s ok 1327 /checksum/SHA384/reset/29
975s ok 1328 /checksum/SHA384/reset/30
975s ok 1329 /checksum/SHA384/reset/31
975s ok 1330 /checksum/SHA384/reset/32
975s ok 1331 /checksum/SHA384/reset/33
975s ok 1332 /checksum/SHA384/reset/34
975s ok 1333 /checksum/SHA384/reset/35
975s ok 1334 /checksum/SHA384/reset/36
975s ok 1335 /checksum/SHA384/reset/37
975s ok 1336 /checksum/SHA384/reset/38
975s ok 1337 /checksum/SHA384/reset/39
975s ok 1338 /checksum/SHA384/reset/40
975s ok 1339 /checksum/SHA384/reset/41
975s ok 1340 /checksum/SHA384/reset/42
975s ok 1341 /checksum/SHA384/reset/43
975s ok 1342 /checksum/SHA384/reset/44
975s ok 1343 /checksum/SHA384/reset/45
975s ok 1344 /checksum/SHA384/reset/46
975s ok 1345 /checksum/SHA384/reset/47
975s ok 1346 /checksum/SHA384/reset/48
975s ok 1347 /checksum/SHA384/reset/49
975s ok 1348 /checksum/SHA384/reset/50
975s ok 1349 /checksum/SHA384/reset/51
975s ok 1350 /checksum/SHA384/reset/52
975s ok 1351 /checksum/SHA384/reset/53
975s ok 1352 /checksum/SHA384/reset/54
975s ok 1353 /checksum/SHA384/reset/55
975s ok 1354 /checksum/SHA384/reset/56
975s ok 1355 /checksum/SHA384/reset/57
975s ok 1356 /checksum/SHA384/reset/58
975s ok 1357 /checksum/SHA384/reset/59
975s ok 1358 /checksum/SHA384/reset/60
975s ok 1359 /checksum/SHA384/reset/61
975s ok 1360 /checksum/SHA384/reset/62
975s ok 1361 /checksum/SHA384/reset/63
975s ok 1362 /checksum/SHA384/reset/64
975s ok 1363 /checksum/SHA384/reset/65
975s ok 1364 /checksum/SHA384/reset/66
975s ok 1365 /checksum/SHA384/reset/67
975s ok 1366 /checksum/SHA384/reset/68
975s ok 1367 /checksum/SHA384/reset/69
975s ok 1368 /checksum/SHA384/reset/70
975s ok 1369 /checksum/SHA384/reset/71
975s ok 1370 /checksum/SHA384/reset/72
975s ok 1371 /checksum/SHA384/reset/73
975s ok 1372 /checksum/SHA384/reset/74
975s ok 1373 /checksum/SHA384/reset/75
975s ok 1374 /checksum/SHA384/reset/76
975s ok 1375 /checksum/SHA384/reset/77
975s ok 1376 /checksum/SHA384/reset/78
975s ok 1377 /checksum/SHA384/reset/79
975s ok 1378 /checksum/SHA384/reset/80
975s ok 1379 /checksum/SHA384/reset/81
975s ok 1380 /checksum/SHA384/reset/82
975s ok 1381 /checksum/SHA384/reset/83
975s ok 1382 /checksum/SHA384/reset/84
975s ok 1383 /checksum/SHA384/reset/85
975s ok 1384 /checksum/SHA384/reset/86
975s ok 1385 /checksum/SHA384/reset/87
975s ok 1386 /checksum/SHA384/reset/88
975s ok 1387 /checksum/SHA384/reset/89
975s ok 1388 /checksum/SHA384/reset/90
975s ok 1389 /checksum/SHA384/reset/91
975s ok 1390 /checksum/SHA384/reset/92
975s ok 1391 /checksum/SHA384/reset/93
975s ok 1392 /checksum/SHA384/reset/94
975s ok 1393 /checksum/SHA384/reset/95
975s ok 1394 /checksum/SHA384/reset/96
975s ok 1395 /checksum/SHA384/reset/97
975s ok 1396 /checksum/SHA384/reset/98
975s ok 1397 /checksum/SHA384/reset/99
975s ok 1398 /checksum/SHA384/reset/100
975s ok 1399 /checksum/SHA384/reset/101
975s ok 1400 /checksum/SHA384/reset/102
975s ok 1401 /checksum/SHA384/reset/103
975s ok 1402 /checksum/SHA384/reset/104
975s ok 1403 /checksum/SHA384/reset/105
975s ok 1404 /checksum/SHA384/reset/106
975s ok 1405 /checksum/SHA384/reset/107
975s ok 1406 /checksum/SHA384/reset/108
975s ok 1407 /checksum/SHA384/reset/109
975s ok 1408 /checksum/SHA384/reset/110
975s ok 1409 /checksum/SHA384/reset/111
975s ok 1410 /checksum/SHA384/reset/112
975s ok 1411 /checksum/SHA384/reset/113
975s ok 1412 /checksum/SHA384/reset/114
975s ok 1413 /checksum/SHA384/reset/115
975s ok 1414 /checksum/SHA384/reset/116
975s ok 1415 /checksum/SHA384/reset/117
975s ok 1416 /checksum/SHA384/reset/118
975s ok 1417 /checksum/SHA384/reset/119
975s ok 1418 /checksum/SHA384/reset/120
975s ok 1419 /checksum/SHA384/reset/121
975s ok 1420 /checksum/SHA384/reset/122
975s ok 1421 /checksum/SHA384/reset/123
975s ok 1422 /checksum/SHA384/reset/124
975s ok 1423 /checksum/SHA384/reset/125
975s ok 1424 /checksum/SHA384/reset/126
975s ok 1425 /checksum/SHA384/reset/127
975s ok 1426 /checksum/SHA384/reset/128
975s ok 1427 /checksum/SHA384/reset/129
975s ok 1428 /checksum/SHA384/reset/130
975s ok 1429 /checksum/SHA384/reset/131
975s ok 1430 /checksum/SHA384/reset/132
975s ok 1431 /checksum/SHA384/reset/133
975s ok 1432 /checksum/SHA384/reset/134
975s ok 1433 /checksum/SHA384/reset/135
975s ok 1434 /checksum/SHA384/reset/136
975s ok 1435 /checksum/SHA384/reset/137
975s ok 1436 /checksum/SHA384/reset/138
975s ok 1437 /checksum/SHA384/reset/139
975s ok 1438 /checksum/SHA384/reset/140
975s ok 1439 /checksum/SHA384/reset/141
975s ok 1440 /checksum/SHA384/reset/142
975s ok 1441 /checksum/SHA384/reset/143
975s ok 1442 /checksum/SHA384/reset/144
975s ok 1443 /checksum/SHA384/reset/145
975s ok 1444 /checksum/SHA384/reset/146
975s ok 1445 /checksum/SHA384/reset/147
975s ok 1446 /checksum/SHA384/reset/148
975s ok 1447 /checksum/SHA384/reset/149
975s ok 1448 /checksum/SHA384/reset/150
975s ok 1449 /checksum/SHA384/reset/151
975s ok 1450 /checksum/SHA384/reset/152
975s ok 1451 /checksum/SHA384/reset/153
975s ok 1452 /checksum/SHA384/reset/154
975s ok 1453 /checksum/SHA384/reset/155
975s ok 1454 /checksum/SHA384/reset/156
975s ok 1455 /checksum/SHA384/reset/157
975s ok 1456 /checksum/SHA384/reset/158
975s ok 1457 /checksum/SHA384/reset/159
975s ok 1458 /checksum/SHA384/reset/160
975s ok 1459 /checksum/SHA384/reset/161
975s ok 1460 /checksum/SHA384/reset/162
975s ok 1461 /checksum/SHA384/reset/163
975s ok 1462 /checksum/SHA384/reset/164
975s ok 1463 /checksum/SHA384/reset/165
975s ok 1464 /checksum/SHA384/reset/166
975s ok 1465 /checksum/SHA384/reset/167
975s ok 1466 /checksum/SHA384/reset/168
975s ok 1467 /checksum/SHA384/reset/169
975s ok 1468 /checksum/SHA384/reset/170
975s ok 1469 /checksum/SHA384/reset/171
975s ok 1470 /checksum/SHA384/reset/172
975s ok 1471 /checksum/SHA384/reset/173
975s ok 1472 /checksum/SHA384/reset/174
975s ok 1473 /checksum/SHA384/reset/175
975s ok 1474 /checksum/SHA384/reset/176
975s ok 1475 /checksum/SHA384/reset/177
975s ok 1476 /checksum/SHA384/reset/178
975s ok 1477 /checksum/SHA384/reset/179
975s ok 1478 /checksum/SHA384/reset/180
975s ok 1479 /checksum/SHA384/reset/181
975s ok 1480 /checksum/SHA384/reset/182
975s ok 1481 /checksum/SHA384/reset/183
975s # End of reset tests
975s # End of SHA384 tests
975s # Start of SHA512 tests
975s ok 1482 /checksum/SHA512/0
975s ok 1483 /checksum/SHA512/1
975s ok 1484 /checksum/SHA512/2
975s ok 1485 /checksum/SHA512/3
975s ok 1486 /checksum/SHA512/4
975s ok 1487 /checksum/SHA512/5
975s ok 1488 /checksum/SHA512/6
975s ok 1489 /checksum/SHA512/7
975s ok 1490 /checksum/SHA512/8
975s ok 1491 /checksum/SHA512/9
975s ok 1492 /checksum/SHA512/10
975s ok 1493 /checksum/SHA512/11
975s ok 1494 /checksum/SHA512/12
975s ok 1495 /checksum/SHA512/13
975s ok 1496 /checksum/SHA512/14
975s ok 1497 /checksum/SHA512/15
975s ok 1498 /checksum/SHA512/16
975s ok 1499 /checksum/SHA512/17
975s ok 1500 /checksum/SHA512/18
975s ok 1501 /checksum/SHA512/19
975s ok 1502 /checksum/SHA512/20
975s ok 1503 /checksum/SHA512/21
975s ok 1504 /checksum/SHA512/22
975s ok 1505 /checksum/SHA512/23
975s ok 1506 /checksum/SHA512/24
975s ok 1507 /checksum/SHA512/25
975s ok 1508 /checksum/SHA512/26
975s ok 1509 /checksum/SHA512/27
975s ok 1510 /checksum/SHA512/28
975s ok 1511 /checksum/SHA512/29
975s ok 1512 /checksum/SHA512/30
975s ok 1513 /checksum/SHA512/31
975s ok 1514 /checksum/SHA512/32
975s ok 1515 /checksum/SHA512/33
975s ok 1516 /checksum/SHA512/34
975s ok 1517 /checksum/SHA512/35
975s ok 1518 /checksum/SHA512/36
975s ok 1519 /checksum/SHA512/37
975s ok 1520 /checksum/SHA512/38
975s ok 1521 /checksum/SHA512/39
975s ok 1522 /checksum/SHA512/40
975s ok 1523 /checksum/SHA512/41
975s ok 1524 /checksum/SHA512/42
975s ok 1525 /checksum/SHA512/43
975s ok 1526 /checksum/SHA512/44
975s ok 1527 /checksum/SHA512/45
975s ok 1528 /checksum/SHA512/46
975s ok 1529 /checksum/SHA512/47
975s ok 1530 /checksum/SHA512/48
975s ok 1531 /checksum/SHA512/49
975s ok 1532 /checksum/SHA512/50
975s ok 1533 /checksum/SHA512/51
975s ok 1534 /checksum/SHA512/52
975s ok 1535 /checksum/SHA512/53
975s ok 1536 /checksum/SHA512/54
975s ok 1537 /checksum/SHA512/55
975s ok 1538 /checksum/SHA512/56
975s ok 1539 /checksum/SHA512/57
975s ok 1540 /checksum/SHA512/58
975s ok 1541 /checksum/SHA512/59
975s ok 1542 /checksum/SHA512/60
975s ok 1543 /checksum/SHA512/61
975s ok 1544 /checksum/SHA512/62
975s ok 1545 /checksum/SHA512/63
975s ok 1546 /checksum/SHA512/64
975s ok 1547 /checksum/SHA512/65
975s ok 1548 /checksum/SHA512/66
975s ok 1549 /checksum/SHA512/67
975s ok 1550 /checksum/SHA512/68
975s ok 1551 /checksum/SHA512/69
975s ok 1552 /checksum/SHA512/70
975s ok 1553 /checksum/SHA512/71
975s ok 1554 /checksum/SHA512/72
975s ok 1555 /checksum/SHA512/73
975s ok 1556 /checksum/SHA512/74
975s ok 1557 /checksum/SHA512/75
975s ok 1558 /checksum/SHA512/76
975s ok 1559 /checksum/SHA512/77
975s ok 1560 /checksum/SHA512/78
975s ok 1561 /checksum/SHA512/79
975s ok 1562 /checksum/SHA512/80
975s ok 1563 /checksum/SHA512/81
975s ok 1564 /checksum/SHA512/82
975s ok 1565 /checksum/SHA512/83
975s ok 1566 /checksum/SHA512/84
975s ok 1567 /checksum/SHA512/85
975s ok 1568 /checksum/SHA512/86
975s ok 1569 /checksum/SHA512/87
975s ok 1570 /checksum/SHA512/88
975s ok 1571 /checksum/SHA512/89
975s ok 1572 /checksum/SHA512/90
975s ok 1573 /checksum/SHA512/91
975s ok 1574 /checksum/SHA512/92
975s ok 1575 /checksum/SHA512/93
975s ok 1576 /checksum/SHA512/94
975s ok 1577 /checksum/SHA512/95
975s ok 1578 /checksum/SHA512/96
975s ok 1579 /checksum/SHA512/97
975s ok 1580 /checksum/SHA512/98
975s ok 1581 /checksum/SHA512/99
975s ok 1582 /checksum/SHA512/100
975s ok 1583 /checksum/SHA512/101
975s ok 1584 /checksum/SHA512/102
975s ok 1585 /checksum/SHA512/103
975s ok 1586 /checksum/SHA512/104
975s ok 1587 /checksum/SHA512/105
975s ok 1588 /checksum/SHA512/106
975s ok 1589 /checksum/SHA512/107
975s ok 1590 /checksum/SHA512/108
975s ok 1591 /checksum/SHA512/109
975s ok 1592 /checksum/SHA512/110
975s ok 1593 /checksum/SHA512/111
975s ok 1594 /checksum/SHA512/112
975s ok 1595 /checksum/SHA512/113
975s ok 1596 /checksum/SHA512/114
975s ok 1597 /checksum/SHA512/115
975s ok 1598 /checksum/SHA512/116
975s ok 1599 /checksum/SHA512/117
975s ok 1600 /checksum/SHA512/118
975s ok 1601 /checksum/SHA512/119
975s ok 1602 /checksum/SHA512/120
975s ok 1603 /checksum/SHA512/121
975s ok 1604 /checksum/SHA512/122
975s ok 1605 /checksum/SHA512/123
975s ok 1606 /checksum/SHA512/124
975s ok 1607 /checksum/SHA512/125
975s ok 1608 /checksum/SHA512/126
975s ok 1609 /checksum/SHA512/127
975s ok 1610 /checksum/SHA512/128
975s ok 1611 /checksum/SHA512/129
975s ok 1612 /checksum/SHA512/130
975s ok 1613 /checksum/SHA512/131
975s ok 1614 /checksum/SHA512/132
975s ok 1615 /checksum/SHA512/133
975s ok 1616 /checksum/SHA512/134
975s ok 1617 /checksum/SHA512/135
975s ok 1618 /checksum/SHA512/136
975s ok 1619 /checksum/SHA512/137
975s ok 1620 /checksum/SHA512/138
975s ok 1621 /checksum/SHA512/139
975s ok 1622 /checksum/SHA512/140
975s ok 1623 /checksum/SHA512/141
975s ok 1624 /checksum/SHA512/142
975s ok 1625 /checksum/SHA512/143
975s ok 1626 /checksum/SHA512/144
975s ok 1627 /checksum/SHA512/145
975s ok 1628 /checksum/SHA512/146
975s ok 1629 /checksum/SHA512/147
975s ok 1630 /checksum/SHA512/148
975s ok 1631 /checksum/SHA512/149
975s ok 1632 /checksum/SHA512/150
975s ok 1633 /checksum/SHA512/151
975s ok 1634 /checksum/SHA512/152
975s ok 1635 /checksum/SHA512/153
975s ok 1636 /checksum/SHA512/154
975s ok 1637 /checksum/SHA512/155
975s ok 1638 /checksum/SHA512/156
975s ok 1639 /checksum/SHA512/157
975s ok 1640 /checksum/SHA512/158
975s ok 1641 /checksum/SHA512/159
975s ok 1642 /checksum/SHA512/160
975s ok 1643 /checksum/SHA512/161
975s ok 1644 /checksum/SHA512/162
975s ok 1645 /checksum/SHA512/163
975s ok 1646 /checksum/SHA512/164
975s ok 1647 /checksum/SHA512/165
975s ok 1648 /checksum/SHA512/166
975s ok 1649 /checksum/SHA512/167
975s ok 1650 /checksum/SHA512/168
975s ok 1651 /checksum/SHA512/169
975s ok 1652 /checksum/SHA512/170
975s ok 1653 /checksum/SHA512/171
975s ok 1654 /checksum/SHA512/172
975s ok 1655 /checksum/SHA512/173
975s ok 1656 /checksum/SHA512/174
975s ok 1657 /checksum/SHA512/175
975s ok 1658 /checksum/SHA512/176
975s ok 1659 /checksum/SHA512/177
975s ok 1660 /checksum/SHA512/178
975s ok 1661 /checksum/SHA512/179
975s ok 1662 /checksum/SHA512/180
975s ok 1663 /checksum/SHA512/181
975s ok 1664 /checksum/SHA512/182
975s ok 1665 /checksum/SHA512/183
975s ok 1666 /checksum/SHA512/string
975s ok 1667 /checksum/SHA512/bytes
975s # Start of reset tests
975s ok 1668 /checksum/SHA512/reset/0
975s ok 1669 /checksum/SHA512/reset/1
975s ok 1670 /checksum/SHA512/reset/2
975s ok 1671 /checksum/SHA512/reset/3
975s ok 1672 /checksum/SHA512/reset/4
975s ok 1673 /checksum/SHA512/reset/5
975s ok 1674 /checksum/SHA512/reset/6
975s ok 1675 /checksum/SHA512/reset/7
975s ok 1676 /checksum/SHA512/reset/8
975s ok 1677 /checksum/SHA512/reset/9
975s ok 1678 /checksum/SHA512/reset/10
975s ok 1679 /checksum/SHA512/reset/11
975s ok 1680 /checksum/SHA512/reset/12
975s ok 1681 /checksum/SHA512/reset/13
975s ok 1682 /checksum/SHA512/reset/14
975s ok 1683 /checksum/SHA512/reset/15
975s ok 1684 /checksum/SHA512/reset/16
975s ok 1685 /checksum/SHA512/reset/17
975s ok 1686 /checksum/SHA512/reset/18
975s ok 1687 /checksum/SHA512/reset/19
975s ok 1688 /checksum/SHA512/reset/20
975s ok 1689 /checksum/SHA512/reset/21
975s ok 1690 /checksum/SHA512/reset/22
975s ok 1691 /checksum/SHA512/reset/23
975s ok 1692 /checksum/SHA512/reset/24
975s ok 1693 /checksum/SHA512/reset/25
975s ok 1694 /checksum/SHA512/reset/26
975s ok 1695 /checksum/SHA512/reset/27
975s ok 1696 /checksum/SHA512/reset/28
975s ok 1697 /checksum/SHA512/reset/29
975s ok 1698 /checksum/SHA512/reset/30
975s ok 1699 /checksum/SHA512/reset/31
975s ok 1700 /checksum/SHA512/reset/32
975s ok 1701 /checksum/SHA512/reset/33
975s ok 1702 /checksum/SHA512/reset/34
975s ok 1703 /checksum/SHA512/reset/35
975s ok 1704 /checksum/SHA512/reset/36
975s ok 1705 /checksum/SHA512/reset/37
975s ok 1706 /checksum/SHA512/reset/38
975s ok 1707 /checksum/SHA512/reset/39
975s ok 1708 /checksum/SHA512/reset/40
975s ok 1709 /checksum/SHA512/reset/41
975s ok 1710 /checksum/SHA512/reset/42
975s ok 1711 /checksum/SHA512/reset/43
975s ok 1712 /checksum/SHA512/reset/44
975s ok 1713 /checksum/SHA512/reset/45
975s ok 1714 /checksum/SHA512/reset/46
975s ok 1715 /checksum/SHA512/reset/47
975s ok 1716 /checksum/SHA512/reset/48
975s ok 1717 /checksum/SHA512/reset/49
975s ok 1718 /checksum/SHA512/reset/50
975s ok 1719 /checksum/SHA512/reset/51
975s ok 1720 /checksum/SHA512/reset/52
975s ok 1721 /checksum/SHA512/reset/53
975s ok 1722 /checksum/SHA512/reset/54
975s ok 1723 /checksum/SHA512/reset/55
975s ok 1724 /checksum/SHA512/reset/56
975s ok 1725 /checksum/SHA512/reset/57
976s ok 1726 /checksum/SHA512/reset/58
976s ok 1727 /checksum/SHA512/reset/59
976s ok 1728 /checksum/SHA512/reset/60
976s ok 1729 /checksum/SHA512/reset/61
976s ok 1730 /checksum/SHA512/reset/62
976s ok 1731 /checksum/SHA512/reset/63
976s ok 1732 /checksum/SHA512/reset/64
976s ok 1733 /checksum/SHA512/reset/65
976s ok 1734 /checksum/SHA512/reset/66
976s ok 1735 /checksum/SHA512/reset/67
976s ok 1736 /checksum/SHA512/reset/68
976s ok 1737 /checksum/SHA512/reset/69
976s ok 1738 /checksum/SHA512/reset/70
976s ok 1739 /checksum/SHA512/reset/71
976s ok 1740 /checksum/SHA512/reset/72
976s ok 1741 /checksum/SHA512/reset/73
976s ok 1742 /checksum/SHA512/reset/74
976s ok 1743 /checksum/SHA512/reset/75
976s ok 1744 /checksum/SHA512/reset/76
976s ok 1745 /checksum/SHA512/reset/77
976s ok 1746 /checksum/SHA512/reset/78
976s ok 1747 /checksum/SHA512/reset/79
976s ok 1748 /checksum/SHA512/reset/80
976s ok 1749 /checksum/SHA512/reset/81
976s ok 1750 /checksum/SHA512/reset/82
976s ok 1751 /checksum/SHA512/reset/83
976s ok 1752 /checksum/SHA512/reset/84
976s ok 1753 /checksum/SHA512/reset/85
976s ok 1754 /checksum/SHA512/reset/86
976s ok 1755 /checksum/SHA512/reset/87
976s ok 1756 /checksum/SHA512/reset/88
976s ok 1757 /checksum/SHA512/reset/89
976s ok 1758 /checksum/SHA512/reset/90
976s ok 1759 /checksum/SHA512/reset/91
976s ok 1760 /checksum/SHA512/reset/92
976s ok 1761 /checksum/SHA512/reset/93
976s ok 1762 /checksum/SHA512/reset/94
976s ok 1763 /checksum/SHA512/reset/95
976s ok 1764 /checksum/SHA512/reset/96
976s ok 1765 /checksum/SHA512/reset/97
976s ok 1766 /checksum/SHA512/reset/98
976s ok 1767 /checksum/SHA512/reset/99
976s ok 1768 /checksum/SHA512/reset/100
976s ok 1769 /checksum/SHA512/reset/101
976s ok 1770 /checksum/SHA512/reset/102
976s ok 1771 /checksum/SHA512/reset/103
976s ok 1772 /checksum/SHA512/reset/104
976s ok 1773 /checksum/SHA512/reset/105
976s ok 1774 /checksum/SHA512/reset/106
976s ok 1775 /checksum/SHA512/reset/107
976s ok 1776 /checksum/SHA512/reset/108
976s ok 1777 /checksum/SHA512/reset/109
976s ok 1778 /checksum/SHA512/reset/110
976s ok 1779 /checksum/SHA512/reset/111
976s ok 1780 /checksum/SHA512/reset/112
976s ok 1781 /checksum/SHA512/reset/113
976s ok 1782 /checksum/SHA512/reset/114
976s ok 1783 /checksum/SHA512/reset/115
976s ok 1784 /checksum/SHA512/reset/116
976s ok 1785 /checksum/SHA512/reset/117
976s ok 1786 /checksum/SHA512/reset/118
976s ok 1787 /checksum/SHA512/reset/119
976s ok 1788 /checksum/SHA512/reset/120
976s ok 1789 /checksum/SHA512/reset/121
976s ok 1790 /checksum/SHA512/reset/122
976s ok 1791 /checksum/SHA512/reset/123
976s ok 1792 /checksum/SHA512/reset/124
976s ok 1793 /checksum/SHA512/reset/125
976s ok 1794 /checksum/SHA512/reset/126
976s ok 1795 /checksum/SHA512/reset/127
976s ok 1796 /checksum/SHA512/reset/128
976s ok 1797 /checksum/SHA512/reset/129
976s ok 1798 /checksum/SHA512/reset/130
976s ok 1799 /checksum/SHA512/reset/131
976s ok 1800 /checksum/SHA512/reset/132
976s ok 1801 /checksum/SHA512/reset/133
976s ok 1802 /checksum/SHA512/reset/134
976s ok 1803 /checksum/SHA512/reset/135
976s ok 1804 /checksum/SHA512/reset/136
976s ok 1805 /checksum/SHA512/reset/137
976s ok 1806 /checksum/SHA512/reset/138
976s ok 1807 /checksum/SHA512/reset/139
976s ok 1808 /checksum/SHA512/reset/140
976s ok 1809 /checksum/SHA512/reset/141
976s ok 1810 /checksum/SHA512/reset/142
976s ok 1811 /checksum/SHA512/reset/143
976s ok 1812 /checksum/SHA512/reset/144
976s ok 1813 /checksum/SHA512/reset/145
976s ok 1814 /checksum/SHA512/reset/146
976s ok 1815 /checksum/SHA512/reset/147
976s ok 1816 /checksum/SHA512/reset/148
976s ok 1817 /checksum/SHA512/reset/149
976s ok 1818 /checksum/SHA512/reset/150
976s ok 1819 /checksum/SHA512/reset/151
976s ok 1820 /checksum/SHA512/reset/152
976s ok 1821 /checksum/SHA512/reset/153
976s ok 1822 /checksum/SHA512/reset/154
976s ok 1823 /checksum/SHA512/reset/155
976s ok 1824 /checksum/SHA512/reset/156
976s ok 1825 /checksum/SHA512/reset/157
976s ok 1826 /checksum/SHA512/reset/158
976s ok 1827 /checksum/SHA512/reset/159
976s ok 1828 /checksum/SHA512/reset/160
976s ok 1829 /checksum/SHA512/reset/161
976s ok 1830 /checksum/SHA512/reset/162
976s ok 1831 /checksum/SHA512/reset/163
976s ok 1832 /checksum/SHA512/reset/164
976s ok 1833 /checksum/SHA512/reset/165
976s ok 1834 /checksum/SHA512/reset/166
976s ok 1835 /checksum/SHA512/reset/167
976s ok 1836 /checksum/SHA512/reset/168
976s ok 1837 /checksum/SHA512/reset/169
976s ok 1838 /checksum/SHA512/reset/170
976s ok 1839 /checksum/SHA512/reset/171
976s ok 1840 /checksum/SHA512/reset/172
976s ok 1841 /checksum/SHA512/reset/173
976s ok 1842 /checksum/SHA512/reset/174
976s ok 1843 /checksum/SHA512/reset/175
976s ok 1844 /checksum/SHA512/reset/176
976s ok 1845 /checksum/SHA512/reset/177
976s ok 1846 /checksum/SHA512/reset/178
976s ok 1847 /checksum/SHA512/reset/179
976s ok 1848 /checksum/SHA512/reset/180
976s ok 1849 /checksum/SHA512/reset/181
976s ok 1850 /checksum/SHA512/reset/182
976s ok 1851 /checksum/SHA512/reset/183
976s # End of reset tests
976s # End of SHA512 tests
976s # End of checksum tests
976s TAP version 14
976s # random seed: R02Sbceaf8a1b5443bcaf4dce4541dde53c5
976s 1..6
976s # Start of callable-info tests
976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/home
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/cache
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/system-config2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/config
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/system-data2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/data
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/state
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FDSEK3/callable-info/sync-function/.dirs/runtime
976s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
976s ok 1 /callable-info/sync-function
976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/home
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/cache
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/system-config2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/config
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/system-data2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/data
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/state
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FDSEK3/callable-info/async-function/.dirs/runtime
976s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
976s ok 2 /callable-info/async-function
976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/home
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/cache
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/system-config2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/config
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/system-data2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/data
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/state
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FDSEK3/callable-info/is-method/.dirs/runtime
976s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
976s ok 3 /callable-info/is-method
976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/home
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/cache
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/system-config2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/config
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/system-data2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/data
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/state
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FDSEK3/callable-info/static-method/.dirs/runtime
976s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
976s ok 4 /callable-info/static-method
976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/home
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/cache
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/system-config2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/config
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/system-data2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/data
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/state
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FDSEK3/callable-info/static-vfunc/.dirs/runtime
976s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
976s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361
976s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough
976s # Start of platform tests
976s # Start of unix tests
976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/home
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/cache
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/system-config2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/config
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/system-data2
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/data
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/state
976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_FDSEK3/callable-info/platform/unix/is-method/.dirs/runtime
976s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
976s # Checking DesktopAppInfo in Gio
976s # Checking DesktopAppInfo in GioUnix
976s ok 6 /callable-info/platform/unix/is-method
976s # End of unix tests
976s # End of platform tests
976s # End of callable-info tests
976s TAP version 14
976s # random seed: R02See7baae12e960cdbea6e6384516f8d61
976s 1..4
976s # Start of type tests
976s # Start of flags tests
976s ok 1 /type/flags/interface
976s ok 2 /type/flags/final
976s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning.
976s ok 3 /type/flags/deprecated
976s # Start of final tests
976s ok 4 /type/flags/final/instance-check
976s # End of final tests
976s # End of flags tests
976s # End of type tests
976s TAP version 14
976s # random seed: R02S6ea7fc841ef13021948f4e267d7857c6
976s 1..15
976s # Start of quark tests
976s ok 1 /quark/basic
976s ok 2 /quark/string
976s # End of quark tests
976s # Start of dataset tests
976s ok 3 /dataset/basic
976s ok 4 /dataset/id
976s ok 5 /dataset/full
976s ok 6 /dataset/foreach
976s ok 7 /dataset/destroy
976s # End of dataset tests
976s # Start of datalist tests
976s ok 8 /datalist/id
976s ok 9 /datalist/recursive-clear
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
976s ok 10 /datalist/id-remove-multiple
976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
976s ok 11 /datalist/id-remove-multiple-destroy-order
976s ok 12 /datalist/update-atomic
976s # Start of basic tests
976s ok 13 /datalist/basic/few
976s ok 14 /datalist/basic/many
976s # End of basic tests
976s # Start of id-remove-multiple tests
976s ok 15 /datalist/id-remove-multiple/resize
976s # End of id-remove-multiple tests
976s # End of datalist tests
976s TAP version 14
976s # random seed: R02S8c22e4c3aedc12c7314cc873f25c99fb
976s 1..1
976s # Start of gobject tests
976s # Start of refcount tests
976s ok - glib/checksum.test
976s # Running test: glib/callable-info.test
976s ok - glib/callable-info.test
976s # Running test: glib/type-flags.test
976s ok - glib/type-flags.test
976s # Running test: glib/dataset.test
976s ok - glib/dataset.test
976s # Running test: glib/properties-refcount1.test
976s # .f
976s # .b
976s # .e
976s # .d
976s # .c
976s # .f
976s # .b
976s # .f
976s # .b
976s # .d
976s # .e
976s # .c
976s # .d
976s # .f
976s # .c
976s # .b
976s # .e
976s # .d
976s # .c
976s # .f
976s # .b
976s # .e
976s # .d
976s # .c
976s # .d
976s # .f
976s # .b
976s # .c
976s # .e
976s # .d
976s # .b
976s # .f
976s # .e
976s # .c
976s # .f
976s # .d
976s # .b
976s # .e
976s # .f
976s # .c
976s # .e
976s # .b
976s # .d
976s # .f
976s # .c
976s # .e
976s # .b
976s # .d
976s # .c
976s # .f
976s # .b
976s # .e
976s # .f
976s # .c
976s # .d
976s # .b
976s # .f
976s # .e
976s # .d
976s # .c
976s # .d
976s # .f
976s # .b
976s # .e
976s # .c
976s # .d
976s # .f
976s # .e
976s # .c
976s # .b
976s # .d
976s # .e
976s # .f
976s # .c
976s # .e
976s # .b
976s # .f
976s # .d
976s # .c
976s # .e
976s # .b
976s # .d
976s # .c
976s # .b
976s # .f
976s # .d
976s # .e
976s # .c
976s # .b
976s # .f
976s # .e
976s # .d
976s # .c
976s # .b
976s # .e
976s # .f
976s # .d
976s # .c
976s # .b
976s # .e
976s # .f
976s # .d
976s # .f
976s # .e
976s # .c
976s # .b
976s # .d
976s # .f
976s # .d
976s # .b
976s # .e
976s # .c
976s # .e
976s # .d
976s # .f
976s # .c
976s # .b
976s # .f
976s # .d
976s # .e
976s # .c
976s # .b
976s # .f
976s # .d
976s # .f
976s # .e
976s # .c
976s # .d
976s # .b
976s # .f
976s # .d
976s # .e
976s # .c
976s # .f
976s # .b
976s # .d
976s # .c
976s # .e
976s # .f
976s # .d
976s # .b
976s # .e
976s # .c
976s # .f
976s # .e
976s # .d
976s # .c
976s # .b
976s # .e
976s # .d
976s # .b
976s # .f
976s # .c
976s # .b
976s # .d
976s # .e
976s # .f
976s # .c
976s # .d
976s # .b
976s # .e
976s # .f
976s # .c
976s # .d
976s # .b
976s # .e
976s # .c
976s # .f
976s # .d
976s # .e
976s # .c
976s # .f
976s # .b
976s # .e
976s # .c
976s # .d
977s # .b
977s # .f
977s # .e
977s # .d
977s # .c
977s # .b
977s # .d
977s # .f
977s # .e
977s # .b
977s # .c
977s # .d
977s # .f
977s # .e
977s # .b
977s # .c
977s # .d
977s # .c
977s # Executing: glib/properties-refcount1.test
977s # .b
977s # .f
977s # .e
977s # .d
977s # .c
977s # .d
977s # .b
977s # .f
977s # .e
977s # .c
977s # .d
977s # .b
977s # .f
977s # .e
977s # .c
977s # .d
977s # .e
977s # .f
977s # .b
977s # .d
977s # .f
977s # .c
977s # .e
977s # .b
977s # .d
977s # .e
977s # .f
977s # .c
977s # .d
977s # .e
977s # .c
977s # .b
977s # .f
977s # .e
977s # .c
977s # .d
977s # .b
977s # .e
977s # .f
977s # .c
977s # .d
977s # .b
977s # .f
977s # .e
977s # .d
977s # .c
977s # .b
977s # .e
977s # .f
977s # .c
977s # .e
977s # .b
977s # .d
977s # .c
977s # .e
977s # .f
977s # .c
977s # .d
977s # .b
977s # .e
977s # .f
977s # .c
977s # .d
977s # .b
977s # .e
977s # .f
977s # .d
977s # .c
977s # .f
977s # .b
977s # .e
977s # .d
977s # .f
977s # .c
977s # .b
977s # .e
977s # .d
977s # .c
977s # .b
977s # .f
977s # .c
977s # .e
977s # .d
977s # .b
977s # .f
977s # .d
977s # .c
977s # .f
977s # .e
977s # .b
977s # .d
977s # .f
977s # .e
977s # .c
977s # .d
977s # .b
977s # .f
977s # .e
977s # .d
977s # .c
977s # .b
977s # .e
977s # .f
977s # .c
977s # .d
977s # .b
977s # .e
977s # .d
977s # .c
977s # .f
977s # .b
977s # .d
977s # .e
977s # .c
977s # .b
977s # .d
977s # .f
977s # .e
977s # .c
977s # .b
977s # .f
977s # .d
977s # .e
977s # .c
977s # .f
977s # .b
977s # .e
977s # .d
977s # .f
977s # .d
977s # .b
977s # .c
977s # .e
977s # .d
977s # .b
977s # .f
977s # .c
977s # .d
977s # .b
977s # .e
977s # .f
977s # .e
977s # .d
977s # .c
977s # .f
977s # .b
977s # .e
977s # .f
977s # .d
977s # .c
977s # .b
977s # .e
977s # .d
977s # .c
977s # .f
977s # .d
977s # .b
977s # .e
977s # .c
978s # .f
978s # .d
978s # .d
978s # .e
978s # .d
978s # .f
978s # .c
978s # .b
978s # .e
978s # .d
978s # .f
978s # .b
978s # .c
978s # .d
978s # .f
978s # .e
978s # .c
978s # .b
978s # .d
978s # .e
978s # .f
978s # .c
978s # .e
978s # .d
978s # .b
978s # .f
978s # .c
978s # .d
978s # .e
978s # .f
978s # .b
978s # .d
978s # .c
978s # .f
978s # .e
978s # .d
978s # .b
978s # .f
978s # .c
978s # .e
978s # .d
978s # .b
978s # .e
978s # .d
978s # .f
978s # .c
978s # .d
978s # .e
978s # .b
978s # .f
978s # .c
978s # .f
978s # .e
978s # .d
978s # .c
978s # .b
978s # .e
978s # .f
978s # .c
978s # .d
978s # .b
978s # .f
978s # .e
978s # .c
978s # .d
978s # .b
978s # .f
978s # .e
978s # .c
978s # .d
978s # .b
978s # .e
978s # .f
978s # .d
978s # .b
978s # .c
978s # .e
978s # .f
978s # .c
978s # .b
978s # .d
978s # .e
978s # .c
978s # .f
978s # .d
978s # .e
978s # .b
978s # .c
978s # .e
978s # .d
978s # .f
978s # .c
978s # .e
978s # .b
978s # .d
978s # .f
978s # .c
978s # .e
978s # .d
978s # .f
978s # .b
978s # .c
978s # .f
978s # .e
978s # .c
978s # .d
978s # .b
978s # .e
978s # .f
978s # .b
978s # .d
978s # .c
978s # .e
978s # .f
978s # .b
978s # .c
978s # .f
978s # .d
978s # .e
978s # .b
978s # .c
978s # .f
978s # .d
978s # .f
978s # .c
978s # .e
978s # .b
978s # .f
978s # .d
978s # .c
978s # .e
978s # .b
978s # .f
978s # .d
978s # .e
978s # .c
978s # .f
978s # .b
978s # .d
978s # .e
978s # .f
978s # .c
978s # .e
978s # .b
978s # .d
978s # .f
978s # .c
978s # .b
978s # .e
978s # .d
978s # .c
978s # .f
978s # .b
978s # .e
978s # .c
978s # .d
978s # .f
978s # .b
978s # .e
978s # .d
978s # .c
978s # .f
978s # .b
978s # .e
978s # .d
978s # .c
978s # .f
978s # .e
978s # .d
978s # .c
978s # .b
978s # .f
978s # .d
978s # .e
978s # .c
978s # .f
978s ok - glib/properties-refcount1.test
978s # Running test: glib/trash.test
978s ok - glib/trash.test
978s ok 1 /gobject/refcount/properties-1
978s # slow test /gobject/refcount/properties-1 executed in 3.00 secs
978s # End of refcount tests
978s # End of gobject tests
978s TAP version 14
978s # random seed: R02Sccd207759924794bd46f73fee9cab5bf
978s 1..3
978s # Start of trash tests
978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251
978s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
978s # File: /tmp/test-trashF18EK3 (parent st_dev: 2049)
978s # Home: /home/ubuntu (st_dev: 2049)
978s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test
978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522
978s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist
978s ok 3 /trash/long-filename
978s # End of trash tests
978s # Running test: glib/utils-c-89.test
978s TAP version 14
978s # random seed: R02S0a19fc1ad481710d548cd72073aca248
978s 1..41
978s # Start of utils tests
978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/home
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/cache
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/system-config2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/config
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/system-data2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/data
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/state
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/language-names/.dirs/runtime
978s ok 1 /utils/language-names
978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/home
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/cache
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/system-config2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/config
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/system-data2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/data
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/state
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/locale-variants/.dirs/runtime
978s # Testing locale ‘en’
978s # Testing locale ‘sr@latin’
978s # Testing locale ‘fr_BE’
978s # Testing locale ‘sr_SR@latin’
978s # Testing locale ‘sr_SR@latin.UTF-8’
978s # Testing locale ‘sr@latin_invalid’
978s # Testing locale ‘sr.UTF-8@latin’
978s # Testing locale ‘sr.UTF-8_latin’
978s # Testing locale ‘sr.UTF-8@latin_invalid’
978s ok 2 /utils/locale-variants
978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/home
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/cache
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/system-config2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/config
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/system-data2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/data
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/state
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/version/.dirs/runtime
978s ok 3 /utils/version
978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/home
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/cache
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/system-config2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/config
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/system-data2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/data
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/state
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/appname/.dirs/runtime
978s ok 4 /utils/appname
978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/home
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/cache
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/system-config2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/config
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/system-data2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/data
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/state
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/prgname-thread-safety/.dirs/runtime
978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
978s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
978s ok 5 /utils/prgname-thread-safety
978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/home
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/cache
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/system-config2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/config
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/system-data2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/data
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/state
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/tmpdir/.dirs/runtime
978s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
978s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
978s Unable to clean up temporary directory /tmp/test_utils-c-89_QE7EK3/utils/tmpdir: No such file or directory
978s ok 6 /utils/tmpdir
978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/home
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/cache
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/system-config2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/config
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/system-data2
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/data
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/state
978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/basic_bits/.dirs/runtime
979s ok 7 /utils/basic_bits
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/bits/.dirs/runtime
979s ok 8 /utils/bits
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/swap/.dirs/runtime
979s ok 9 /utils/swap
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/find-program/.dirs/runtime
979s ok 10 /utils/find-program
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/find-program-for-path/.dirs/runtime
979s ok 11 /utils/find-program-for-path
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/debug/.dirs/runtime
979s Unable to clean up temporary directory /tmp/test_utils-c-89_QE7EK3/utils/debug: No such file or directory
979s ok 12 /utils/debug
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/codeset/.dirs/runtime
979s ok 13 /utils/codeset
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/codeset2/.dirs/runtime
979s Unable to clean up temporary directory /tmp/test_utils-c-89_QE7EK3/utils/codeset2: No such file or directory
979s ok 14 /utils/codeset2
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/console-charset/.dirs/runtime
979s ok 15 /utils/console-charset
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/gettext/.dirs/runtime
979s ok 16 /utils/gettext
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/username/.dirs/runtime
979s ok 17 /utils/username
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/realname/.dirs/runtime
979s ok 18 /utils/realname
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/hostname/.dirs/runtime
979s ok 19 /utils/hostname
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/os-info/.dirs/runtime
979s # NAME: Ubuntu
979s ok 20 /utils/os-info
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/.dirs/runtime
979s ok 21 /utils/clear-pointer
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer-cast/.dirs/runtime
979s ok 22 /utils/clear-pointer-cast
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/take-pointer/.dirs/runtime
979s ok 23 /utils/take-pointer
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/clear-source/.dirs/runtime
979s ok 24 /utils/clear-source
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/misc-mem/.dirs/runtime
979s ok 25 /utils/misc-mem
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/.dirs/runtime
979s # /utils/aligned-mem summary: Aligned memory allocator
979s # Alignment must not be zero
979s # Alignment must be a power of two
979s # Alignment must be a multiple of sizeof(void*)
979s ok 26 /utils/aligned-mem
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/free-sized/.dirs/runtime
979s # /utils/free-sized summary: Check that g_free_sized() works
979s ok 27 /utils/free-sized
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/nullify/.dirs/runtime
979s ok 28 /utils/nullify
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/atexit/.dirs/runtime
979s Unable to clean up temporary directory /tmp/test_utils-c-89_QE7EK3/utils/atexit: No such file or directory
979s ok 29 /utils/atexit
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/check-setuid/.dirs/runtime
979s ok 30 /utils/check-setuid
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/int-limits/.dirs/runtime
979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
979s ok 31 /utils/int-limits
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/clear-list/.dirs/runtime
979s ok 32 /utils/clear-list
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/clear-slist/.dirs/runtime
979s ok 33 /utils/clear-slist
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/steal-handle-id/.dirs/runtime
979s ok 34 /utils/steal-handle-id
979s # Start of user-special-dirs tests
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/desktop/.dirs/runtime
979s ok 35 /utils/user-special-dirs/desktop
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked/.dirs/runtime
979s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content.
979s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800
979s Unable to clean up temporary directory /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/load-unlocked: No such file or directory
979s ok 36 /utils/user-special-dirs/load-unlocked
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks/.dirs/runtime
979s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload.
979s ok - glib/utils-c-89.test
979s # Running test: glib/markup-subparser.test
979s ok - glib/markup-subparser.test
979s # Running test: glib/field-info.test
979s Unable to clean up temporary directory /tmp/test_utils-c-89_QE7EK3/utils/user-special-dirs/reload-leaks: No such file or directory
979s ok 37 /utils/user-special-dirs/reload-leaks
979s # End of user-special-dirs tests
979s # Start of clear-pointer tests
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/clear-pointer/side-effects/.dirs/runtime
979s ok 38 /utils/clear-pointer/side-effects
979s # End of clear-pointer tests
979s # Start of aligned-mem tests
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/alignment/.dirs/runtime
979s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
979s ok 39 /utils/aligned-mem/alignment
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/zeroed/.dirs/runtime
979s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
979s ok 40 /utils/aligned-mem/zeroed
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_QE7EK3/utils/aligned-mem/free-sized/.dirs/runtime
979s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
979s ok 41 /utils/aligned-mem/free-sized
979s # Start of subprocess tests
979s # End of subprocess tests
979s # End of aligned-mem tests
979s # End of utils tests
979s TAP version 14
979s # random seed: R02S3ab21f97088d78977dd01327d7ee6ab4
979s 1..14
979s # Start of glib tests
979s # Start of markup tests
979s # Start of subparser tests
979s # Start of success tests
979s ok 1 /glib/markup/subparser/success/0
979s ok 2 /glib/markup/subparser/success/1
979s ok 3 /glib/markup/subparser/success/2
979s ok 4 /glib/markup/subparser/success/3
979s ok 5 /glib/markup/subparser/success/4
979s ok 6 /glib/markup/subparser/success/5
979s ok 7 /glib/markup/subparser/success/6
979s # End of success tests
979s # Start of failure tests
979s ok 8 /glib/markup/subparser/failure/0
979s ok 9 /glib/markup/subparser/failure/1
979s ok 10 /glib/markup/subparser/failure/2
979s ok 11 /glib/markup/subparser/failure/3
979s ok 12 /glib/markup/subparser/failure/4
979s ok 13 /glib/markup/subparser/failure/5
979s ok 14 /glib/markup/subparser/failure/6
979s # End of failure tests
979s # End of subparser tests
979s # End of markup tests
979s # End of glib tests
979s ok - glib/field-info.test
979s # Running test: glib/hostutils.test
979s ok - glib/hostutils.test
979s TAP version 14
979s # random seed: R02S621d50d4cee5204a79e6602fb3cbfd6d
979s 1..4
979s # Start of field-info tests
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_9OUFK3/field-info/basic-struct-field/.dirs/runtime
979s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
979s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct
979s ok 1 /field-info/basic-struct-field
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_9OUFK3/field-info/basic-union-field/.dirs/runtime
979s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
979s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union
979s ok 2 /field-info/basic-union-field
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_9OUFK3/field-info/read-write-struct-field/.dirs/runtime
979s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
979s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union
979s ok 3 /field-info/read-write-struct-field
979s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/home
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/cache
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/system-config2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/config
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/system-data2
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/data
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/state
979s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_9OUFK3/field-info/read-write-union-field/.dirs/runtime
979s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
979s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union
979s ok 4 /field-info/read-write-union-field
979s # End of field-info tests
979s TAP version 14
979s # random seed: R02S51cea576128e9d8200103693746fec41
979s 1..4
979s # Start of hostutils tests
979s ok 1 /hostutils/hostname_is_non_ascii
979s ok 2 /hostutils/to_ascii
979s ok 3 /hostutils/to_unicode
979s ok 4 /hostutils/is_ip_addr
979s # End of hostutils tests
979s # Running test: glib/bindinggroup.test
979s TAP version 14
979s # random seed: R02Sd423b58927783ff40fca89c383dc57ff
979s 1..11
979s # Start of GObject tests
979s # Start of BindingGroup tests
979s ok 1 /GObject/BindingGroup/invalid
979s ok 2 /GObject/BindingGroup/default
979s ok 3 /GObject/BindingGroup/bidirectional
979s ok 4 /GObject/BindingGroup/transform
979s ok 5 /GObject/BindingGroup/transform-closures
979s ok 6 /GObject/BindingGroup/same-object
979s ok 7 /GObject/BindingGroup/weak-ref-source
979s ok 8 /GObject/BindingGroup/weak-ref-target
979s ok - glib/bindinggroup.test
979s ok 9 /GObject/BindingGroup/properties
979s ok 10 /GObject/BindingGroup/weak-notify-no-bindings
979s ok 11 /GObject/BindingGroup/empty-closures
979s # End of BindingGroup tests
979s # End of GObject tests
979s # Running test: glib/rwlock.test
979s TAP version 14
979s # random seed: R02S5f2849ade03d14d6f498687d3ba762e0
979s 1..8
979s # Start of thread tests
979s ok 1 /thread/rwlock1
979s ok 2 /thread/rwlock2
979s ok 3 /thread/rwlock3
979s ok 4 /thread/rwlock4
979s ok 5 /thread/rwlock5
979s ok 6 /thread/rwlock6
982s # Executing: glib/rwlock.test
987s ok 7 /thread/rwlock7
987s # slow test /thread/rwlock7 executed in 3.76 secs
987s ok 8 /thread/rwlock8
987s # End of thread tests
987s TAP version 14
987s # random seed: R02S1914fac01080b436771ab6d1deb6ea48
987s 1..1
987s # Start of autoptr tests
987s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
987s ok 1 /autoptr/autoptr
987s # End of autoptr tests
987s TAP version 14
987s # random seed: R02S38f0605243a254c46881c4ee43e2f58f
987s 1..120
987s # Start of array tests
987s ok 1 /array/ref-count
987s ok 2 /array/steal
987s ok 3 /array/clear-func
987s ok 4 /array/binary-search
987s ok 5 /array/overflow-append-vals
987s ok 6 /array/overflow-set-size
987s # Start of new tests
987s ok 7 /array/new/zero-terminated
987s ok 8 /array/new/take
987s ok 9 /array/new/take-zero-terminated
987s # Start of take tests
987s ok 10 /array/new/take/empty
987s ok 11 /array/new/take/overflow
987s ok 12 /array/new/take/zero-size
987s # End of take tests
987s # Start of take-zero-terminated tests
987s ok 13 /array/new/take-zero-terminated/zero-size
987s ok 14 /array/new/take-zero-terminated/null
987s # End of take-zero-terminated tests
987s # End of new tests
987s # Start of copy tests
987s # /array/copy/sized summary: Test that copying a newly-allocated sized array works.
987s ok 15 /array/copy/sized
987s ok 16 /array/copy/zero-terminated
987s ok 17 /array/copy/non-zero-terminated-no-clear
987s ok 18 /array/copy/non-zero-terminated-clear
987s ok 19 /array/copy/zero-terminated-no-clear
987s ok 20 /array/copy/zero-terminated-clear
987s # End of copy tests
987s # Start of remove-range tests
987s ok 21 /array/remove-range/zero-terminated-null
987s ok 22 /array/remove-range/non-zero-terminated-no-clear
987s ok 23 /array/remove-range/non-zero-terminated-clear
987s ok 24 /array/remove-range/zero-terminated-no-clear
987s ok 25 /array/remove-range/zero-terminated-clear
987s # End of remove-range tests
987s # Start of set-size tests
987s ok 26 /array/set-size/zero-terminated-null
987s ok 27 /array/set-size/non-zero-terminated-no-clear
987s ok 28 /array/set-size/non-zero-terminated-clear
987s ok 29 /array/set-size/zero-terminated-no-clear
987s ok 30 /array/set-size/zero-terminated-clear
987s # Start of sized tests
987s ok 31 /array/set-size/sized/non-zero-terminated-no-clear
987s ok 32 /array/set-size/sized/non-zero-terminated-clear
987s ok 33 /array/set-size/sized/zero-terminated-no-clear
987s ok 34 /array/set-size/sized/zero-terminated-clear
987s # End of sized tests
987s # End of set-size tests
987s # Start of append-val tests
987s ok 35 /array/append-val/non-zero-terminated-no-clear
987s ok 36 /array/append-val/non-zero-terminated-clear
987s ok 37 /array/append-val/zero-terminated-no-clear
987s ok 38 /array/append-val/zero-terminated-clear
987s # End of append-val tests
987s # Start of prepend-val tests
987s ok 39 /array/prepend-val/non-zero-terminated-no-clear
987s ok 40 /array/prepend-val/non-zero-terminated-clear
987s ok 41 /array/prepend-val/zero-terminated-no-clear
987s ok 42 /array/prepend-val/zero-terminated-clear
987s # End of prepend-val tests
987s # Start of prepend-vals tests
987s ok 43 /array/prepend-vals/non-zero-terminated-no-clear
987s ok 44 /array/prepend-vals/non-zero-terminated-clear
987s ok 45 /array/prepend-vals/zero-terminated-no-clear
987s ok 46 /array/prepend-vals/zero-terminated-clear
987s # End of prepend-vals tests
987s # Start of insert-vals tests
987s ok 47 /array/insert-vals/non-zero-terminated-no-clear
987s ok 48 /array/insert-vals/non-zero-terminated-clear
987s ok 49 /array/insert-vals/zero-terminated-no-clear
987s ok 50 /array/insert-vals/zero-terminated-clear
987s # End of insert-vals tests
987s # Start of remove-index tests
987s ok 51 /array/remove-index/non-zero-terminated-no-clear
987s ok 52 /array/remove-index/non-zero-terminated-clear
987s ok 53 /array/remove-index/zero-terminated-no-clear
987s ok 54 /array/remove-index/zero-terminated-clear
987s # End of remove-index tests
987s # Start of remove-index-fast tests
987s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear
987s ok 56 /array/remove-index-fast/non-zero-terminated-clear
987s ok 57 /array/remove-index-fast/zero-terminated-no-clear
987s ok 58 /array/remove-index-fast/zero-terminated-clear
987s # End of remove-index-fast tests
987s # Start of sort tests
987s ok 59 /array/sort/non-zero-terminated-no-clear
987s ok 60 /array/sort/non-zero-terminated-clear
987s ok 61 /array/sort/zero-terminated-no-clear
987s ok 62 /array/sort/zero-terminated-clear
987s # End of sort tests
987s # Start of sort-with-data tests
987s ok 63 /array/sort-with-data/non-zero-terminated-no-clear
987s ok 64 /array/sort-with-data/non-zero-terminated-clear
987s ok 65 /array/sort-with-data/zero-terminated-no-clear
987s ok 66 /array/sort-with-data/zero-terminated-clear
987s # End of sort-with-data tests
987s # End of array tests
987s # Start of pointerarray tests
987s ok 67 /pointerarray/add
987s ok 68 /pointerarray/insert
987s ok 69 /pointerarray/new-take
987s ok 70 /pointerarray/new-take-null-terminated
987s ok 71 /pointerarray/new-from-array
987s ok 72 /pointerarray/new-from-null-terminated-array
987s ok 73 /pointerarray/free-func
987s ok 74 /pointerarray/array_extend_and_steal
987s ok 75 /pointerarray/sort
987s ok 76 /pointerarray/sort-with-data
987s ok 77 /pointerarray/sort-values
987s ok 78 /pointerarray/sort-values-with-data
987s ok 79 /pointerarray/remove-range
987s ok 80 /pointerarray/steal
987s # Start of free tests
987s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array
987s ok 81 /pointerarray/free/null-terminated
987s # End of free tests
987s # Start of new-take tests
987s ok 82 /pointerarray/new-take/empty
987s ok 83 /pointerarray/new-take/overflow
987s ok 84 /pointerarray/new-take/with-free-func
987s # End of new-take tests
987s # Start of new-take-null-terminated tests
987s ok 85 /pointerarray/new-take-null-terminated/empty
987s ok 86 /pointerarray/new-take-null-terminated/with-free-func
987s ok 87 /pointerarray/new-take-null-terminated/from-gstrv
987s # End of new-take-null-terminated tests
987s # Start of new-from-array tests
987s ok 88 /pointerarray/new-from-array/empty
987s ok 89 /pointerarray/new-from-array/overflow
987s ok 90 /pointerarray/new-from-array/with-copy-and-free-func
987s # End of new-from-array tests
987s # Start of new-from-null-terminated-array tests
987s ok 91 /pointerarray/new-from-null-terminated-array/empty
987s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func
987s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv
987s # End of new-from-null-terminated-array tests
987s # Start of ref-count tests
987s ok 94 /pointerarray/ref-count/not-null-terminated
987s ok 95 /pointerarray/ref-count/null-terminated
987s # End of ref-count tests
987s # Start of array_copy tests
987s # /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
987s ok 96 /pointerarray/array_copy/not-null-terminated
987s # /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
987s ok 97 /pointerarray/array_copy/null-terminated
987s # End of array_copy tests
987s # Start of array_extend tests
987s ok 98 /pointerarray/array_extend/not-null-terminated
987s ok 99 /pointerarray/array_extend/null-terminated
987s # End of array_extend tests
987s # Start of sort tests
987s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct
987s ok 100 /pointerarray/sort/example
987s # End of sort tests
987s # Start of sort-with-data tests
987s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct
987s ok 101 /pointerarray/sort-with-data/example
987s # End of sort-with-data tests
987s # Start of sort-values tests
987s ok 102 /pointerarray/sort-values/example
987s # End of sort-values tests
987s # Start of sort-values-with-data tests
987s ok 103 /pointerarray/sort-values-with-data/example
987s # End of sort-values-with-data tests
987s # Start of find tests
987s ok 104 /pointerarray/find/empty
987s ok 105 /pointerarray/find/non-empty
987s # End of find tests
987s # Start of steal_index tests
987s ok 106 /pointerarray/steal_index/not-null-terminated
987s ok 107 /pointerarray/steal_index/null-terminated
987s # End of steal_index tests
987s # End of pointerarray tests
987s # Start of bytearray tests
987s ok 108 /bytearray/steal
987s ok 109 /bytearray/append
987s ok 110 /bytearray/prepend
987s ok 111 /bytearray/remove
987s ok 112 /bytearray/remove-fast
987s ok 113 /bytearray/remove-range
987s ok 114 /bytearray/ref-count
987s ok 115 /bytearray/set-size
987s ok 116 /bytearray/sort
987s ok 117 /bytearray/sort-with-data
987s ok 118 /bytearray/new-take
987s ok 119 /bytearray/new-take-overflow
987s ok 120 /bytearray/free-to-bytes
987s # End of bytearray tests
987s TAP version 14
987s # random seed: R02Se01ac7f9ac25de1e8cefa72d1f8a28c3
987s 1..6
987s # Start of pollable tests
987s ok 1 /pollable/converter
987s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
987s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x56edc4c17890 and GSocketClientAsyncConnectData 0x56edc4c19710
987s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
987s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
987s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x56edc4c25220 for GSocketClientAsyncConnectData 0x56edc4c19710
987s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
987s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
987s ok - glib/rwlock.test
987s # Running test: glib/autoptr-gio.test
987s ok - glib/autoptr-gio.test
987s # Running test: glib/array-test.test
987s ok - glib/array-test.test
987s # Running test: glib/pollable.test
987s ok - glib/pollable.test
987s # Running test: glib/642026.test
987s ok - glib/642026.test
987s # Running test: glib/markup-parse.test
987s ok - glib/markup-parse.test
987s # Running test: glib/thumbnail-verification.test
987s ok - glib/thumbnail-verification.test
987s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
987s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
987s ok 2 /pollable/socket
987s # Start of unix tests
987s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets
987s ok 3 /pollable/unix/pipe
987s # /pollable/unix/pty summary: Test that PTYs are considered pollable
987s ok 4 /pollable/unix/pty
987s # /pollable/unix/file summary: Test that regular files are not considered pollable
987s ok 5 /pollable/unix/file
987s # /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
987s ok 6 /pollable/unix/nulldev
987s # End of unix tests
987s # End of pollable tests
987s TAP version 14
987s # random seed: R02S781f8b0b906647be6c4597b14b583a18
987s 1..1
987s # Start of glib tests
987s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
987s ok 1 /glib/642026
987s # End of glib tests
987s TAP version 14
987s # random seed: R02Scf2c19e85a84e96b8e0ed5d73ae5b458
987s 1..71
987s # Start of markup tests
987s # Start of parse tests
987s ok 1 /markup/parse/fail-50.gmarkup
987s ok 2 /markup/parse/fail-32.gmarkup
987s ok 3 /markup/parse/fail-54.gmarkup
987s ok 4 /markup/parse/valid-12.gmarkup
987s ok 5 /markup/parse/fail-49.gmarkup
987s ok 6 /markup/parse/valid-7.gmarkup
987s ok 7 /markup/parse/fail-27.gmarkup
987s ok 8 /markup/parse/fail-15.gmarkup
987s ok 9 /markup/parse/fail-6.gmarkup
987s ok 10 /markup/parse/fail-34.gmarkup
987s ok 11 /markup/parse/fail-51.gmarkup
987s ok 12 /markup/parse/fail-28.gmarkup
987s ok 13 /markup/parse/fail-17.gmarkup
987s ok 14 /markup/parse/fail-5.gmarkup
987s ok 15 /markup/parse/fail-1.gmarkup
987s ok 16 /markup/parse/valid-2.gmarkup
987s ok 17 /markup/parse/fail-31.gmarkup
987s ok 18 /markup/parse/fail-22.gmarkup
987s ok 19 /markup/parse/valid-3.gmarkup
987s ok 20 /markup/parse/fail-12.gmarkup
987s ok 21 /markup/parse/fail-45.gmarkup
987s ok 22 /markup/parse/valid-16.gmarkup
987s ok 23 /markup/parse/fail-23.gmarkup
987s ok 24 /markup/parse/fail-44.gmarkup
987s ok 25 /markup/parse/valid-14.gmarkup
987s ok 26 /markup/parse/fail-19.gmarkup
987s ok 27 /markup/parse/fail-24.gmarkup
987s ok 28 /markup/parse/fail-4.gmarkup
987s ok 29 /markup/parse/fail-26.gmarkup
987s ok 30 /markup/parse/fail-43.gmarkup
987s ok 31 /markup/parse/valid-5.gmarkup
987s ok 32 /markup/parse/valid-8.gmarkup
987s ok 33 /markup/parse/fail-53.gmarkup
987s ok 34 /markup/parse/fail-33.gmarkup
987s ok 35 /markup/parse/fail-13.gmarkup
987s ok 36 /markup/parse/fail-18.gmarkup
987s ok 37 /markup/parse/fail-46.gmarkup
987s ok 38 /markup/parse/fail-2.gmarkup
987s ok 39 /markup/parse/fail-52.gmarkup
987s ok 40 /markup/parse/fail-25.gmarkup
987s ok 41 /markup/parse/fail-20.gmarkup
987s ok 42 /markup/parse/fail-38.gmarkup
987s ok 43 /markup/parse/fail-47.gmarkup
987s ok 44 /markup/parse/valid-10.gmarkup
987s ok 45 /markup/parse/fail-42.gmarkup
987s ok 46 /markup/parse/fail-29.gmarkup
987s ok 47 /markup/parse/fail-21.gmarkup
987s ok 48 /markup/parse/fail-11.gmarkup
987s ok 49 /markup/parse/fail-3.gmarkup
987s ok 50 /markup/parse/fail-36.gmarkup
987s ok 51 /markup/parse/fail-30.gmarkup
987s ok 52 /markup/parse/valid-11.gmarkup
987s ok 53 /markup/parse/valid-1.gmarkup
987s ok 54 /markup/parse/fail-16.gmarkup
987s ok 55 /markup/parse/valid-13.gmarkup
987s ok 56 /markup/parse/valid-4.gmarkup
987s ok 57 /markup/parse/fail-14.gmarkup
987s ok 58 /markup/parse/fail-41.gmarkup
987s ok 59 /markup/parse/valid-15.gmarkup
987s ok 60 /markup/parse/fail-10.gmarkup
987s ok 61 /markup/parse/fail-9.gmarkup
987s ok 62 /markup/parse/fail-7.gmarkup
987s ok 63 /markup/parse/fail-40.gmarkup
987s ok 64 /markup/parse/fail-35.gmarkup
987s ok 65 /markup/parse/valid-17.gmarkup
987s ok 66 /markup/parse/fail-8.gmarkup
987s ok 67 /markup/parse/fail-39.gmarkup
987s ok 68 /markup/parse/valid-6.gmarkup
987s ok 69 /markup/parse/fail-48.gmarkup
987s ok 70 /markup/parse/fail-37.gmarkup
987s ok 71 /markup/parse/valid-9.gmarkup
987s # End of parse tests
987s # End of markup tests
987s TAP version 14
987s # random seed: R02S564269dcf0291dbb3a657c1bf1049998
987s 1..1
987s # Start of png-thumbs tests
987s ok 1 /png-thumbs/validity
987s # End of png-thumbs tests
987s # Running test: glib/convert.test
987s ok - glib/convert.test
987s # Running test: glib/mem-overflow.test
987s ok - glib/mem-overflow.test
987s # Running test: glib/hash.test
987s ok - glib/hash.test
987s # Running test: glib/socket-service.test
987s ok - glib/socket-service.test
987s # Running test: glib/network-monitor.test
987s ok - glib/network-monitor.test
987s # Running test: glib/static-link.test
987s ok # SKIP - glib/static-link.test
987s # Running test: glib/rcbox.test
987s ok - glib/rcbox.test
987s # Running test: glib/thread-deprecated.test
987s # Executing: glib/thread-deprecated.test
987s TAP version 14
987s # random seed: R02Se846bce8e3236c3fb6a0cc381d0e6f8d
987s 1..14
987s # Start of conversion tests
987s ok 1 /conversion/no-conv
987s ok 2 /conversion/iconv-state
987s ok 3 /conversion/illegal-sequence
987s ok 4 /conversion/byte-order
987s ok 5 /conversion/unicode
987s ok 6 /conversion/filename-utf8
987s ok 7 /conversion/filename-display
987s ok 8 /conversion/convert-embedded-nul
987s # Start of locale-to-utf8 tests
987s ok 9 /conversion/locale-to-utf8/embedded-nul
987s # Start of embedded-nul tests
987s # Start of subprocess tests
987s # End of subprocess tests
987s # End of embedded-nul tests
987s # End of locale-to-utf8 tests
987s # Start of locale-from-utf8 tests
987s ok 10 /conversion/locale-from-utf8/embedded-nul
987s # Start of embedded-nul tests
987s # Start of subprocess tests
987s # End of subprocess tests
987s # End of embedded-nul tests
987s # End of locale-from-utf8 tests
987s # Start of filename-to-utf8 tests
987s ok 11 /conversion/filename-to-utf8/embedded-nul
987s # Start of embedded-nul tests
987s # Start of subprocess tests
987s # End of subprocess tests
987s # End of embedded-nul tests
987s # End of filename-to-utf8 tests
987s # Start of filename-from-utf8 tests
987s ok 12 /conversion/filename-from-utf8/embedded-nul
987s # Start of embedded-nul tests
987s # Start of subprocess tests
987s # End of subprocess tests
987s # End of embedded-nul tests
987s # End of filename-from-utf8 tests
987s # Start of filename-from-uri tests
987s ok 13 /conversion/filename-from-uri/query-is-ignored
987s ok 14 /conversion/filename-from-uri/fragment-is-ignored
987s # End of filename-from-uri tests
987s # End of conversion tests
987s TAP version 14
987s # random seed: R02S1ae7bd32bcdb7a84a65adc8850fa3181
987s 1..2
987s # Start of mem tests
987s ok 1 /mem/overflow
987s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379
987s ok 2 /mem/empty-alloc
987s # Start of overflow tests
987s # Start of subprocess tests
987s # End of subprocess tests
987s # End of overflow tests
987s # Start of empty-alloc tests
987s # End of empty-alloc tests
987s # End of mem tests
987s TAP version 14
987s # random seed: R02S76556b28f5ed58407814c8690e9a108b
987s 1..34
987s # Start of hash tests
987s ok 1 /hash/misc
987s ok 2 /hash/one
987s ok 3 /hash/honeyman
987s ok 4 /hash/direct
987s ok 5 /hash/direct2
987s ok 6 /hash/int
987s ok 7 /hash/int64
987s ok 8 /hash/double
987s ok 9 /hash/string
987s ok 10 /hash/set
987s ok 11 /hash/set-ref
987s ok 12 /hash/ref
987s ok 13 /hash/remove-all
987s ok 14 /hash/recursive-remove-all
987s ok 15 /hash/find
987s ok 16 /hash/foreach
987s ok 17 /hash/foreach-steal
987s ok 18 /hash/steal-extended
987s ok 19 /hash/steal-all-keys
987s ok 20 /hash/steal-all-values
987s ok 21 /hash/lookup-extended
987s ok 22 /hash/new-similar
987s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944
987s ok 23 /hash/lookup-null-key
987s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459
987s ok 24 /hash/destroy-modify
987s ok 25 /hash/consistency
987s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544
987s ok 26 /hash/iter-replace
987s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815
987s ok 27 /hash/set-insert-corruption
987s ok 28 /hash/set-to-strv
987s ok 29 /hash/get-keys-as-ptr-array
987s ok 30 /hash/get-values-as-ptr-array
987s ok 31 /hash/primes
987s # Start of int64 tests
987s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word
987s ok 32 /hash/int64/collisions
987s # End of int64 tests
987s # Start of double tests
987s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64)
987s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771
987s ok 33 /hash/double/collisions
987s # End of double tests
987s # Start of recursive-remove-all tests
987s # End of recursive-remove-all tests
987s # Start of steal-extended tests
987s ok 34 /hash/steal-extended/optional
987s # End of steal-extended tests
987s # End of hash tests
987s TAP version 14
987s # random seed: R02S543fce49c9f7a624191d05850fe90705
987s 1..4
987s # Start of socket-service tests
987s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
987s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x59537020f240 and GSocketClientAsyncConnectData 0x595370209f00
987s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
987s ok 1 /socket-service/start-stop
987s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5953702132d0 and GSocketClientAsyncConnectData 0x595370212f30
987s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
987s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
987s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x595370213250 for GSocketClientAsyncConnectData 0x595370209f00
987s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
987s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
987s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
987s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
987s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
987s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x595370213250 for GSocketClientAsyncConnectData 0x595370212f30
987s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
987s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
987s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
987s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
987s ok 2 /socket-service/read_write_async
987s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5953702132d0 and GSocketClientAsyncConnectData 0x5953702169f0
987s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
987s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
987s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x595370215e20 for GSocketClientAsyncConnectData 0x5953702169f0
987s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
987s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
987s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
987s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
987s ok 3 /socket-service/read_writev_async
987s # Start of threaded tests
987s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570
987s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x595370207a70 and GSocketClientAsyncConnectData 0x595370212f30
987s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
987s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
987s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x595370217250 for GSocketClientAsyncConnectData 0x595370212f30
987s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
987s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
987s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
987s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
987s ok 4 /socket-service/threaded/712570
987s # End of threaded tests
987s # End of socket-service tests
987s TAP version 14
987s # random seed: R02Se694281061aaaf7fcabc57dbe41253c9
987s 1..4
987s # Start of network-monitor tests
987s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
987s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running
987s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’
987s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
987s ok 1 /network-monitor/default
987s ok 2 /network-monitor/remove_default
987s ok 3 /network-monitor/add_networks
987s ok 4 /network-monitor/remove_networks
987s # End of network-monitor tests
987s Test disabled because GLIB_TEST_COMPILATION is not set in the env.
987s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env,
987s and make sure you have glib build dependencies installed, including
987s meson.
987s TAP version 14
987s # random seed: R02Sb800b7c12c08790c19e3c106bb3fecb0
987s 1..8
987s # Start of rcbox tests
987s ok 1 /rcbox/new
987s # global_point = 0x558704e9a720
987s ok 2 /rcbox/release-full
987s # global_point_a = 0x558704e9a720
987s # global_point_b = 0x558704e9a7f0
987s ok 3 /rcbox/dup
987s ok 4 /rcbox/alignment
987s # End of rcbox tests
987s # Start of atomic-rcbox tests
987s ok 5 /atomic-rcbox/new
987s # global_point = 0x558704e9a7f0
987s ok 6 /atomic-rcbox/release-full
987s # global_point_a = 0x558704e9a7f0
987s # global_point_b = 0x558704e9a720
987s ok 7 /atomic-rcbox/dup
987s ok 8 /atomic-rcbox/alignment
987s # End of atomic-rcbox tests
987s TAP version 14
987s # random seed: R02S291727544e0156c5f39c194a66c865fa
987s 1..6
987s # Start of thread tests
987s ok 1 /thread/mutex
987s ok 2 /thread/static-rec-mutex
987s ok 3 /thread/static-private
987s # slow test /thread/static-private executed in 4.40 secs
992s # Executing: glib/thread-deprecated.test
992s ok 4 /thread/static-rw-lock
992s # slow test /thread/static-rw-lock executed in 5.00 secs
992s ok 5 /thread/once
997s # Executing: glib/thread-deprecated.test
1002s # Executing: glib/thread-deprecated.test
1002s ok - glib/thread-deprecated.test
1002s ok 6 /thread/rerun-all
1002s # slow test /thread/rerun-all executed in 9.82 secs
1002s # End of thread tests
1002s # Running test: glib/utf8-performance.test
1002s TAP version 14
1002s # random seed: R02S07cfe0223e214084be5c26bed69a479d
1002s 1..36
1002s # Start of utf8 tests
1002s # Start of perf tests
1002s # Start of get_char tests
1002s # max perf: 43.0 MB/s
1002s ok 1 /utf8/perf/get_char/ascii
1002s # max perf: inf MB/s
1002s ok 2 /utf8/perf/get_char/latin1
1002s # max perf: inf MB/s
1002s ok 3 /utf8/perf/get_char/cyrillic
1002s # max perf: inf MB/s
1002s ok 4 /utf8/perf/get_char/han
1002s # End of get_char tests
1002s # Start of get_char-backwards tests
1002s # max perf: inf MB/s
1002s ok 5 /utf8/perf/get_char-backwards/ascii
1002s # max perf: inf MB/s
1002s ok 6 /utf8/perf/get_char-backwards/latin1
1002s # max perf: 160.0 MB/s
1002s ok 7 /utf8/perf/get_char-backwards/cyrillic
1002s # max perf: inf MB/s
1002s ok 8 /utf8/perf/get_char-backwards/han
1002s # End of get_char-backwards tests
1002s # Start of get_char_validated tests
1002s # max perf: inf MB/s
1002s ok 9 /utf8/perf/get_char_validated/ascii
1002s # max perf: inf MB/s
1002s ok 10 /utf8/perf/get_char_validated/latin1
1002s # max perf: inf MB/s
1002s ok 11 /utf8/perf/get_char_validated/cyrillic
1002s # max perf: 156.0 MB/s
1002s ok 12 /utf8/perf/get_char_validated/han
1002s # End of get_char_validated tests
1002s # Start of utf8_to_ucs4 tests
1002s # max perf: 43.0 MB/s
1002s ok 13 /utf8/perf/utf8_to_ucs4/ascii
1002s # max perf: 67.0 MB/s
1002s ok 14 /utf8/perf/utf8_to_ucs4/latin1
1002s # max perf: 160.0 MB/s
1002s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic
1002s # max perf: 156.0 MB/s
1002s ok 16 /utf8/perf/utf8_to_ucs4/han
1002s # End of utf8_to_ucs4 tests
1002s # Start of utf8_to_ucs4-sized tests
1002s # max perf: inf MB/s
1002s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii
1002s # max perf: 67.0 MB/s
1002s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1
1002s # max perf: 160.0 MB/s
1002s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic
1002s # max perf: inf MB/s
1002s ok 20 /utf8/perf/utf8_to_ucs4-sized/han
1002s # End of utf8_to_ucs4-sized tests
1002s # Start of utf8_to_ucs4_fast tests
1002s # max perf: 43.0 MB/s
1002s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii
1002s # max perf: inf MB/s
1002s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1
1002s ok - glib/utf8-performance.test
1002s # Running test: glib/cxx-03.test
1002s ok - glib/cxx-03.test
1002s # Running test: glib/gdbus-test-codegen-old.test
1002s # max perf: 160.0 MB/s
1002s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic
1002s # max perf: inf MB/s
1002s ok 24 /utf8/perf/utf8_to_ucs4_fast/han
1002s # End of utf8_to_ucs4_fast tests
1002s # Start of utf8_to_ucs4_fast-sized tests
1002s # max perf: inf MB/s
1002s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii
1002s # max perf: 67.0 MB/s
1002s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1
1002s # max perf: inf MB/s
1002s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic
1002s # max perf: 156.0 MB/s
1002s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han
1002s # End of utf8_to_ucs4_fast-sized tests
1002s # Start of utf8_validate tests
1002s # max perf: 43.0 MB/s
1002s ok 29 /utf8/perf/utf8_validate/ascii
1002s # max perf: inf MB/s
1002s ok 30 /utf8/perf/utf8_validate/latin1
1002s # max perf: inf MB/s
1002s ok 31 /utf8/perf/utf8_validate/cyrillic
1002s # max perf: inf MB/s
1002s ok 32 /utf8/perf/utf8_validate/han
1002s # End of utf8_validate tests
1002s # Start of utf8_validate-sized tests
1002s # max perf: inf MB/s
1002s ok 33 /utf8/perf/utf8_validate-sized/ascii
1002s # max perf: inf MB/s
1002s ok 34 /utf8/perf/utf8_validate-sized/latin1
1002s # max perf: inf MB/s
1002s ok 35 /utf8/perf/utf8_validate-sized/cyrillic
1002s # max perf: 156.0 MB/s
1002s ok 36 /utf8/perf/utf8_validate-sized/han
1002s # End of utf8_validate-sized tests
1002s # End of perf tests
1002s # End of utf8 tests
1002s TAP version 14
1002s # random seed: R02Sa9faeac12019de7670964759e1e8744b
1002s 1..2
1002s # Start of gtask tests
1002s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1002s ok 1 /gtask/name
1002s # Start of name tests
1002s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1002s ok 2 /gtask/name/macro-wrapper
1002s # End of name tests
1002s # End of gtask tests
1002s TAP version 14
1002s # random seed: R02S5e283592d635b5349cfffecf7403e47d
1002s 1..8
1002s # Start of gdbus tests
1002s # Start of codegen tests
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/annotations/.dirs/runtime
1002s ok 1 /gdbus/codegen/annotations
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/interface_stability/.dirs/runtime
1002s ok 2 /gdbus/codegen/interface_stability
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/object-manager/.dirs/runtime
1002s ok 3 /gdbus/codegen/object-manager
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/property-naming/.dirs/runtime
1002s ok 4 /gdbus/codegen/property-naming
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/autocleanups/.dirs/runtime
1002s ok 5 /gdbus/codegen/autocleanups
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/deprecations/.dirs/runtime
1002s ok 6 /gdbus/codegen/deprecations
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/standalone-interface-info/.dirs/runtime
1002s ok 7 /gdbus/codegen/standalone-interface-info
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_VEMMK3/gdbus/codegen/unix-fd-list/.dirs/runtime
1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
1002s ok 8 /gdbus/codegen/unix-fd-list
1002s # End of codegen tests
1002s # End of gdbus tests
1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1002s TAP version 14
1002s # random seed: R02Sb4da27c05008a315dd342cd3eb2f97ff
1002s 1..6
1002s # Start of type tests
1002s ok 1 /type/registration-serial
1002s ok 2 /type/interface-prerequisite
1002s ok 3 /type/interface-check
1002s ok 4 /type/next-base
1002s ok 5 /type/is-a
1002s # Invalid types can’t be queried.
1002s # Unclassed types can’t be queried.
1002s ok 6 /type/query
1002s # End of type tests
1002s ok - glib/gdbus-test-codegen-old.test
1002s # Running test: glib/type.test
1002s ok - glib/type.test
1002s # Running test: glib/defaultiface.test
1002s TAP version 14
1002s # random seed: R02S607b2e21d3c397b93bf872ed6d554809
1002s 1..2
1002s # Start of gobject tests
1002s ok 1 /gobject/static-iface
1002s ok 2 /gobject/dynamic-iface
1002s # End of gobject tests
1002s TAP version 14
1002s # random seed: R02S2023951ac187427f8fd738ea87138d97
1002s 1..6
1002s # Start of node tests
1002s ok 1 /node/allocation
1002s ok 2 /node/construction
1002s ok 3 /node/traversal
1002s ok 4 /node/misc
1002s ok 5 /node/unlink
1002s ok 6 /node/copy
1002s # End of node tests
1002s TAP version 14
1002s # random seed: R02S571b881e7c52e54ec1721109360883c5
1002s 1..1
1002s # Start of portal-support tests
1002s # Start of flatpak tests
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/runtime
1002s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_V4OHK3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info
1002s ok 1 /portal-support/flatpak/none
1002s # End of flatpak tests
1002s # End of portal-support tests
1002s TAP version 14
1002s # random seed: R02S4310c65846854402b6ebf37c779b2676
1002s 1..1
1002s # Start of utils tests
1002s ok 1 /utils/xdgdirs
1002s # End of utils tests
1002s TAP version 14
1002s # random seed: R02Se307f39d1b163d33a1824f5bd45c0a56
1002s 1..41
1002s # Start of markup tests
1002s ok 1 /markup/format
1002s # Start of escape-text tests
1002s ok 2 /markup/escape-text/0
1002s ok 3 /markup/escape-text/1
1002s ok 4 /markup/escape-text/2
1002s ok 5 /markup/escape-text/3
1002s ok 6 /markup/escape-text/4
1002s ok 7 /markup/escape-text/5
1002s ok 8 /markup/escape-text/6
1002s ok 9 /markup/escape-text/7
1002s ok 10 /markup/escape-text/8
1002s ok 11 /markup/escape-text/9
1002s ok 12 /markup/escape-text/10
1002s ok 13 /markup/escape-text/11
1002s ok 14 /markup/escape-text/12
1002s ok 15 /markup/escape-text/13
1002s ok 16 /markup/escape-text/14
1002s ok 17 /markup/escape-text/15
1002s ok 18 /markup/escape-text/16
1002s ok 19 /markup/escape-text/17
1002s ok 20 /markup/escape-text/18
1002s ok 21 /markup/escape-text/19
1002s ok 22 /markup/escape-text/20
1002s ok 23 /markup/escape-text/21
1002s ok 24 /markup/escape-text/22
1002s # End of escape-text tests
1002s # Start of escape-unichar tests
1002s ok 25 /markup/escape-unichar/0
1002s ok 26 /markup/escape-unichar/1
1002s ok 27 /markup/escape-unichar/2
1002s ok 28 /markup/escape-unichar/3
1002s ok 29 /markup/escape-unichar/4
1002s ok 30 /markup/escape-unichar/5
1002s ok 31 /markup/escape-unichar/6
1002s ok 32 /markup/escape-unichar/7
1002s ok 33 /markup/escape-unichar/8
1002s ok 34 /markup/escape-unichar/9
1002s ok 35 /markup/escape-unichar/10
1002s ok 36 /markup/escape-unichar/11
1002s ok 37 /markup/escape-unichar/12
1002s ok 38 /markup/escape-unichar/13
1002s ok 39 /markup/escape-unichar/14
1002s ok 40 /markup/escape-unichar/15
1002s ok 41 /markup/escape-unichar/16
1002s # End of escape-unichar tests
1002s # End of markup tests
1002s TAP version 14
1002s # random seed: R02S22985093c3f028caf102e2ffa096358f
1002s 1..7
1002s # Start of portal-support tests
1002s # Start of snap tests
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl/.dirs/runtime
1002s # Created snap.yaml in /tmp/test_portal-support-snap_5SKHK3/meta/snap.yaml
1002s Unable to clean up temporary directory /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/no-snapctl: No such file or directory
1002s ok 1 /portal-support/snap/no-snapctl
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/runtime
1002s # Created snap.yaml in /tmp/test_portal-support-snap_5SKHK3/meta/snap.yaml
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none/.dirs/runtime/snapctl
1002s Unable to clean up temporary directory /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/none: No such file or directory
1002s ok 2 /portal-support/snap/none
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/runtime
1002s # Created snap.yaml in /tmp/test_portal-support-snap_5SKHK3/meta/snap.yaml
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all/.dirs/runtime/snapctl
1002s ok - glib/defaultiface.test
1002s # Running test: glib/node.test
1002s ok - glib/node.test
1002s # Running test: glib/portal-support-flatpak-none.test
1002s ok - glib/portal-support-flatpak-none.test
1002s # Running test: glib/utils-unisolated.test
1002s ok - glib/utils-unisolated.test
1002s # Running test: glib/markup-escape.test
1002s ok - glib/markup-escape.test
1002s # Running test: glib/portal-support-snap.test
1002s Unable to clean up temporary directory /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/all: No such file or directory
1002s ok 3 /portal-support/snap/all
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/runtime
1002s # Created snap.yaml in /tmp/test_portal-support-snap_5SKHK3/meta/snap.yaml
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only/.dirs/runtime/snapctl
1002s Unable to clean up temporary directory /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/desktop-only: No such file or directory
1002s ok 4 /portal-support/snap/desktop-only
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/runtime
1002s # Created snap.yaml in /tmp/test_portal-support-snap_5SKHK3/meta/snap.yaml
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only/.dirs/runtime/snapctl
1002s Unable to clean up temporary directory /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/network-only: No such file or directory
1002s ok 5 /portal-support/snap/network-only
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/runtime
1002s # Created snap.yaml in /tmp/test_portal-support-snap_5SKHK3/meta/snap.yaml
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl
1002s Unable to clean up temporary directory /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/gsettings-only: No such file or directory
1002s ok 6 /portal-support/snap/gsettings-only
1002s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/home
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/cache
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/system-config2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/config
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/system-data2
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/data
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/state
1002s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/runtime
1002s # Created snap.yaml in /tmp/test_portal-support-snap_5SKHK3/meta/snap.yaml
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1002s # Created snapctl in /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
1002s Unable to clean up temporary directory /tmp/test_portal-support-snap_5SKHK3/portal-support/snap/updates-dynamically: No such file or directory
1002s ok 7 /portal-support/snap/updates-dynamically
1002s # End of snap tests
1002s # End of portal-support tests
1002s Unable to clean up temporary directory /tmp/test_portal-support-snap_5SKHK3: No such file or directory
1002s ok - glib/portal-support-snap.test
1002s # Running test: glib/asyncqueue.test
1002s TAP version 14
1002s # random seed: R02Sa1f3a81b0308e9dc3b0d28872f4a0cc4
1002s 1..7
1002s # Start of asyncqueue tests
1002s ok 1 /asyncqueue/basics
1002s ok 2 /asyncqueue/sort
1002s ok 3 /asyncqueue/destroy
1003s ok 4 /asyncqueue/threads
1003s ok 5 /asyncqueue/timed
1003s ok 6 /asyncqueue/remove
1003s ok 7 /asyncqueue/push_front
1003s # End of asyncqueue tests
1003s ok - glib/asyncqueue.test
1003s # Running test: glib/power-profile-monitor.test
1003s TAP version 14
1003s # random seed: R02Sd73c4634d962e2dffad3b4ad97606add
1003s 1..1
1003s # Start of power-profile-monitor tests
1003s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
1003s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’
1003s ok 1 /power-profile-monitor/default
1003s # End of power-profile-monitor tests
1003s ok - glib/power-profile-monitor.test
1003s # Running test: glib/data-output-stream.test
1003s TAP version 14
1003s # random seed: R02S0ea95ce689a91d4b3c20f77dabe941e7
1003s 1..7
1003s # Start of data-output-stream tests
1003s ok 1 /data-output-stream/basic
1003s ok 2 /data-output-stream/write-lines-LF
1003s ok 3 /data-output-stream/write-lines-CR
1003s ok 4 /data-output-stream/write-lines-CR-LF
1003s ok 5 /data-output-stream/write-int
1003s ok 6 /data-output-stream/seek
1003s ok 7 /data-output-stream/truncate
1003s # End of data-output-stream tests
1003s ok - glib/data-output-stream.test
1003s # Running test: glib/codegen.py.test
1003s TAP version 13
1003s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args
1003s # gdbus-codegen: /usr/bin/gdbus-codegen
1003s # tmpdir: /tmp/tmp17qjofoc
1003s # /tmp/tmp17qjofoc/tmpp7_0otmg.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp17qjofoc/tmpp7_0otmg.xml', '--output', '-', '--header']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifndef __STDOUT__
1003s # #define __STDOUT__
1003s #
1003s # #include
1003s #
1003s # G_BEGIN_DECLS
1003s #
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s # /* Declarations for org.project.UsefulInterface */
1003s #
1003s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
1003s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
1003s #
1003s # struct _OrgProjectUsefulInterface;
1003s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
1003s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
1003s #
1003s # struct _OrgProjectUsefulInterfaceIface
1003s # {
1003s # GTypeInterface parent_iface;
1003s #
1003s # gboolean (*handle_useful_method) (
1003s # OrgProjectUsefulInterface *object,
1003s # GDBusMethodInvocation *invocation);
1003s #
1003s # };
1003s #
1003s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
1003s #
1003s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
1003s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
1003s #
1003s #
1003s # /* D-Bus method call completion functions: */
1003s # void org_project_useful_interface_complete_useful_method (
1003s # OrgProjectUsefulInterface *object,
1003s # GDBusMethodInvocation *invocation);
1003s #
1003s #
1003s #
1003s # /* D-Bus method calls: */
1003s # void org_project_useful_interface_call_useful_method (
1003s # OrgProjectUsefulInterface *proxy,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data);
1003s #
1003s # gboolean org_project_useful_interface_call_useful_method_finish (
1003s # OrgProjectUsefulInterface *proxy,
1003s # GAsyncResult *res,
1003s # GError **error);
1003s #
1003s # gboolean org_project_useful_interface_call_useful_method_sync (
1003s # OrgProjectUsefulInterface *proxy,
1003s # GCancellable *cancellable,
1003s # GError **error);
1003s #
1003s #
1003s #
1003s # /* ---- */
1003s #
1003s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1003s #
1003s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
1003s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
1003s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
1003s #
1003s # struct _OrgProjectUsefulInterfaceProxy
1003s # {
1003s # /*< private >*/
1003s # GDBusProxy parent_instance;
1003s # OrgProjectUsefulInterfaceProxyPrivate *priv;
1003s # };
1003s #
1003s # struct _OrgProjectUsefulInterfaceProxyClass
1003s # {
1003s # GDBusProxyClass parent_class;
1003s # };
1003s #
1003s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
1003s #
1003s # #if GLIB_CHECK_VERSION(2, 44, 0)
1003s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
1003s # #endif
1003s #
1003s # void org_project_useful_interface_proxy_new (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
1003s # GAsyncResult *res,
1003s # GError **error);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error);
1003s #
1003s # void org_project_useful_interface_proxy_new_for_bus (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
1003s # GAsyncResult *res,
1003s # GError **error);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error);
1003s #
1003s #
1003s # /* ---- */
1003s #
1003s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1003s #
1003s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
1003s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
1003s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
1003s #
1003s # struct _OrgProjectUsefulInterfaceSkeleton
1003s # {
1003s # /*< private >*/
1003s # GDBusInterfaceSkeleton parent_instance;
1003s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
1003s # };
1003s #
1003s # struct _OrgProjectUsefulInterfaceSkeletonClass
1003s # {
1003s # GDBusInterfaceSkeletonClass parent_class;
1003s # };
1003s #
1003s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
1003s #
1003s # #if GLIB_CHECK_VERSION(2, 44, 0)
1003s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
1003s # #endif
1003s #
1003s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
1003s #
1003s #
1003s # G_END_DECLS
1003s #
1003s # #endif /* __STDOUT__ */
1003s # Error:
1003s #
1003s # /tmp/tmp17qjofoc/tmpzsg7t8hq.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp17qjofoc/tmpzsg7t8hq.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifndef __STDOUT__
1003s # #define __STDOUT__
1003s #
1003s # #include
1003s #
1003s # G_BEGIN_DECLS
1003s #
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s # /* Declarations for org.project.UsefulInterface */
1003s #
1003s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
1003s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
1003s #
1003s # struct _OrgProjectUsefulInterface;
1003s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
1003s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
1003s #
1003s # struct _OrgProjectUsefulInterfaceIface
1003s # {
1003s # GTypeInterface parent_iface;
1003s #
1003s # gboolean (*handle_useful_method) (
1003s # OrgProjectUsefulInterface *object,
1003s # GDBusMethodInvocation *invocation);
1003s #
1003s # };
1003s #
1003s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
1003s #
1003s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
1003s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
1003s #
1003s #
1003s # /* D-Bus method call completion functions: */
1003s # void org_project_useful_interface_complete_useful_method (
1003s # OrgProjectUsefulInterface *object,
1003s # GDBusMethodInvocation *invocation);
1003s #
1003s #
1003s #
1003s # /* D-Bus method calls: */
1003s # void org_project_useful_interface_call_useful_method (
1003s # OrgProjectUsefulInterface *proxy,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data);
1003s #
1003s # gboolean org_project_useful_interface_call_useful_method_finish (
1003s # OrgProjectUsefulInterface *proxy,
1003s # GAsyncResult *res,
1003s # GError **error);
1003s #
1003s # gboolean org_project_useful_interface_call_useful_method_sync (
1003s # OrgProjectUsefulInterface *proxy,
1003s # GCancellable *cancellable,
1003s # GError **error);
1003s #
1003s #
1003s #
1003s # /* ---- */
1003s #
1003s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1003s #
1003s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
1003s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
1003s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
1003s #
1003s # struct _OrgProjectUsefulInterfaceProxy
1003s # {
1003s # /*< private >*/
1003s # GDBusProxy parent_instance;
1003s # OrgProjectUsefulInterfaceProxyPrivate *priv;
1003s # };
1003s #
1003s # struct _OrgProjectUsefulInterfaceProxyClass
1003s # {
1003s # GDBusProxyClass parent_class;
1003s # };
1003s #
1003s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
1003s #
1003s # #if GLIB_CHECK_VERSION(2, 44, 0)
1003s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
1003s # #endif
1003s #
1003s # void org_project_useful_interface_proxy_new (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
1003s # GAsyncResult *res,
1003s # GError **error);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error);
1003s #
1003s # void org_project_useful_interface_proxy_new_for_bus (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
1003s # GAsyncResult *res,
1003s # GError **error);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error);
1003s #
1003s #
1003s # /* ---- */
1003s #
1003s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1003s #
1003s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
1003s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
1003s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
1003s #
1003s # struct _OrgProjectUsefulInterfaceSkeleton
1003s # {
1003s # /*< private >*/
1003s # GDBusInterfaceSkeleton parent_instance;
1003s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
1003s # };
1003s #
1003s # struct _OrgProjectUsefulInterfaceSkeletonClass
1003s # {
1003s # GDBusInterfaceSkeletonClass parent_class;
1003s # };
1003s #
1003s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
1003s #
1003s # #if GLIB_CHECK_VERSION(2, 44, 0)
1003s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
1003s # #endif
1003s #
1003s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
1003s #
1003s #
1003s # G_END_DECLS
1003s #
1003s # #endif /* __STDOUT__ */
1003s # Error:
1003s #
1003s # /tmp/tmp17qjofoc/tmptzik_7yi.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp17qjofoc/tmptzik_7yi.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifndef __STDOUT__
1003s # #define __STDOUT__
1003s #
1003s # #include
1003s #
1003s # G_BEGIN_DECLS
1003s #
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s # /* Declarations for org.project.UsefulInterface */
1003s #
1003s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
1003s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
1003s #
1003s # struct _OrgProjectUsefulInterface;
1003s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
1003s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
1003s #
1003s # struct _OrgProjectUsefulInterfaceIface
1003s # {
1003s # GTypeInterface parent_iface;
1003s #
1003s # gboolean (*handle_useful_method) (
1003s # OrgProjectUsefulInterface *object,
1003s # GDBusMethodInvocation *invocation);
1003s #
1003s # };
1003s #
1003s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
1003s #
1003s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
1003s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
1003s #
1003s #
1003s # /* D-Bus method call completion functions: */
1003s # void org_project_useful_interface_complete_useful_method (
1003s # OrgProjectUsefulInterface *object,
1003s # GDBusMethodInvocation *invocation);
1003s #
1003s #
1003s #
1003s # /* D-Bus method calls: */
1003s # void org_project_useful_interface_call_useful_method (
1003s # OrgProjectUsefulInterface *proxy,
1003s # GDBusCallFlags call_flags,
1003s # gint timeout_msec,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data);
1003s #
1003s # gboolean org_project_useful_interface_call_useful_method_finish (
1003s # OrgProjectUsefulInterface *proxy,
1003s # GAsyncResult *res,
1003s # GError **error);
1003s #
1003s # gboolean org_project_useful_interface_call_useful_method_sync (
1003s # OrgProjectUsefulInterface *proxy,
1003s # GDBusCallFlags call_flags,
1003s # gint timeout_msec,
1003s # GCancellable *cancellable,
1003s # GError **error);
1003s #
1003s #
1003s #
1003s # /* ---- */
1003s #
1003s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
1003s #
1003s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
1003s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
1003s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
1003s #
1003s # struct _OrgProjectUsefulInterfaceProxy
1003s # {
1003s # /*< private >*/
1003s # GDBusProxy parent_instance;
1003s # OrgProjectUsefulInterfaceProxyPrivate *priv;
1003s # };
1003s #
1003s # struct _OrgProjectUsefulInterfaceProxyClass
1003s # {
1003s # GDBusProxyClass parent_class;
1003s # };
1003s #
1003s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
1003s #
1003s # #if GLIB_CHECK_VERSION(2, 44, 0)
1003s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
1003s # #endif
1003s #
1003s # void org_project_useful_interface_proxy_new (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
1003s # GAsyncResult *res,
1003s # GError **error);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error);
1003s #
1003s # void org_project_useful_interface_proxy_new_for_bus (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
1003s # GAsyncResult *res,
1003s # GError **error);
1003s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error);
1003s #
1003s #
1003s # /* ---- */
1003s #
1003s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1003s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1003s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
1003s #
1003s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
1003s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
1003s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
1003s #
1003s # struct _OrgProjectUsefulInterfaceSkeleton
1003s # {
1003s # /*< private >*/
1003s # GDBusInterfaceSkeleton parent_instance;
1003s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
1003s # };
1003s #
1003s # struct _OrgProjectUsefulInterfaceSkeletonClass
1003s # {
1003s # GDBusInterfaceSkeletonClass parent_class;
1003s # };
1003s #
1003s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
1003s #
1003s # #if GLIB_CHECK_VERSION(2, 44, 0)
1003s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
1003s # #endif
1003s #
1003s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
1003s #
1003s #
1003s # G_END_DECLS
1003s #
1003s # #endif /* __STDOUT__ */
1003s # Error:
1003s ok 2 __main__.TestCodegen.test_dbus_types
1003s # gdbus-codegen: /usr/bin/gdbus-codegen
1003s # tmpdir: /tmp/tmp4_7pepa4
1003s # /tmp/tmp4_7pepa4/tmp2ac3wemj.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmp2ac3wemj.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1.
1003s # /tmp/tmp4_7pepa4/tmp3zseumha.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmp3zseumha.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6.
1003s # /tmp/tmp4_7pepa4/tmpsvquww2f.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmpsvquww2f.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "{s". Error parsing string or brackets not closed.
1003s # /tmp/tmp4_7pepa4/tmpw0vop8w7.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmpw0vop8w7.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5.
1003s # /tmp/tmp4_7pepa4/tmp5l62qhkq.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmp5l62qhkq.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "z". "z" is not a valid D-Bus type.
1003s # /tmp/tmp4_7pepa4/tmpn90lm49x.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmpn90lm49x.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type.
1003s # /tmp/tmp4_7pepa4/tmpq6te5h7v.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmpq6te5h7v.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "(". Error parsing string or brackets not closed.
1003s # /tmp/tmp4_7pepa4/tmpi11wo91z.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmpi11wo91z.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed.
1003s # /tmp/tmp4_7pepa4/tmpxpzv306v.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmpxpzv306v.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129.
1003s # /tmp/tmp4_7pepa4/tmprvqk_xbt.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmprvqk_xbt.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: D-Bus maximum signature length of 255 exceeded.
1003s # /tmp/tmp4_7pepa4/tmpofk89jq3.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmpofk89jq3.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: D-Bus maximum signature length of 255 exceeded.
1003s # /tmp/tmp4_7pepa4/tmpu6ro6g1s.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmpu6ro6g1s.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129.
1003s # /tmp/tmp4_7pepa4/tmp5bsl9pmn.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmp5bsl9pmn.xml', '--output', '-', '--body']
1003s # Return code: 1
1003s # Output:
1003s #
1003s # Error:
1003s # ERROR: D-Bus maximum signature length of 255 exceeded.
1003s # /tmp/tmp4_7pepa4/tmprdwjh_h3.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmprdwjh_h3.xml', '--output', '-', '--body']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifdef HAVE_CONFIG_H
1003s # # include "config.h"
1003s # #endif
1003s #
1003s # #include
1003s # #ifdef G_OS_UNIX
1003s # # include
1003s # #endif
1003s #
1003s # #ifdef G_ENABLE_DEBUG
1003s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1003s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1003s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1003s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1003s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1003s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1003s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1003s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1003s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1003s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1003s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1003s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1003s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1003s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1003s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1003s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1003s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1003s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1003s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1003s # #else /* !G_ENABLE_DEBUG */
1003s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1003s # * Do not access GValues directly in your code. Instead, use the
1003s # * g_value_get_*() functions
1003s # */
1003s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1003s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1003s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1003s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1003s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1003s # #endif /* !G_ENABLE_DEBUG */
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusArgInfo parent_struct;
1003s # gboolean use_gvariant;
1003s # } _ExtendedGDBusArgInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusMethodInfo parent_struct;
1003s # const gchar *signal_name;
1003s # gboolean pass_fdlist;
1003s # } _ExtendedGDBusMethodInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusSignalInfo parent_struct;
1003s # const gchar *signal_name;
1003s # } _ExtendedGDBusSignalInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusPropertyInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # guint use_gvariant : 1;
1003s # guint emits_changed_signal : 1;
1003s # } _ExtendedGDBusPropertyInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusInterfaceInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # } _ExtendedGDBusInterfaceInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # guint prop_id;
1003s # GValue orig_value; /* the value before the change */
1003s # } ChangedProperty;
1003s #
1003s # static void
1003s # _changed_property_free (ChangedProperty *data)
1003s # {
1003s # g_value_unset (&data->orig_value);
1003s # g_free (data);
1003s # }
1003s #
1003s # static gboolean
1003s # _g_strv_equal0 (gchar **a, gchar **b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # guint n;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # if (g_strv_length (a) != g_strv_length (b))
1003s # goto out;
1003s # for (n = 0; a[n] != NULL; n++)
1003s # if (g_strcmp0 (a[n], b[n]) != 0)
1003s # goto out;
1003s # ret = TRUE;
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _g_variant_equal0 (GVariant *a, GVariant *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # ret = g_variant_equal (a, b);
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # G_GNUC_UNUSED static gboolean
1003s # _g_value_equal (const GValue *a, const GValue *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1003s # switch (G_VALUE_TYPE (a))
1003s # {
1003s # case G_TYPE_BOOLEAN:
1003s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1003s # break;
1003s # case G_TYPE_UCHAR:
1003s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1003s # break;
1003s # case G_TYPE_INT:
1003s # ret = (g_value_get_int (a) == g_value_get_int (b));
1003s # break;
1003s # case G_TYPE_UINT:
1003s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1003s # break;
1003s # case G_TYPE_INT64:
1003s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1003s # break;
1003s # case G_TYPE_UINT64:
1003s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1003s # break;
1003s # case G_TYPE_DOUBLE:
1003s # {
1003s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1003s # gdouble da = g_value_get_double (a);
1003s # gdouble db = g_value_get_double (b);
1003s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1003s # }
1003s # break;
1003s # case G_TYPE_STRING:
1003s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1003s # break;
1003s # case G_TYPE_VARIANT:
1003s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1003s # break;
1003s # default:
1003s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1003s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1003s # else
1003s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1003s # break;
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------
1003s # * Code for interface GoodTypes
1003s # * ------------------------------------------------------------------------
1003s # */
1003s #
1003s # /**
1003s # * SECTION:GoodTypes
1003s # * @title: GoodTypes
1003s # * @short_description: Generated C code for the GoodTypes D-Bus interface
1003s # *
1003s # * This section contains code for working with the GoodTypes D-Bus interface in C.
1003s # */
1003s #
1003s # /* ---- Introspection data for GoodTypes ---- */
1003s #
1003s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "GoodPropertyType",
1003s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}",
1003s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1003s # NULL
1003s # },
1003s # "good-property-type",
1003s # FALSE,
1003s # TRUE
1003s # };
1003s #
1003s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
1003s # {
1003s # &_good_types_property_info_good_property_type.parent_struct,
1003s # NULL
1003s # };
1003s #
1003s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "GoodTypes",
1003s # NULL,
1003s # NULL,
1003s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
1003s # NULL
1003s # },
1003s # "good-types",
1003s # };
1003s #
1003s #
1003s # /**
1003s # * good_types_interface_info:
1003s # *
1003s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
1003s # *
1003s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1003s # */
1003s # GDBusInterfaceInfo *
1003s # good_types_interface_info (void)
1003s # {
1003s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
1003s # }
1003s #
1003s # /**
1003s # * good_types_override_properties:
1003s # * @klass: The class structure for a #GObject derived class.
1003s # * @property_id_begin: The property id to assign to the first overridden property.
1003s # *
1003s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
1003s # * The properties are overridden in the order they are defined.
1003s # *
1003s # * Returns: The last property id.
1003s # */
1003s # guint
1003s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
1003s # {
1003s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
1003s # return property_id_begin - 1;
1003s # }
1003s #
1003s #
1003s #
1003s # /**
1003s # * GoodTypes:
1003s # *
1003s # * Abstract interface type for the D-Bus interface GoodTypes.
1003s # */
1003s #
1003s # /**
1003s # * GoodTypesIface:
1003s # * @parent_iface: The parent interface.
1003s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
1003s # *
1003s # * Virtual table for the D-Bus interface GoodTypes.
1003s # */
1003s #
1003s # typedef GoodTypesIface GoodTypesInterface;
1003s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
1003s #
1003s # static void
1003s # good_types_default_init (GoodTypesIface *iface)
1003s # {
1003s # /* GObject properties for D-Bus properties: */
1003s # /**
1003s # * GoodTypes:good-property-type:
1003s # *
1003s # * Represents the D-Bus property "GoodPropertyType".
1003s # *
1003s # * 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.
1003s # */
1003s # g_object_interface_install_property (iface,
1003s # 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));
1003s # }
1003s #
1003s # /**
1003s # * good_types_get_good_property_type: (skip)
1003s # * @object: A GoodTypes.
1003s # *
1003s # * Gets the value of the "GoodPropertyType" D-Bus property.
1003s # *
1003s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1003s # *
1003s # * 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.
1003s # *
1003s # * 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.
1003s # */
1003s # GVariant *
1003s # good_types_get_good_property_type (GoodTypes *object)
1003s # {
1003s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
1003s #
1003s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
1003s # }
1003s #
1003s # /**
1003s # * good_types_dup_good_property_type: (skip)
1003s # * @object: A GoodTypes.
1003s # *
1003s # * Gets a copy of the "GoodPropertyType" D-Bus property.
1003s # *
1003s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1003s # *
1003s # * 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().
1003s # */
1003s # GVariant *
1003s # good_types_dup_good_property_type (GoodTypes *object)
1003s # {
1003s # GVariant *value;
1003s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
1003s # return value;
1003s # }
1003s #
1003s # /**
1003s # * good_types_set_good_property_type: (skip)
1003s # * @object: A GoodTypes.
1003s # * @value: The value to set.
1003s # *
1003s # * Sets the "GoodPropertyType" D-Bus property to @value.
1003s # *
1003s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1003s # */
1003s # void
1003s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
1003s # {
1003s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * GoodTypesProxy:
1003s # *
1003s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * GoodTypesProxyClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for GoodTypesProxy.
1003s # */
1003s #
1003s # struct _GoodTypesProxyPrivate
1003s # {
1003s # GData *qdata;
1003s # };
1003s #
1003s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1003s # G_ADD_PRIVATE (GoodTypesProxy)
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # good_types_proxy_finalize (GObject *object)
1003s # {
1003s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1003s # g_datalist_clear (&proxy->priv->qdata);
1003s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_get_property (GObject *object,
1003s # guint prop_id,
1003s # GValue *value,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *variant;
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1003s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1003s # if (info->use_gvariant)
1003s # {
1003s # g_value_set_variant (value, variant);
1003s # }
1003s # else
1003s # {
1003s # if (variant != NULL)
1003s # g_dbus_gvariant_to_gvalue (variant, value);
1003s # }
1003s # if (variant != NULL)
1003s # g_variant_unref (variant);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
1003s # GAsyncResult *res,
1003s # gpointer user_data)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info = user_data;
1003s # GError *error;
1003s # GVariant *_ret;
1003s # error = NULL;
1003s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1003s # if (!_ret)
1003s # {
1003s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
1003s # info->parent_struct.name,
1003s # error->message, g_quark_to_string (error->domain), error->code);
1003s # g_error_free (error);
1003s # }
1003s # else
1003s # {
1003s # g_variant_unref (_ret);
1003s # }
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_set_property (GObject *object,
1003s # guint prop_id,
1003s # const GValue *value,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *variant;
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1003s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1003s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1003s # "org.freedesktop.DBus.Properties.Set",
1003s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
1003s # G_DBUS_CALL_FLAGS_NONE,
1003s # -1,
1003s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1003s # g_variant_unref (variant);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_g_signal (GDBusProxy *proxy,
1003s # const gchar *sender_name G_GNUC_UNUSED,
1003s # const gchar *signal_name,
1003s # GVariant *parameters)
1003s # {
1003s # _ExtendedGDBusSignalInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # gsize n;
1003s # guint signal_id;
1003s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
1003s # if (info == NULL)
1003s # return;
1003s # num_params = g_variant_n_children (parameters);
1003s # paramv = g_new0 (GValue, num_params + 1);
1003s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
1003s # g_value_set_object (¶mv[0], proxy);
1003s # g_variant_iter_init (&iter, parameters);
1003s # n = 1;
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1003s # g_signal_emitv (paramv, signal_id, 0, NULL);
1003s # for (n = 0; n < num_params + 1; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
1003s # GVariant *changed_properties,
1003s # const gchar *const *invalidated_properties)
1003s # {
1003s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
1003s # guint n;
1003s # const gchar *key;
1003s # GVariantIter *iter;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # g_variant_get (changed_properties, "a{sv}", &iter);
1003s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
1003s # g_datalist_remove_data (&proxy->priv->qdata, key);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # g_variant_iter_free (iter);
1003s # for (n = 0; invalidated_properties[n] != NULL; n++)
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
1003s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # }
1003s #
1003s # static GVariant *
1003s # good_types_proxy_get_good_property_type (GoodTypes *object)
1003s # {
1003s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1003s # GVariant *variant;
1003s # GVariant *value = NULL;
1003s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
1003s # value = variant;
1003s # if (variant != NULL)
1003s # g_variant_unref (variant);
1003s # return value;
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_init (GoodTypesProxy *proxy)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # proxy->priv = good_types_proxy_get_instance_private (proxy);
1003s # #else
1003s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
1003s # #endif
1003s #
1003s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusProxyClass *proxy_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = good_types_proxy_finalize;
1003s # gobject_class->get_property = good_types_proxy_get_property;
1003s # gobject_class->set_property = good_types_proxy_set_property;
1003s #
1003s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1003s # proxy_class->g_signal = good_types_proxy_g_signal;
1003s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
1003s #
1003s # good_types_override_properties (gobject_class, 1);
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_iface_init (GoodTypesIface *iface)
1003s # {
1003s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
1003s # *
1003s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # good_types_proxy_new (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with good_types_proxy_new().
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_sync:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See good_types_proxy_new() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_sync (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /**
1003s # * good_types_proxy_new_for_bus:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
1003s # *
1003s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # good_types_proxy_new_for_bus (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_for_bus_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with good_types_proxy_new_for_bus().
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_for_bus_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_for_bus_sync:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_for_bus_sync (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * GoodTypesSkeleton:
1003s # *
1003s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * GoodTypesSkeletonClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for GoodTypesSkeleton.
1003s # */
1003s #
1003s # struct _GoodTypesSkeletonPrivate
1003s # {
1003s # GValue *properties;
1003s # GList *changed_properties;
1003s # GSource *changed_properties_idle_source;
1003s # GMainContext *context;
1003s # GMutex lock;
1003s # };
1003s #
1003s # static void
1003s # _good_types_skeleton_handle_method_call (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name,
1003s # const gchar *method_name,
1003s # GVariant *parameters,
1003s # GDBusMethodInvocation *invocation,
1003s # gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # _ExtendedGDBusMethodInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # guint num_extra;
1003s # gsize n;
1003s # guint signal_id;
1003s # GValue return_value = G_VALUE_INIT;
1003s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1003s # g_assert (info != NULL);
1003s # num_params = g_variant_n_children (parameters);
1003s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1003s # n = 0;
1003s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
1003s # g_value_set_object (¶mv[n++], skeleton);
1003s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1003s # g_value_set_object (¶mv[n++], invocation);
1003s # if (info->pass_fdlist)
1003s # {
1003s # #ifdef G_OS_UNIX
1003s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1003s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1003s # #else
1003s # g_assert_not_reached ();
1003s # #endif
1003s # }
1003s # g_variant_iter_init (&iter, parameters);
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1003s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1003s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1003s # if (!g_value_get_boolean (&return_value))
1003s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1003s # g_value_unset (&return_value);
1003s # for (n = 0; n < num_params + num_extra; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static GVariant *
1003s # _good_types_skeleton_handle_get_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *ret;
1003s # ret = NULL;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # g_value_init (&value, pspec->value_type);
1003s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1003s # g_value_unset (&value);
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _good_types_skeleton_handle_set_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GVariant *variant,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # gboolean ret;
1003s # ret = FALSE;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # if (info->use_gvariant)
1003s # g_value_set_variant (&value, variant);
1003s # else
1003s # g_dbus_gvariant_to_gvalue (variant, &value);
1003s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # g_value_unset (&value);
1003s # ret = TRUE;
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
1003s # {
1003s # _good_types_skeleton_handle_method_call,
1003s # _good_types_skeleton_handle_get_property,
1003s # _good_types_skeleton_handle_set_property,
1003s # {NULL}
1003s # };
1003s #
1003s # static GDBusInterfaceInfo *
1003s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return good_types_interface_info ();
1003s # }
1003s #
1003s # static GDBusInterfaceVTable *
1003s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
1003s # }
1003s #
1003s # static GVariant *
1003s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1003s #
1003s # GVariantBuilder builder;
1003s # guint n;
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1003s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #else
1003s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #endif
1003s # if (_good_types_interface_info.parent_struct.properties == NULL)
1003s # goto out;
1003s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
1003s # {
1003s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
1003s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1003s # {
1003s # GVariant *value;
1003s # 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);
1003s # if (value != NULL)
1003s # {
1003s # g_variant_take_ref (value);
1003s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1003s # g_variant_unref (value);
1003s # }
1003s # }
1003s # }
1003s # out:
1003s # return g_variant_builder_end (&builder);
1003s # }
1003s #
1003s # static gboolean _good_types_emit_changed (gpointer user_data);
1003s #
1003s # static void
1003s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1003s # gboolean emit_changed = FALSE;
1003s #
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # if (skeleton->priv->changed_properties_idle_source != NULL)
1003s # {
1003s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1003s # skeleton->priv->changed_properties_idle_source = NULL;
1003s # emit_changed = TRUE;
1003s # }
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s #
1003s # if (emit_changed)
1003s # _good_types_emit_changed (skeleton);
1003s # }
1003s #
1003s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_ADD_PRIVATE (GoodTypesSkeleton)
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # good_types_skeleton_finalize (GObject *object)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # guint n;
1003s # for (n = 0; n < 1; n++)
1003s # g_value_unset (&skeleton->priv->properties[n]);
1003s # g_free (skeleton->priv->properties);
1003s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1003s # if (skeleton->priv->changed_properties_idle_source != NULL)
1003s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1003s # g_main_context_unref (skeleton->priv->context);
1003s # g_mutex_clear (&skeleton->priv->lock);
1003s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_get_property (GObject *object,
1003s # guint prop_id,
1003s # GValue *value,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # }
1003s #
1003s # static gboolean
1003s # _good_types_emit_changed (gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # GList *l;
1003s # GVariantBuilder builder;
1003s # GVariantBuilder invalidated_builder;
1003s # guint num_changes;
1003s #
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1003s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1003s # #else
1003s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1003s # #endif
1003s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1003s # {
1003s # ChangedProperty *cp = l->data;
1003s # GVariant *variant;
1003s # const GValue *cur_value;
1003s #
1003s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1003s # if (!_g_value_equal (cur_value, &cp->orig_value))
1003s # {
1003s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1003s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1003s # g_variant_unref (variant);
1003s # num_changes++;
1003s # }
1003s # }
1003s # if (num_changes > 0)
1003s # {
1003s # GList *connections, *ll;
1003s # GVariant *signal_variant;
1003s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
1003s # &builder, &invalidated_builder));
1003s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1003s # for (ll = connections; ll != NULL; ll = ll->next)
1003s # {
1003s # GDBusConnection *connection = ll->data;
1003s #
1003s # g_dbus_connection_emit_signal (connection,
1003s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1003s # "org.freedesktop.DBus.Properties",
1003s # "PropertiesChanged",
1003s # signal_variant,
1003s # NULL);
1003s # }
1003s # g_variant_unref (signal_variant);
1003s # g_list_free_full (connections, g_object_unref);
1003s # }
1003s # else
1003s # {
1003s # g_variant_builder_clear (&builder);
1003s # g_variant_builder_clear (&invalidated_builder);
1003s # }
1003s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1003s # skeleton->priv->changed_properties = NULL;
1003s # skeleton->priv->changed_properties_idle_source = NULL;
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # return FALSE;
1003s # }
1003s #
1003s # static void
1003s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1003s # {
1003s # ChangedProperty *cp;
1003s # GList *l;
1003s # cp = NULL;
1003s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1003s # {
1003s # ChangedProperty *i_cp = l->data;
1003s # if (i_cp->info == info)
1003s # {
1003s # cp = i_cp;
1003s # break;
1003s # }
1003s # }
1003s # if (cp == NULL)
1003s # {
1003s # cp = g_new0 (ChangedProperty, 1);
1003s # cp->prop_id = prop_id;
1003s # cp->info = info;
1003s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1003s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1003s # g_value_copy (orig_value, &cp->orig_value);
1003s # }
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_notify (GObject *object,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # if (skeleton->priv->changed_properties != NULL &&
1003s # skeleton->priv->changed_properties_idle_source == NULL)
1003s # {
1003s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1003s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1003s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1003s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
1003s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1003s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1003s # }
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_set_property (GObject *object,
1003s # guint prop_id,
1003s # const GValue *value,
1003s # GParamSpec *pspec)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # g_object_freeze_notify (object);
1003s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1003s # {
1003s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1003s # info->emits_changed_signal)
1003s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1003s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1003s # g_object_notify_by_pspec (object, pspec);
1003s # }
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # g_object_thaw_notify (object);
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
1003s # #else
1003s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
1003s # #endif
1003s #
1003s # g_mutex_init (&skeleton->priv->lock);
1003s # skeleton->priv->context = g_main_context_ref_thread_default ();
1003s # skeleton->priv->properties = g_new0 (GValue, 1);
1003s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
1003s # }
1003s #
1003s # static GVariant *
1003s # good_types_skeleton_get_good_property_type (GoodTypes *object)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # GVariant *value;
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # return value;
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusInterfaceSkeletonClass *skeleton_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = good_types_skeleton_finalize;
1003s # gobject_class->get_property = good_types_skeleton_get_property;
1003s # gobject_class->set_property = good_types_skeleton_set_property;
1003s # gobject_class->notify = good_types_skeleton_notify;
1003s #
1003s #
1003s # good_types_override_properties (gobject_class, 1);
1003s #
1003s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1003s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
1003s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
1003s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
1003s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_iface_init (GoodTypesIface *iface)
1003s # {
1003s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
1003s # }
1003s #
1003s # /**
1003s # * good_types_skeleton_new:
1003s # *
1003s # * Creates a skeleton object for the D-Bus interface GoodTypes.
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
1003s # */
1003s # GoodTypes *
1003s # good_types_skeleton_new (void)
1003s # {
1003s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
1003s # }
1003s # Error:
1003s #
1003s # /tmp/tmp4_7pepa4/tmp0coi59hx.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmp0coi59hx.xml', '--output', '-', '--body']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifdef HAVE_CONFIG_H
1003s # # include "config.h"
1003s # #endif
1003s #
1003s # #include
1003s # #ifdef G_OS_UNIX
1003s # # include
1003s # #endif
1003s #
1003s # #ifdef G_ENABLE_DEBUG
1003s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1003s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1003s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1003s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1003s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1003s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1003s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1003s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1003s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1003s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1003s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1003s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1003s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1003s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1003s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1003s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1003s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1003s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1003s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1003s # #else /* !G_ENABLE_DEBUG */
1003s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1003s # * Do not access GValues directly in your code. Instead, use the
1003s # * g_value_get_*() functions
1003s # */
1003s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1003s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1003s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1003s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1003s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1003s # #endif /* !G_ENABLE_DEBUG */
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusArgInfo parent_struct;
1003s # gboolean use_gvariant;
1003s # } _ExtendedGDBusArgInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusMethodInfo parent_struct;
1003s # const gchar *signal_name;
1003s # gboolean pass_fdlist;
1003s # } _ExtendedGDBusMethodInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusSignalInfo parent_struct;
1003s # const gchar *signal_name;
1003s # } _ExtendedGDBusSignalInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusPropertyInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # guint use_gvariant : 1;
1003s # guint emits_changed_signal : 1;
1003s # } _ExtendedGDBusPropertyInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusInterfaceInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # } _ExtendedGDBusInterfaceInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # guint prop_id;
1003s # GValue orig_value; /* the value before the change */
1003s # } ChangedProperty;
1003s #
1003s # static void
1003s # _changed_property_free (ChangedProperty *data)
1003s # {
1003s # g_value_unset (&data->orig_value);
1003s # g_free (data);
1003s # }
1003s #
1003s # static gboolean
1003s # _g_strv_equal0 (gchar **a, gchar **b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # guint n;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # if (g_strv_length (a) != g_strv_length (b))
1003s # goto out;
1003s # for (n = 0; a[n] != NULL; n++)
1003s # if (g_strcmp0 (a[n], b[n]) != 0)
1003s # goto out;
1003s # ret = TRUE;
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _g_variant_equal0 (GVariant *a, GVariant *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # ret = g_variant_equal (a, b);
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # G_GNUC_UNUSED static gboolean
1003s # _g_value_equal (const GValue *a, const GValue *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1003s # switch (G_VALUE_TYPE (a))
1003s # {
1003s # case G_TYPE_BOOLEAN:
1003s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1003s # break;
1003s # case G_TYPE_UCHAR:
1003s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1003s # break;
1003s # case G_TYPE_INT:
1003s # ret = (g_value_get_int (a) == g_value_get_int (b));
1003s # break;
1003s # case G_TYPE_UINT:
1003s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1003s # break;
1003s # case G_TYPE_INT64:
1003s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1003s # break;
1003s # case G_TYPE_UINT64:
1003s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1003s # break;
1003s # case G_TYPE_DOUBLE:
1003s # {
1003s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1003s # gdouble da = g_value_get_double (a);
1003s # gdouble db = g_value_get_double (b);
1003s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1003s # }
1003s # break;
1003s # case G_TYPE_STRING:
1003s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1003s # break;
1003s # case G_TYPE_VARIANT:
1003s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1003s # break;
1003s # default:
1003s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1003s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1003s # else
1003s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1003s # break;
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------
1003s # * Code for interface GoodTypes
1003s # * ------------------------------------------------------------------------
1003s # */
1003s #
1003s # /**
1003s # * SECTION:GoodTypes
1003s # * @title: GoodTypes
1003s # * @short_description: Generated C code for the GoodTypes D-Bus interface
1003s # *
1003s # * This section contains code for working with the GoodTypes D-Bus interface in C.
1003s # */
1003s #
1003s # /* ---- Introspection data for GoodTypes ---- */
1003s #
1003s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "GoodPropertyType",
1003s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas",
1003s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1003s # NULL
1003s # },
1003s # "good-property-type",
1003s # FALSE,
1003s # TRUE
1003s # };
1003s #
1003s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
1003s # {
1003s # &_good_types_property_info_good_property_type.parent_struct,
1003s # NULL
1003s # };
1003s #
1003s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "GoodTypes",
1003s # NULL,
1003s # NULL,
1003s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
1003s # NULL
1003s # },
1003s # "good-types",
1003s # };
1003s #
1003s #
1003s # /**
1003s # * good_types_interface_info:
1003s # *
1003s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
1003s # *
1003s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1003s # */
1003s # GDBusInterfaceInfo *
1003s # good_types_interface_info (void)
1003s # {
1003s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
1003s # }
1003s #
1003s # /**
1003s # * good_types_override_properties:
1003s # * @klass: The class structure for a #GObject derived class.
1003s # * @property_id_begin: The property id to assign to the first overridden property.
1003s # *
1003s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
1003s # * The properties are overridden in the order they are defined.
1003s # *
1003s # * Returns: The last property id.
1003s # */
1003s # guint
1003s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
1003s # {
1003s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
1003s # return property_id_begin - 1;
1003s # }
1003s #
1003s #
1003s #
1003s # /**
1003s # * GoodTypes:
1003s # *
1003s # * Abstract interface type for the D-Bus interface GoodTypes.
1003s # */
1003s #
1003s # /**
1003s # * GoodTypesIface:
1003s # * @parent_iface: The parent interface.
1003s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
1003s # *
1003s # * Virtual table for the D-Bus interface GoodTypes.
1003s # */
1003s #
1003s # typedef GoodTypesIface GoodTypesInterface;
1003s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
1003s #
1003s # static void
1003s # good_types_default_init (GoodTypesIface *iface)
1003s # {
1003s # /* GObject properties for D-Bus properties: */
1003s # /**
1003s # * GoodTypes:good-property-type:
1003s # *
1003s # * Represents the D-Bus property "GoodPropertyType".
1003s # *
1003s # * 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.
1003s # */
1003s # g_object_interface_install_property (iface,
1003s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1003s # }
1003s #
1003s # /**
1003s # * good_types_get_good_property_type: (skip)
1003s # * @object: A GoodTypes.
1003s # *
1003s # * Gets the value of the "GoodPropertyType" D-Bus property.
1003s # *
1003s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1003s # *
1003s # * 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.
1003s # *
1003s # * 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.
1003s # */
1003s # GVariant *
1003s # good_types_get_good_property_type (GoodTypes *object)
1003s # {
1003s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
1003s #
1003s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
1003s # }
1003s #
1003s # /**
1003s # * good_types_dup_good_property_type: (skip)
1003s # * @object: A GoodTypes.
1003s # *
1003s # * Gets a copy of the "GoodPropertyType" D-Bus property.
1003s # *
1003s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1003s # *
1003s # * 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().
1003s # */
1003s # GVariant *
1003s # good_types_dup_good_property_type (GoodTypes *object)
1003s # {
1003s # GVariant *value;
1003s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
1003s # return value;
1003s # }
1003s #
1003s # /**
1003s # * good_types_set_good_property_type: (skip)
1003s # * @object: A GoodTypes.
1003s # * @value: The value to set.
1003s # *
1003s # * Sets the "GoodPropertyType" D-Bus property to @value.
1003s # *
1003s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1003s # */
1003s # void
1003s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
1003s # {
1003s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * GoodTypesProxy:
1003s # *
1003s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * GoodTypesProxyClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for GoodTypesProxy.
1003s # */
1003s #
1003s # struct _GoodTypesProxyPrivate
1003s # {
1003s # GData *qdata;
1003s # };
1003s #
1003s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1003s # G_ADD_PRIVATE (GoodTypesProxy)
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # good_types_proxy_finalize (GObject *object)
1003s # {
1003s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1003s # g_datalist_clear (&proxy->priv->qdata);
1003s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_get_property (GObject *object,
1003s # guint prop_id,
1003s # GValue *value,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *variant;
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1003s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1003s # if (info->use_gvariant)
1003s # {
1003s # g_value_set_variant (value, variant);
1003s # }
1003s # else
1003s # {
1003s # if (variant != NULL)
1003s # g_dbus_gvariant_to_gvalue (variant, value);
1003s # }
1003s # if (variant != NULL)
1003s # g_variant_unref (variant);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
1003s # GAsyncResult *res,
1003s # gpointer user_data)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info = user_data;
1003s # GError *error;
1003s # GVariant *_ret;
1003s # error = NULL;
1003s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1003s # if (!_ret)
1003s # {
1003s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
1003s # info->parent_struct.name,
1003s # error->message, g_quark_to_string (error->domain), error->code);
1003s # g_error_free (error);
1003s # }
1003s # else
1003s # {
1003s # g_variant_unref (_ret);
1003s # }
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_set_property (GObject *object,
1003s # guint prop_id,
1003s # const GValue *value,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *variant;
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1003s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1003s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1003s # "org.freedesktop.DBus.Properties.Set",
1003s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
1003s # G_DBUS_CALL_FLAGS_NONE,
1003s # -1,
1003s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1003s # g_variant_unref (variant);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_g_signal (GDBusProxy *proxy,
1003s # const gchar *sender_name G_GNUC_UNUSED,
1003s # const gchar *signal_name,
1003s # GVariant *parameters)
1003s # {
1003s # _ExtendedGDBusSignalInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # gsize n;
1003s # guint signal_id;
1003s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
1003s # if (info == NULL)
1003s # return;
1003s # num_params = g_variant_n_children (parameters);
1003s # paramv = g_new0 (GValue, num_params + 1);
1003s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
1003s # g_value_set_object (¶mv[0], proxy);
1003s # g_variant_iter_init (&iter, parameters);
1003s # n = 1;
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1003s # g_signal_emitv (paramv, signal_id, 0, NULL);
1003s # for (n = 0; n < num_params + 1; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
1003s # GVariant *changed_properties,
1003s # const gchar *const *invalidated_properties)
1003s # {
1003s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
1003s # guint n;
1003s # const gchar *key;
1003s # GVariantIter *iter;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # g_variant_get (changed_properties, "a{sv}", &iter);
1003s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
1003s # g_datalist_remove_data (&proxy->priv->qdata, key);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # g_variant_iter_free (iter);
1003s # for (n = 0; invalidated_properties[n] != NULL; n++)
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
1003s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # }
1003s #
1003s # static GVariant *
1003s # good_types_proxy_get_good_property_type (GoodTypes *object)
1003s # {
1003s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1003s # GVariant *variant;
1003s # GVariant *value = NULL;
1003s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
1003s # value = variant;
1003s # if (variant != NULL)
1003s # g_variant_unref (variant);
1003s # return value;
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_init (GoodTypesProxy *proxy)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # proxy->priv = good_types_proxy_get_instance_private (proxy);
1003s # #else
1003s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
1003s # #endif
1003s #
1003s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusProxyClass *proxy_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = good_types_proxy_finalize;
1003s # gobject_class->get_property = good_types_proxy_get_property;
1003s # gobject_class->set_property = good_types_proxy_set_property;
1003s #
1003s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1003s # proxy_class->g_signal = good_types_proxy_g_signal;
1003s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
1003s #
1003s # good_types_override_properties (gobject_class, 1);
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_iface_init (GoodTypesIface *iface)
1003s # {
1003s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
1003s # *
1003s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # good_types_proxy_new (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with good_types_proxy_new().
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_sync:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See good_types_proxy_new() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_sync (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /**
1003s # * good_types_proxy_new_for_bus:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
1003s # *
1003s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # good_types_proxy_new_for_bus (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_for_bus_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with good_types_proxy_new_for_bus().
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_for_bus_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_for_bus_sync:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_for_bus_sync (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * GoodTypesSkeleton:
1003s # *
1003s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * GoodTypesSkeletonClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for GoodTypesSkeleton.
1003s # */
1003s #
1003s # struct _GoodTypesSkeletonPrivate
1003s # {
1003s # GValue *properties;
1003s # GList *changed_properties;
1003s # GSource *changed_properties_idle_source;
1003s # GMainContext *context;
1003s # GMutex lock;
1003s # };
1003s #
1003s # static void
1003s # _good_types_skeleton_handle_method_call (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name,
1003s # const gchar *method_name,
1003s # GVariant *parameters,
1003s # GDBusMethodInvocation *invocation,
1003s # gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # _ExtendedGDBusMethodInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # guint num_extra;
1003s # gsize n;
1003s # guint signal_id;
1003s # GValue return_value = G_VALUE_INIT;
1003s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1003s # g_assert (info != NULL);
1003s # num_params = g_variant_n_children (parameters);
1003s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1003s # n = 0;
1003s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
1003s # g_value_set_object (¶mv[n++], skeleton);
1003s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1003s # g_value_set_object (¶mv[n++], invocation);
1003s # if (info->pass_fdlist)
1003s # {
1003s # #ifdef G_OS_UNIX
1003s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1003s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1003s # #else
1003s # g_assert_not_reached ();
1003s # #endif
1003s # }
1003s # g_variant_iter_init (&iter, parameters);
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1003s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1003s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1003s # if (!g_value_get_boolean (&return_value))
1003s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1003s # g_value_unset (&return_value);
1003s # for (n = 0; n < num_params + num_extra; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static GVariant *
1003s # _good_types_skeleton_handle_get_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *ret;
1003s # ret = NULL;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # g_value_init (&value, pspec->value_type);
1003s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1003s # g_value_unset (&value);
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _good_types_skeleton_handle_set_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GVariant *variant,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # gboolean ret;
1003s # ret = FALSE;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # if (info->use_gvariant)
1003s # g_value_set_variant (&value, variant);
1003s # else
1003s # g_dbus_gvariant_to_gvalue (variant, &value);
1003s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # g_value_unset (&value);
1003s # ret = TRUE;
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
1003s # {
1003s # _good_types_skeleton_handle_method_call,
1003s # _good_types_skeleton_handle_get_property,
1003s # _good_types_skeleton_handle_set_property,
1003s # {NULL}
1003s # };
1003s #
1003s # static GDBusInterfaceInfo *
1003s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return good_types_interface_info ();
1003s # }
1003s #
1003s # static GDBusInterfaceVTable *
1003s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
1003s # }
1003s #
1003s # static GVariant *
1003s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1003s #
1003s # GVariantBuilder builder;
1003s # guint n;
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1003s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #else
1003s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #endif
1003s # if (_good_types_interface_info.parent_struct.properties == NULL)
1003s # goto out;
1003s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
1003s # {
1003s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
1003s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1003s # {
1003s # GVariant *value;
1003s # 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);
1003s # if (value != NULL)
1003s # {
1003s # g_variant_take_ref (value);
1003s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1003s # g_variant_unref (value);
1003s # }
1003s # }
1003s # }
1003s # out:
1003s # return g_variant_builder_end (&builder);
1003s # }
1003s #
1003s # static gboolean _good_types_emit_changed (gpointer user_data);
1003s #
1003s # static void
1003s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1003s # gboolean emit_changed = FALSE;
1003s #
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # if (skeleton->priv->changed_properties_idle_source != NULL)
1003s # {
1003s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1003s # skeleton->priv->changed_properties_idle_source = NULL;
1003s # emit_changed = TRUE;
1003s # }
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s #
1003s # if (emit_changed)
1003s # _good_types_emit_changed (skeleton);
1003s # }
1003s #
1003s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_ADD_PRIVATE (GoodTypesSkeleton)
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # good_types_skeleton_finalize (GObject *object)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # guint n;
1003s # for (n = 0; n < 1; n++)
1003s # g_value_unset (&skeleton->priv->properties[n]);
1003s # g_free (skeleton->priv->properties);
1003s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1003s # if (skeleton->priv->changed_properties_idle_source != NULL)
1003s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1003s # g_main_context_unref (skeleton->priv->context);
1003s # g_mutex_clear (&skeleton->priv->lock);
1003s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_get_property (GObject *object,
1003s # guint prop_id,
1003s # GValue *value,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # }
1003s #
1003s # static gboolean
1003s # _good_types_emit_changed (gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # GList *l;
1003s # GVariantBuilder builder;
1003s # GVariantBuilder invalidated_builder;
1003s # guint num_changes;
1003s #
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1003s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1003s # #else
1003s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1003s # #endif
1003s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1003s # {
1003s # ChangedProperty *cp = l->data;
1003s # GVariant *variant;
1003s # const GValue *cur_value;
1003s #
1003s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1003s # if (!_g_value_equal (cur_value, &cp->orig_value))
1003s # {
1003s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1003s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1003s # g_variant_unref (variant);
1003s # num_changes++;
1003s # }
1003s # }
1003s # if (num_changes > 0)
1003s # {
1003s # GList *connections, *ll;
1003s # GVariant *signal_variant;
1003s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
1003s # &builder, &invalidated_builder));
1003s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1003s # for (ll = connections; ll != NULL; ll = ll->next)
1003s # {
1003s # GDBusConnection *connection = ll->data;
1003s #
1003s # g_dbus_connection_emit_signal (connection,
1003s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1003s # "org.freedesktop.DBus.Properties",
1003s # "PropertiesChanged",
1003s # signal_variant,
1003s # NULL);
1003s # }
1003s # g_variant_unref (signal_variant);
1003s # g_list_free_full (connections, g_object_unref);
1003s # }
1003s # else
1003s # {
1003s # g_variant_builder_clear (&builder);
1003s # g_variant_builder_clear (&invalidated_builder);
1003s # }
1003s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1003s # skeleton->priv->changed_properties = NULL;
1003s # skeleton->priv->changed_properties_idle_source = NULL;
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # return FALSE;
1003s # }
1003s #
1003s # static void
1003s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1003s # {
1003s # ChangedProperty *cp;
1003s # GList *l;
1003s # cp = NULL;
1003s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1003s # {
1003s # ChangedProperty *i_cp = l->data;
1003s # if (i_cp->info == info)
1003s # {
1003s # cp = i_cp;
1003s # break;
1003s # }
1003s # }
1003s # if (cp == NULL)
1003s # {
1003s # cp = g_new0 (ChangedProperty, 1);
1003s # cp->prop_id = prop_id;
1003s # cp->info = info;
1003s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1003s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1003s # g_value_copy (orig_value, &cp->orig_value);
1003s # }
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_notify (GObject *object,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # if (skeleton->priv->changed_properties != NULL &&
1003s # skeleton->priv->changed_properties_idle_source == NULL)
1003s # {
1003s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1003s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1003s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1003s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
1003s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1003s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1003s # }
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_set_property (GObject *object,
1003s # guint prop_id,
1003s # const GValue *value,
1003s # GParamSpec *pspec)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # g_object_freeze_notify (object);
1003s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1003s # {
1003s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1003s # info->emits_changed_signal)
1003s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1003s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1003s # g_object_notify_by_pspec (object, pspec);
1003s # }
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # g_object_thaw_notify (object);
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
1003s # #else
1003s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
1003s # #endif
1003s #
1003s # g_mutex_init (&skeleton->priv->lock);
1003s # skeleton->priv->context = g_main_context_ref_thread_default ();
1003s # skeleton->priv->properties = g_new0 (GValue, 1);
1003s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
1003s # }
1003s #
1003s # static GVariant *
1003s # good_types_skeleton_get_good_property_type (GoodTypes *object)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # GVariant *value;
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # return value;
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusInterfaceSkeletonClass *skeleton_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = good_types_skeleton_finalize;
1003s # gobject_class->get_property = good_types_skeleton_get_property;
1003s # gobject_class->set_property = good_types_skeleton_set_property;
1003s # gobject_class->notify = good_types_skeleton_notify;
1003s #
1003s #
1003s # good_types_override_properties (gobject_class, 1);
1003s #
1003s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1003s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
1003s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
1003s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
1003s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_iface_init (GoodTypesIface *iface)
1003s # {
1003s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
1003s # }
1003s #
1003s # /**
1003s # * good_types_skeleton_new:
1003s # *
1003s # * Creates a skeleton object for the D-Bus interface GoodTypes.
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
1003s # */
1003s # GoodTypes *
1003s # good_types_skeleton_new (void)
1003s # {
1003s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
1003s # }
1003s # Error:
1003s #
1003s # /tmp/tmp4_7pepa4/tmpm44dxa94.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_7pepa4/tmpm44dxa94.xml', '--output', '-', '--body']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifdef HAVE_CONFIG_H
1003s # # include "config.h"
1003s # #endif
1003s #
1003s # #include
1003s # #ifdef G_OS_UNIX
1003s # # include
1003s # #endif
1003s #
1003s # #ifdef G_ENABLE_DEBUG
1003s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1003s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1003s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1003s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1003s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1003s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1003s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1003s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1003s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1003s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1003s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1003s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1003s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1003s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1003s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1003s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1003s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1003s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1003s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1003s # #else /* !G_ENABLE_DEBUG */
1003s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1003s # * Do not access GValues directly in your code. Instead, use the
1003s # * g_value_get_*() functions
1003s # */
1003s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1003s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1003s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1003s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1003s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1003s # #endif /* !G_ENABLE_DEBUG */
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusArgInfo parent_struct;
1003s # gboolean use_gvariant;
1003s # } _ExtendedGDBusArgInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusMethodInfo parent_struct;
1003s # const gchar *signal_name;
1003s # gboolean pass_fdlist;
1003s # } _ExtendedGDBusMethodInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusSignalInfo parent_struct;
1003s # const gchar *signal_name;
1003s # } _ExtendedGDBusSignalInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusPropertyInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # guint use_gvariant : 1;
1003s # guint emits_changed_signal : 1;
1003s # } _ExtendedGDBusPropertyInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusInterfaceInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # } _ExtendedGDBusInterfaceInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # guint prop_id;
1003s # GValue orig_value; /* the value before the change */
1003s # } ChangedProperty;
1003s #
1003s # static void
1003s # _changed_property_free (ChangedProperty *data)
1003s # {
1003s # g_value_unset (&data->orig_value);
1003s # g_free (data);
1003s # }
1003s #
1003s # static gboolean
1003s # _g_strv_equal0 (gchar **a, gchar **b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # guint n;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # if (g_strv_length (a) != g_strv_length (b))
1003s # goto out;
1003s # for (n = 0; a[n] != NULL; n++)
1003s # if (g_strcmp0 (a[n], b[n]) != 0)
1003s # goto out;
1003s # ret = TRUE;
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _g_variant_equal0 (GVariant *a, GVariant *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # ret = g_variant_equal (a, b);
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # G_GNUC_UNUSED static gboolean
1003s # _g_value_equal (const GValue *a, const GValue *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1003s # switch (G_VALUE_TYPE (a))
1003s # {
1003s # case G_TYPE_BOOLEAN:
1003s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1003s # break;
1003s # case G_TYPE_UCHAR:
1003s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1003s # break;
1003s # case G_TYPE_INT:
1003s # ret = (g_value_get_int (a) == g_value_get_int (b));
1003s # break;
1003s # case G_TYPE_UINT:
1003s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1003s # break;
1003s # case G_TYPE_INT64:
1003s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1003s # break;
1003s # case G_TYPE_UINT64:
1003s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1003s # break;
1003s # case G_TYPE_DOUBLE:
1003s # {
1003s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1003s # gdouble da = g_value_get_double (a);
1003s # gdouble db = g_value_get_double (b);
1003s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1003s # }
1003s # break;
1003s # case G_TYPE_STRING:
1003s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1003s # break;
1003s # case G_TYPE_VARIANT:
1003s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1003s # break;
1003s # default:
1003s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1003s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1003s # else
1003s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1003s # break;
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------
1003s # * Code for interface GoodTypes
1003s # * ------------------------------------------------------------------------
1003s # */
1003s #
1003s # /**
1003s # * SECTION:GoodTypes
1003s # * @title: GoodTypes
1003s # * @short_description: Generated C code for the GoodTypes D-Bus interface
1003s # *
1003s # * This section contains code for working with the GoodTypes D-Bus interface in C.
1003s # */
1003s #
1003s # /* ---- Introspection data for GoodTypes ---- */
1003s #
1003s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "GoodPropertyType",
1003s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})",
1003s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1003s # NULL
1003s # },
1003s # "good-property-type",
1003s # FALSE,
1003s # TRUE
1003s # };
1003s #
1003s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
1003s # {
1003s # &_good_types_property_info_good_property_type.parent_struct,
1003s # NULL
1003s # };
1003s #
1003s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "GoodTypes",
1003s # NULL,
1003s # NULL,
1003s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
1003s # NULL
1003s # },
1003s # "good-types",
1003s # };
1003s #
1003s #
1003s # /**
1003s # * good_types_interface_info:
1003s # *
1003s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
1003s # *
1003s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1003s # */
1003s # GDBusInterfaceInfo *
1003s # good_types_interface_info (void)
1003s # {
1003s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
1003s # }
1003s #
1003s # /**
1003s # * good_types_override_properties:
1003s # * @klass: The class structure for a #GObject derived class.
1003s # * @property_id_begin: The property id to assign to the first overridden property.
1003s # *
1003s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
1003s # * The properties are overridden in the order they are defined.
1003s # *
1003s # * Returns: The last property id.
1003s # */
1003s # guint
1003s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
1003s # {
1003s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
1003s # return property_id_begin - 1;
1003s # }
1003s #
1003s #
1003s #
1003s # /**
1003s # * GoodTypes:
1003s # *
1003s # * Abstract interface type for the D-Bus interface GoodTypes.
1003s # */
1003s #
1003s # /**
1003s # * GoodTypesIface:
1003s # * @parent_iface: The parent interface.
1003s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
1003s # *
1003s # * Virtual table for the D-Bus interface GoodTypes.
1003s # */
1003s #
1003s # typedef GoodTypesIface GoodTypesInterface;
1003s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
1003s #
1003s # static void
1003s # good_types_default_init (GoodTypesIface *iface)
1003s # {
1003s # /* GObject properties for D-Bus properties: */
1003s # /**
1003s # * GoodTypes:good-property-type:
1003s # *
1003s # * Represents the D-Bus property "GoodPropertyType".
1003s # *
1003s # * 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.
1003s # */
1003s # g_object_interface_install_property (iface,
1003s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1003s # }
1003s #
1003s # /**
1003s # * good_types_get_good_property_type: (skip)
1003s # * @object: A GoodTypes.
1003s # *
1003s # * Gets the value of the "GoodPropertyType" D-Bus property.
1003s # *
1003s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1003s # *
1003s # * 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.
1003s # *
1003s # * 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.
1003s # */
1003s # GVariant *
1003s # good_types_get_good_property_type (GoodTypes *object)
1003s # {
1003s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
1003s #
1003s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
1003s # }
1003s #
1003s # /**
1003s # * good_types_dup_good_property_type: (skip)
1003s # * @object: A GoodTypes.
1003s # *
1003s # * Gets a copy of the "GoodPropertyType" D-Bus property.
1003s # *
1003s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1003s # *
1003s # * 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().
1003s # */
1003s # GVariant *
1003s # good_types_dup_good_property_type (GoodTypes *object)
1003s # {
1003s # GVariant *value;
1003s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
1003s # return value;
1003s # }
1003s #
1003s # /**
1003s # * good_types_set_good_property_type: (skip)
1003s # * @object: A GoodTypes.
1003s # * @value: The value to set.
1003s # *
1003s # * Sets the "GoodPropertyType" D-Bus property to @value.
1003s # *
1003s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1003s # */
1003s # void
1003s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
1003s # {
1003s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * GoodTypesProxy:
1003s # *
1003s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * GoodTypesProxyClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for GoodTypesProxy.
1003s # */
1003s #
1003s # struct _GoodTypesProxyPrivate
1003s # {
1003s # GData *qdata;
1003s # };
1003s #
1003s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1003s # G_ADD_PRIVATE (GoodTypesProxy)
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # good_types_proxy_finalize (GObject *object)
1003s # {
1003s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1003s # g_datalist_clear (&proxy->priv->qdata);
1003s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_get_property (GObject *object,
1003s # guint prop_id,
1003s # GValue *value,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *variant;
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1003s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1003s # if (info->use_gvariant)
1003s # {
1003s # g_value_set_variant (value, variant);
1003s # }
1003s # else
1003s # {
1003s # if (variant != NULL)
1003s # g_dbus_gvariant_to_gvalue (variant, value);
1003s # }
1003s # if (variant != NULL)
1003s # g_variant_unref (variant);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
1003s # GAsyncResult *res,
1003s # gpointer user_data)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info = user_data;
1003s # GError *error;
1003s # GVariant *_ret;
1003s # error = NULL;
1003s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1003s # if (!_ret)
1003s # {
1003s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
1003s # info->parent_struct.name,
1003s # error->message, g_quark_to_string (error->domain), error->code);
1003s # g_error_free (error);
1003s # }
1003s # else
1003s # {
1003s # g_variant_unref (_ret);
1003s # }
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_set_property (GObject *object,
1003s # guint prop_id,
1003s # const GValue *value,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *variant;
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1003s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1003s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1003s # "org.freedesktop.DBus.Properties.Set",
1003s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
1003s # G_DBUS_CALL_FLAGS_NONE,
1003s # -1,
1003s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1003s # g_variant_unref (variant);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_g_signal (GDBusProxy *proxy,
1003s # const gchar *sender_name G_GNUC_UNUSED,
1003s # const gchar *signal_name,
1003s # GVariant *parameters)
1003s # {
1003s # _ExtendedGDBusSignalInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # gsize n;
1003s # guint signal_id;
1003s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
1003s # if (info == NULL)
1003s # return;
1003s # num_params = g_variant_n_children (parameters);
1003s # paramv = g_new0 (GValue, num_params + 1);
1003s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
1003s # g_value_set_object (¶mv[0], proxy);
1003s # g_variant_iter_init (&iter, parameters);
1003s # n = 1;
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1003s # g_signal_emitv (paramv, signal_id, 0, NULL);
1003s # for (n = 0; n < num_params + 1; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
1003s # GVariant *changed_properties,
1003s # const gchar *const *invalidated_properties)
1003s # {
1003s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
1003s # guint n;
1003s # const gchar *key;
1003s # GVariantIter *iter;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # g_variant_get (changed_properties, "a{sv}", &iter);
1003s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
1003s # g_datalist_remove_data (&proxy->priv->qdata, key);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # g_variant_iter_free (iter);
1003s # for (n = 0; invalidated_properties[n] != NULL; n++)
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
1003s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # }
1003s #
1003s # static GVariant *
1003s # good_types_proxy_get_good_property_type (GoodTypes *object)
1003s # {
1003s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
1003s # GVariant *variant;
1003s # GVariant *value = NULL;
1003s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
1003s # value = variant;
1003s # if (variant != NULL)
1003s # g_variant_unref (variant);
1003s # return value;
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_init (GoodTypesProxy *proxy)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # proxy->priv = good_types_proxy_get_instance_private (proxy);
1003s # #else
1003s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
1003s # #endif
1003s #
1003s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusProxyClass *proxy_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = good_types_proxy_finalize;
1003s # gobject_class->get_property = good_types_proxy_get_property;
1003s # gobject_class->set_property = good_types_proxy_set_property;
1003s #
1003s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1003s # proxy_class->g_signal = good_types_proxy_g_signal;
1003s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
1003s #
1003s # good_types_override_properties (gobject_class, 1);
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # good_types_proxy_iface_init (GoodTypesIface *iface)
1003s # {
1003s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
1003s # *
1003s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # good_types_proxy_new (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with good_types_proxy_new().
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_sync:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See good_types_proxy_new() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_sync (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /**
1003s # * good_types_proxy_new_for_bus:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
1003s # *
1003s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # good_types_proxy_new_for_bus (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_for_bus_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with good_types_proxy_new_for_bus().
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_for_bus_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * good_types_proxy_new_for_bus_sync:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # GoodTypes *
1003s # good_types_proxy_new_for_bus_sync (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return GOOD_TYPES (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * GoodTypesSkeleton:
1003s # *
1003s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * GoodTypesSkeletonClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for GoodTypesSkeleton.
1003s # */
1003s #
1003s # struct _GoodTypesSkeletonPrivate
1003s # {
1003s # GValue *properties;
1003s # GList *changed_properties;
1003s # GSource *changed_properties_idle_source;
1003s # GMainContext *context;
1003s # GMutex lock;
1003s # };
1003s #
1003s # static void
1003s # _good_types_skeleton_handle_method_call (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name,
1003s # const gchar *method_name,
1003s # GVariant *parameters,
1003s # GDBusMethodInvocation *invocation,
1003s # gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # _ExtendedGDBusMethodInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # guint num_extra;
1003s # gsize n;
1003s # guint signal_id;
1003s # GValue return_value = G_VALUE_INIT;
1003s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1003s # g_assert (info != NULL);
1003s # num_params = g_variant_n_children (parameters);
1003s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1003s # n = 0;
1003s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
1003s # g_value_set_object (¶mv[n++], skeleton);
1003s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1003s # g_value_set_object (¶mv[n++], invocation);
1003s # if (info->pass_fdlist)
1003s # {
1003s # #ifdef G_OS_UNIX
1003s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1003s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1003s # #else
1003s # g_assert_not_reached ();
1003s # #endif
1003s # }
1003s # g_variant_iter_init (&iter, parameters);
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
1003s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1003s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1003s # if (!g_value_get_boolean (&return_value))
1003s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1003s # g_value_unset (&return_value);
1003s # for (n = 0; n < num_params + num_extra; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static GVariant *
1003s # _good_types_skeleton_handle_get_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *ret;
1003s # ret = NULL;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # g_value_init (&value, pspec->value_type);
1003s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1003s # g_value_unset (&value);
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _good_types_skeleton_handle_set_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GVariant *variant,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # gboolean ret;
1003s # ret = FALSE;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # if (info->use_gvariant)
1003s # g_value_set_variant (&value, variant);
1003s # else
1003s # g_dbus_gvariant_to_gvalue (variant, &value);
1003s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # g_value_unset (&value);
1003s # ret = TRUE;
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
1003s # {
1003s # _good_types_skeleton_handle_method_call,
1003s # _good_types_skeleton_handle_get_property,
1003s # _good_types_skeleton_handle_set_property,
1003s # {NULL}
1003s # };
1003s #
1003s # static GDBusInterfaceInfo *
1003s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return good_types_interface_info ();
1003s # }
1003s #
1003s # static GDBusInterfaceVTable *
1003s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
1003s # }
1003s #
1003s # static GVariant *
1003s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1003s #
1003s # GVariantBuilder builder;
1003s # guint n;
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1003s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #else
1003s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #endif
1003s # if (_good_types_interface_info.parent_struct.properties == NULL)
1003s # goto out;
1003s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
1003s # {
1003s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
1003s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1003s # {
1003s # GVariant *value;
1003s # 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);
1003s # if (value != NULL)
1003s # {
1003s # g_variant_take_ref (value);
1003s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1003s # g_variant_unref (value);
1003s # }
1003s # }
1003s # }
1003s # out:
1003s # return g_variant_builder_end (&builder);
1003s # }
1003s #
1003s # static gboolean _good_types_emit_changed (gpointer user_data);
1003s #
1003s # static void
1003s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
1003s # gboolean emit_changed = FALSE;
1003s #
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # if (skeleton->priv->changed_properties_idle_source != NULL)
1003s # {
1003s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1003s # skeleton->priv->changed_properties_idle_source = NULL;
1003s # emit_changed = TRUE;
1003s # }
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s #
1003s # if (emit_changed)
1003s # _good_types_emit_changed (skeleton);
1003s # }
1003s #
1003s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_ADD_PRIVATE (GoodTypesSkeleton)
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # good_types_skeleton_finalize (GObject *object)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # guint n;
1003s # for (n = 0; n < 1; n++)
1003s # g_value_unset (&skeleton->priv->properties[n]);
1003s # g_free (skeleton->priv->properties);
1003s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1003s # if (skeleton->priv->changed_properties_idle_source != NULL)
1003s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1003s # g_main_context_unref (skeleton->priv->context);
1003s # g_mutex_clear (&skeleton->priv->lock);
1003s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_get_property (GObject *object,
1003s # guint prop_id,
1003s # GValue *value,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # }
1003s #
1003s # static gboolean
1003s # _good_types_emit_changed (gpointer user_data)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
1003s # GList *l;
1003s # GVariantBuilder builder;
1003s # GVariantBuilder invalidated_builder;
1003s # guint num_changes;
1003s #
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1003s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1003s # #else
1003s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1003s # #endif
1003s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1003s # {
1003s # ChangedProperty *cp = l->data;
1003s # GVariant *variant;
1003s # const GValue *cur_value;
1003s #
1003s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1003s # if (!_g_value_equal (cur_value, &cp->orig_value))
1003s # {
1003s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1003s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1003s # g_variant_unref (variant);
1003s # num_changes++;
1003s # }
1003s # }
1003s # if (num_changes > 0)
1003s # {
1003s # GList *connections, *ll;
1003s # GVariant *signal_variant;
1003s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
1003s # &builder, &invalidated_builder));
1003s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1003s # for (ll = connections; ll != NULL; ll = ll->next)
1003s # {
1003s # GDBusConnection *connection = ll->data;
1003s #
1003s # g_dbus_connection_emit_signal (connection,
1003s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1003s # "org.freedesktop.DBus.Properties",
1003s # "PropertiesChanged",
1003s # signal_variant,
1003s # NULL);
1003s # }
1003s # g_variant_unref (signal_variant);
1003s # g_list_free_full (connections, g_object_unref);
1003s # }
1003s # else
1003s # {
1003s # g_variant_builder_clear (&builder);
1003s # g_variant_builder_clear (&invalidated_builder);
1003s # }
1003s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1003s # skeleton->priv->changed_properties = NULL;
1003s # skeleton->priv->changed_properties_idle_source = NULL;
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # return FALSE;
1003s # }
1003s #
1003s # static void
1003s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1003s # {
1003s # ChangedProperty *cp;
1003s # GList *l;
1003s # cp = NULL;
1003s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1003s # {
1003s # ChangedProperty *i_cp = l->data;
1003s # if (i_cp->info == info)
1003s # {
1003s # cp = i_cp;
1003s # break;
1003s # }
1003s # }
1003s # if (cp == NULL)
1003s # {
1003s # cp = g_new0 (ChangedProperty, 1);
1003s # cp->prop_id = prop_id;
1003s # cp->info = info;
1003s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1003s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1003s # g_value_copy (orig_value, &cp->orig_value);
1003s # }
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_notify (GObject *object,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # if (skeleton->priv->changed_properties != NULL &&
1003s # skeleton->priv->changed_properties_idle_source == NULL)
1003s # {
1003s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1003s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1003s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1003s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
1003s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1003s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1003s # }
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_set_property (GObject *object,
1003s # guint prop_id,
1003s # const GValue *value,
1003s # GParamSpec *pspec)
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1003s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # g_object_freeze_notify (object);
1003s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1003s # {
1003s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1003s # info->emits_changed_signal)
1003s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1003s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1003s # g_object_notify_by_pspec (object, pspec);
1003s # }
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # g_object_thaw_notify (object);
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
1003s # #else
1003s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
1003s # #endif
1003s #
1003s # g_mutex_init (&skeleton->priv->lock);
1003s # skeleton->priv->context = g_main_context_ref_thread_default ();
1003s # skeleton->priv->properties = g_new0 (GValue, 1);
1003s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
1003s # }
1003s #
1003s # static GVariant *
1003s # good_types_skeleton_get_good_property_type (GoodTypes *object)
1003s # {
1003s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
1003s # GVariant *value;
1003s # g_mutex_lock (&skeleton->priv->lock);
1003s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
1003s # g_mutex_unlock (&skeleton->priv->lock);
1003s # return value;
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusInterfaceSkeletonClass *skeleton_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = good_types_skeleton_finalize;
1003s # gobject_class->get_property = good_types_skeleton_get_property;
1003s # gobject_class->set_property = good_types_skeleton_set_property;
1003s # gobject_class->notify = good_types_skeleton_notify;
1003s #
1003s #
1003s # good_types_override_properties (gobject_class, 1);
1003s #
1003s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1003s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
1003s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
1003s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
1003s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # good_types_skeleton_iface_init (GoodTypesIface *iface)
1003s # {
1003s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
1003s # }
1003s #
1003s # /**
1003s # * good_types_skeleton_new:
1003s # *
1003s # * Creates a skeleton object for the D-Bus interface GoodTypes.
1003s # *
1003s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
1003s # */
1003s # GoodTypes *
1003s # good_types_skeleton_new (void)
1003s # {
1003s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
1003s # }
1003s # Error:
1003s ok 3 __main__.TestCodegen.test_empty_interface_body
1003s # gdbus-codegen: /usr/bin/gdbus-codegen
1003s # tmpdir: /tmp/tmpo8dcew73
1003s # /tmp/tmpo8dcew73/tmp5xxlkq7c.xml:
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo8dcew73/tmp5xxlkq7c.xml', '--output', '-', '--body']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifdef HAVE_CONFIG_H
1003s # # include "config.h"
1003s # #endif
1003s #
1003s # #include
1003s # #ifdef G_OS_UNIX
1003s # # include
1003s # #endif
1003s #
1003s # #ifdef G_ENABLE_DEBUG
1003s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1003s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1003s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1003s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1003s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1003s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1003s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1003s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1003s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1003s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1003s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1003s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1003s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1003s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1003s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1003s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1003s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1003s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1003s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1003s # #else /* !G_ENABLE_DEBUG */
1003s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1003s # * Do not access GValues directly in your code. Instead, use the
1003s # * g_value_get_*() functions
1003s # */
1003s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1003s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1003s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1003s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1003s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1003s # #endif /* !G_ENABLE_DEBUG */
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusArgInfo parent_struct;
1003s # gboolean use_gvariant;
1003s # } _ExtendedGDBusArgInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusMethodInfo parent_struct;
1003s # const gchar *signal_name;
1003s # gboolean pass_fdlist;
1003s # } _ExtendedGDBusMethodInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusSignalInfo parent_struct;
1003s # const gchar *signal_name;
1003s # } _ExtendedGDBusSignalInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusPropertyInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # guint use_gvariant : 1;
1003s # guint emits_changed_signal : 1;
1003s # } _ExtendedGDBusPropertyInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusInterfaceInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # } _ExtendedGDBusInterfaceInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # guint prop_id;
1003s # GValue orig_value; /* the value before the change */
1003s # } ChangedProperty;
1003s #
1003s # static void
1003s # _changed_property_free (ChangedProperty *data)
1003s # {
1003s # g_value_unset (&data->orig_value);
1003s # g_free (data);
1003s # }
1003s #
1003s # static gboolean
1003s # _g_strv_equal0 (gchar **a, gchar **b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # guint n;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # if (g_strv_length (a) != g_strv_length (b))
1003s # goto out;
1003s # for (n = 0; a[n] != NULL; n++)
1003s # if (g_strcmp0 (a[n], b[n]) != 0)
1003s # goto out;
1003s # ret = TRUE;
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _g_variant_equal0 (GVariant *a, GVariant *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # ret = g_variant_equal (a, b);
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # G_GNUC_UNUSED static gboolean
1003s # _g_value_equal (const GValue *a, const GValue *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1003s # switch (G_VALUE_TYPE (a))
1003s # {
1003s # case G_TYPE_BOOLEAN:
1003s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1003s # break;
1003s # case G_TYPE_UCHAR:
1003s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1003s # break;
1003s # case G_TYPE_INT:
1003s # ret = (g_value_get_int (a) == g_value_get_int (b));
1003s # break;
1003s # case G_TYPE_UINT:
1003s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1003s # break;
1003s # case G_TYPE_INT64:
1003s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1003s # break;
1003s # case G_TYPE_UINT64:
1003s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1003s # break;
1003s # case G_TYPE_DOUBLE:
1003s # {
1003s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1003s # gdouble da = g_value_get_double (a);
1003s # gdouble db = g_value_get_double (b);
1003s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1003s # }
1003s # break;
1003s # case G_TYPE_STRING:
1003s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1003s # break;
1003s # case G_TYPE_VARIANT:
1003s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1003s # break;
1003s # default:
1003s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1003s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1003s # else
1003s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1003s # break;
1003s # }
1003s # return ret;
1003s # }
1003s # Error:
1003s ok 4 __main__.TestCodegen.test_empty_interface_header
1003s # gdbus-codegen: /usr/bin/gdbus-codegen
1003s # tmpdir: /tmp/tmpq1pb87w7
1003s # /tmp/tmpq1pb87w7/tmp520xdmcz.xml:
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq1pb87w7/tmp520xdmcz.xml', '--output', '-', '--header']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifndef __STDOUT__
1003s # #define __STDOUT__
1003s #
1003s # #include
1003s #
1003s # G_BEGIN_DECLS
1003s #
1003s #
1003s # G_END_DECLS
1003s #
1003s # #endif /* __STDOUT__ */
1003s # Error:
1003s ok 5 __main__.TestCodegen.test_empty_interface_info_body
1003s # gdbus-codegen: /usr/bin/gdbus-codegen
1003s # tmpdir: /tmp/tmpcorqgtat
1003s # /tmp/tmpcorqgtat/tmpekgr8hzq.xml:
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcorqgtat/tmpekgr8hzq.xml', '--output', '-', '--interface-info-body']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifdef HAVE_CONFIG_H
1003s # # include "config.h"
1003s # #endif
1003s #
1003s # #include
1003s # Error:
1003s ok 6 __main__.TestCodegen.test_empty_interface_info_header
1003s # gdbus-codegen: /usr/bin/gdbus-codegen
1003s # tmpdir: /tmp/tmpvn7nrumf
1003s # /tmp/tmpvn7nrumf/tmpfrhnjlj3.xml:
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvn7nrumf/tmpfrhnjlj3.xml', '--output', '-', '--interface-info-header']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifndef __STDOUT__
1003s # #define __STDOUT__
1003s #
1003s # #include
1003s #
1003s # G_BEGIN_DECLS
1003s #
1003s #
1003s # G_END_DECLS
1003s #
1003s # #endif /* __STDOUT__ */
1003s # Error:
1003s ok 7 __main__.TestCodegen.test_generate_docbook
1003s # gdbus-codegen: /usr/bin/gdbus-codegen
1003s # tmpdir: /tmp/tmpyk08jecu
1003s # /tmp/tmpyk08jecu/tmpfxkseqg7.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyk08jecu/tmpfxkseqg7.xml', '--generate-docbook', 'test']
1003s # Return code: 0
1003s # Output:
1003s #
1003s # Error:
1003s ok 8 __main__.TestCodegen.test_generate_md
1003s # gdbus-codegen: /usr/bin/gdbus-codegen
1003s # tmpdir: /tmp/tmpfeaggodb
1003s # /tmp/tmpfeaggodb/tmp1ae0zocr.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfeaggodb/tmp1ae0zocr.xml', '--generate-md', 'test']
1003s # Return code: 0
1003s # Output:
1003s #
1003s # Error:
1003s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method
1003s # gdbus-codegen: /usr/bin/gdbus-codegen
1003s # tmpdir: /tmp/tmp2vdqhgcf
1003s # /tmp/tmp2vdqhgcf/tmprdw5g93w.xml:
1003s #
1003s #
1003s #
1003s #
1003s #
1003s #
1003s #
1003s #
1003s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2vdqhgcf/tmprdw5g93w.xml', '--output', '-', '--body']
1003s # Return code: 0
1003s # Output:
1003s # /*
1003s # * This file is generated by gdbus-codegen, do not modify it.
1003s # *
1003s # * The license of this code is the same as for the D-Bus interface description
1003s # * it was derived from. Note that it links to GLib, so must comply with the
1003s # * LGPL linking clauses.
1003s # */
1003s #
1003s # #ifdef HAVE_CONFIG_H
1003s # # include "config.h"
1003s # #endif
1003s #
1003s # #include
1003s # #ifdef G_OS_UNIX
1003s # # include
1003s # #endif
1003s #
1003s # #ifdef G_ENABLE_DEBUG
1003s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1003s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1003s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1003s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1003s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1003s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1003s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1003s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1003s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1003s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1003s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1003s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1003s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1003s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1003s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1003s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1003s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1003s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1003s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1003s # #else /* !G_ENABLE_DEBUG */
1003s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1003s # * Do not access GValues directly in your code. Instead, use the
1003s # * g_value_get_*() functions
1003s # */
1003s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1003s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1003s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1003s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1003s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1003s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1003s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1003s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1003s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1003s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1003s # #endif /* !G_ENABLE_DEBUG */
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusArgInfo parent_struct;
1003s # gboolean use_gvariant;
1003s # } _ExtendedGDBusArgInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusMethodInfo parent_struct;
1003s # const gchar *signal_name;
1003s # gboolean pass_fdlist;
1003s # } _ExtendedGDBusMethodInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusSignalInfo parent_struct;
1003s # const gchar *signal_name;
1003s # } _ExtendedGDBusSignalInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusPropertyInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # guint use_gvariant : 1;
1003s # guint emits_changed_signal : 1;
1003s # } _ExtendedGDBusPropertyInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # GDBusInterfaceInfo parent_struct;
1003s # const gchar *hyphen_name;
1003s # } _ExtendedGDBusInterfaceInfo;
1003s #
1003s # typedef struct
1003s # {
1003s # const _ExtendedGDBusPropertyInfo *info;
1003s # guint prop_id;
1003s # GValue orig_value; /* the value before the change */
1003s # } ChangedProperty;
1003s #
1003s # static void
1003s # _changed_property_free (ChangedProperty *data)
1003s # {
1003s # g_value_unset (&data->orig_value);
1003s # g_free (data);
1003s # }
1003s #
1003s # static gboolean
1003s # _g_strv_equal0 (gchar **a, gchar **b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # guint n;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # if (g_strv_length (a) != g_strv_length (b))
1003s # goto out;
1003s # for (n = 0; a[n] != NULL; n++)
1003s # if (g_strcmp0 (a[n], b[n]) != 0)
1003s # goto out;
1003s # ret = TRUE;
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _g_variant_equal0 (GVariant *a, GVariant *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # if (a == NULL && b == NULL)
1003s # {
1003s # ret = TRUE;
1003s # goto out;
1003s # }
1003s # if (a == NULL || b == NULL)
1003s # goto out;
1003s # ret = g_variant_equal (a, b);
1003s # out:
1003s # return ret;
1003s # }
1003s #
1003s # G_GNUC_UNUSED static gboolean
1003s # _g_value_equal (const GValue *a, const GValue *b)
1003s # {
1003s # gboolean ret = FALSE;
1003s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1003s # switch (G_VALUE_TYPE (a))
1003s # {
1003s # case G_TYPE_BOOLEAN:
1003s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1003s # break;
1003s # case G_TYPE_UCHAR:
1003s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1003s # break;
1003s # case G_TYPE_INT:
1003s # ret = (g_value_get_int (a) == g_value_get_int (b));
1003s # break;
1003s # case G_TYPE_UINT:
1003s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1003s # break;
1003s # case G_TYPE_INT64:
1003s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1003s # break;
1003s # case G_TYPE_UINT64:
1003s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1003s # break;
1003s # case G_TYPE_DOUBLE:
1003s # {
1003s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1003s # gdouble da = g_value_get_double (a);
1003s # gdouble db = g_value_get_double (b);
1003s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1003s # }
1003s # break;
1003s # case G_TYPE_STRING:
1003s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1003s # break;
1003s # case G_TYPE_VARIANT:
1003s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1003s # break;
1003s # default:
1003s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1003s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1003s # else
1003s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1003s # break;
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static void
1003s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1003s # GClosure *closure,
1003s # GValue *return_value,
1003s # unsigned int n_param_values,
1003s # const GValue *param_values,
1003s # void *invocation_hint G_GNUC_UNUSED,
1003s # void *marshal_data)
1003s # {
1003s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1003s # (void *data1,
1003s # GDBusMethodInvocation *arg_method_invocation,
1003s # void *data2);
1003s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1003s # GCClosure *cc = (GCClosure*) closure;
1003s # void *data1, *data2;
1003s # gboolean v_return;
1003s #
1003s # g_return_if_fail (return_value != NULL);
1003s # g_return_if_fail (n_param_values == 2);
1003s #
1003s # if (G_CCLOSURE_SWAP_DATA (closure))
1003s # {
1003s # data1 = closure->data;
1003s # data2 = g_value_peek_pointer (param_values + 0);
1003s # }
1003s # else
1003s # {
1003s # data1 = g_value_peek_pointer (param_values + 0);
1003s # data2 = closure->data;
1003s # }
1003s #
1003s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1003s # (marshal_data ? marshal_data : cc->callback);
1003s #
1003s # v_return =
1003s # callback (data1,
1003s # g_marshal_value_peek_object (param_values + 1),
1003s # data2);
1003s #
1003s # g_value_set_boolean (return_value, v_return);
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------
1003s # * Code for interface org.project.CallableIface
1003s # * ------------------------------------------------------------------------
1003s # */
1003s #
1003s # /**
1003s # * SECTION:OrgProjectCallableIface
1003s # * @title: OrgProjectCallableIface
1003s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
1003s # *
1003s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
1003s # */
1003s #
1003s # /* ---- Introspection data for org.project.CallableIface ---- */
1003s #
1003s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "SimpleMethod",
1003s # NULL,
1003s # NULL,
1003s # NULL
1003s # },
1003s # "handle-simple-method",
1003s # FALSE
1003s # };
1003s #
1003s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
1003s # {
1003s # &_org_project_callable_iface_method_info_simple_method.parent_struct,
1003s # NULL
1003s # };
1003s #
1003s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "org.project.CallableIface",
1003s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
1003s # NULL,
1003s # NULL,
1003s # NULL
1003s # },
1003s # "org-project-callable-iface",
1003s # };
1003s #
1003s #
1003s # /**
1003s # * org_project_callable_iface_interface_info:
1003s # *
1003s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
1003s # *
1003s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1003s # */
1003s # GDBusInterfaceInfo *
1003s # org_project_callable_iface_interface_info (void)
1003s # {
1003s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_override_properties:
1003s # * @klass: The class structure for a #GObject derived class.
1003s # * @property_id_begin: The property id to assign to the first overridden property.
1003s # *
1003s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
1003s # * The properties are overridden in the order they are defined.
1003s # *
1003s # * Returns: The last property id.
1003s # */
1003s # guint
1003s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1003s # {
1003s # return property_id_begin - 1;
1003s # }
1003s #
1003s #
1003s # inline static void
1003s # org_project_callable_iface_method_marshal_simple_method (
1003s # GClosure *closure,
1003s # GValue *return_value,
1003s # unsigned int n_param_values,
1003s # const GValue *param_values,
1003s # void *invocation_hint,
1003s # void *marshal_data)
1003s # {
1003s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1003s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1003s # }
1003s #
1003s #
1003s # /**
1003s # * OrgProjectCallableIface:
1003s # *
1003s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
1003s # */
1003s #
1003s # /**
1003s # * OrgProjectCallableIfaceIface:
1003s # * @parent_iface: The parent interface.
1003s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal.
1003s # *
1003s # * Virtual table for the D-Bus interface org.project.CallableIface.
1003s # */
1003s #
1003s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
1003s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
1003s #
1003s # static void
1003s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
1003s # {
1003s # /* GObject signals for incoming D-Bus method calls: */
1003s # /**
1003s # * OrgProjectCallableIface::handle-simple-method:
1003s # * @object: A #OrgProjectCallableIface.
1003s # * @invocation: A #GDBusMethodInvocation.
1003s # *
1003s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
1003s # *
1003s # * 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.
1003s # *
1003s # * 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.
1003s # */
1003s # g_signal_new ("handle-simple-method",
1003s # G_TYPE_FROM_INTERFACE (iface),
1003s # G_SIGNAL_RUN_LAST,
1003s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method),
1003s # g_signal_accumulator_true_handled,
1003s # NULL,
1003s # org_project_callable_iface_method_marshal_simple_method,
1003s # G_TYPE_BOOLEAN,
1003s # 1,
1003s # G_TYPE_DBUS_METHOD_INVOCATION);
1003s #
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_call_simple_method:
1003s # * @proxy: A #OrgProjectCallableIfaceProxy.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation.
1003s # *
1003s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
1003s # */
1003s # void
1003s # org_project_callable_iface_call_simple_method (
1003s # OrgProjectCallableIface *proxy,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1003s # "SimpleMethod",
1003s # g_variant_new ("()"),
1003s # G_DBUS_CALL_FLAGS_NONE,
1003s # -1,
1003s # cancellable,
1003s # callback,
1003s # user_data);
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_call_simple_method_finish:
1003s # * @proxy: A #OrgProjectCallableIfaceProxy.
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method().
1003s # * @error: Return location for error or %NULL.
1003s # *
1003s # * Finishes an operation started with org_project_callable_iface_call_simple_method().
1003s # *
1003s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1003s # */
1003s # gboolean
1003s # org_project_callable_iface_call_simple_method_finish (
1003s # OrgProjectCallableIface *proxy,
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GVariant *_ret;
1003s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1003s # if (_ret == NULL)
1003s # goto _out;
1003s # g_variant_get (_ret,
1003s # "()");
1003s # g_variant_unref (_ret);
1003s # _out:
1003s # return _ret != NULL;
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_call_simple_method_sync:
1003s # * @proxy: A #OrgProjectCallableIfaceProxy.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL.
1003s # *
1003s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1003s # *
1003s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method.
1003s # *
1003s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1003s # */
1003s # gboolean
1003s # org_project_callable_iface_call_simple_method_sync (
1003s # OrgProjectCallableIface *proxy,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GVariant *_ret;
1003s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1003s # "SimpleMethod",
1003s # g_variant_new ("()"),
1003s # G_DBUS_CALL_FLAGS_NONE,
1003s # -1,
1003s # cancellable,
1003s # error);
1003s # if (_ret == NULL)
1003s # goto _out;
1003s # g_variant_get (_ret,
1003s # "()");
1003s # g_variant_unref (_ret);
1003s # _out:
1003s # return _ret != NULL;
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_complete_simple_method:
1003s # * @object: A #OrgProjectCallableIface.
1003s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1003s # *
1003s # * 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.
1003s # *
1003s # * This method will free @invocation, you cannot use it afterwards.
1003s # */
1003s # void
1003s # org_project_callable_iface_complete_simple_method (
1003s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1003s # GDBusMethodInvocation *invocation)
1003s # {
1003s # g_dbus_method_invocation_return_value (invocation,
1003s # g_variant_new ("()"));
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * OrgProjectCallableIfaceProxy:
1003s # *
1003s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * OrgProjectCallableIfaceProxyClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for #OrgProjectCallableIfaceProxy.
1003s # */
1003s #
1003s # struct _OrgProjectCallableIfaceProxyPrivate
1003s # {
1003s # GData *qdata;
1003s # };
1003s #
1003s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1003s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
1003s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1003s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # org_project_callable_iface_proxy_finalize (GObject *object)
1003s # {
1003s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
1003s # g_datalist_clear (&proxy->priv->qdata);
1003s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1003s # guint prop_id G_GNUC_UNUSED,
1003s # GValue *value G_GNUC_UNUSED,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1003s # guint prop_id G_GNUC_UNUSED,
1003s # const GValue *value G_GNUC_UNUSED,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1003s # const gchar *sender_name G_GNUC_UNUSED,
1003s # const gchar *signal_name,
1003s # GVariant *parameters)
1003s # {
1003s # _ExtendedGDBusSignalInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # gsize n;
1003s # guint signal_id;
1003s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
1003s # if (info == NULL)
1003s # return;
1003s # num_params = g_variant_n_children (parameters);
1003s # paramv = g_new0 (GValue, num_params + 1);
1003s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1003s # g_value_set_object (¶mv[0], proxy);
1003s # g_variant_iter_init (&iter, parameters);
1003s # n = 1;
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1003s # g_signal_emitv (paramv, signal_id, 0, NULL);
1003s # for (n = 0; n < num_params + 1; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1003s # GVariant *changed_properties,
1003s # const gchar *const *invalidated_properties)
1003s # {
1003s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
1003s # guint n;
1003s # const gchar *key;
1003s # GVariantIter *iter;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # g_variant_get (changed_properties, "a{sv}", &iter);
1003s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
1003s # g_datalist_remove_data (&proxy->priv->qdata, key);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # g_variant_iter_free (iter);
1003s # for (n = 0; invalidated_properties[n] != NULL; n++)
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1003s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
1003s # #else
1003s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
1003s # #endif
1003s #
1003s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusProxyClass *proxy_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
1003s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
1003s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
1003s #
1003s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1003s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
1003s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_proxy_new:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
1003s # *
1003s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # org_project_callable_iface_proxy_new (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_proxy_new_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with org_project_callable_iface_proxy_new().
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # OrgProjectCallableIface *
1003s # org_project_callable_iface_proxy_new_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_proxy_new_sync:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # OrgProjectCallableIface *
1003s # org_project_callable_iface_proxy_new_sync (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /**
1003s # * org_project_callable_iface_proxy_new_for_bus:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1003s # *
1003s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # org_project_callable_iface_proxy_new_for_bus (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_proxy_new_for_bus_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # OrgProjectCallableIface *
1003s # org_project_callable_iface_proxy_new_for_bus_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_proxy_new_for_bus_sync:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # OrgProjectCallableIface *
1003s # org_project_callable_iface_proxy_new_for_bus_sync (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * OrgProjectCallableIfaceSkeleton:
1003s # *
1003s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * OrgProjectCallableIfaceSkeletonClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for #OrgProjectCallableIfaceSkeleton.
1003s # */
1003s #
1003s # struct _OrgProjectCallableIfaceSkeletonPrivate
1003s # {
1003s # GValue *properties;
1003s # GList *changed_properties;
1003s # GSource *changed_properties_idle_source;
1003s # GMainContext *context;
1003s # GMutex lock;
1003s # };
1003s #
1003s # static void
1003s # _org_project_callable_iface_skeleton_handle_method_call (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name,
1003s # const gchar *method_name,
1003s # GVariant *parameters,
1003s # GDBusMethodInvocation *invocation,
1003s # gpointer user_data)
1003s # {
1003s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1003s # _ExtendedGDBusMethodInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # guint num_extra;
1003s # gsize n;
1003s # guint signal_id;
1003s # GValue return_value = G_VALUE_INIT;
1003s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1003s # g_assert (info != NULL);
1003s # num_params = g_variant_n_children (parameters);
1003s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1003s # n = 0;
1003s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1003s # g_value_set_object (¶mv[n++], skeleton);
1003s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1003s # g_value_set_object (¶mv[n++], invocation);
1003s # if (info->pass_fdlist)
1003s # {
1003s # #ifdef G_OS_UNIX
1003s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1003s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1003s # #else
1003s # g_assert_not_reached ();
1003s # #endif
1003s # }
1003s # g_variant_iter_init (&iter, parameters);
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1003s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1003s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1003s # if (!g_value_get_boolean (&return_value))
1003s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1003s # g_value_unset (&return_value);
1003s # for (n = 0; n < num_params + num_extra; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static GVariant *
1003s # _org_project_callable_iface_skeleton_handle_get_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *ret;
1003s # ret = NULL;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # g_value_init (&value, pspec->value_type);
1003s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1003s # g_value_unset (&value);
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _org_project_callable_iface_skeleton_handle_set_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GVariant *variant,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # gboolean ret;
1003s # ret = FALSE;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # if (info->use_gvariant)
1003s # g_value_set_variant (&value, variant);
1003s # else
1003s # g_dbus_gvariant_to_gvalue (variant, &value);
1003s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # g_value_unset (&value);
1003s # ret = TRUE;
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
1003s # {
1003s # _org_project_callable_iface_skeleton_handle_method_call,
1003s # _org_project_callable_iface_skeleton_handle_get_property,
1003s # _org_project_callable_iface_skeleton_handle_set_property,
1003s # {NULL}
1003s # };
1003s #
1003s # static GDBusInterfaceInfo *
1003s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return org_project_callable_iface_interface_info ();
1003s # }
1003s #
1003s # static GDBusInterfaceVTable *
1003s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
1003s # }
1003s #
1003s # static GVariant *
1003s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1003s # {
1003s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
1003s #
1003s # GVariantBuilder builder;
1003s # guint n;
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1003s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #else
1003s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #endif
1003s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
1003s # goto out;
1003s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1003s # {
1003s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
1003s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1003s # {
1003s # GVariant *value;
1003s # 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);
1003s # if (value != NULL)
1003s # {
1003s # g_variant_take_ref (value);
1003s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1003s # g_variant_unref (value);
1003s # }
1003s # }
1003s # }
1003s # out:
1003s # return g_variant_builder_end (&builder);
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
1003s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # org_project_callable_iface_skeleton_finalize (GObject *object)
1003s # {
1003s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
1003s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1003s # if (skeleton->priv->changed_properties_idle_source != NULL)
1003s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1003s # g_main_context_unref (skeleton->priv->context);
1003s # g_mutex_clear (&skeleton->priv->lock);
1003s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
1003s # #else
1003s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
1003s # #endif
1003s #
1003s # g_mutex_init (&skeleton->priv->lock);
1003s # skeleton->priv->context = g_main_context_ref_thread_default ();
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusInterfaceSkeletonClass *skeleton_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
1003s #
1003s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1003s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
1003s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
1003s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
1003s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # /**
1003s # * org_project_callable_iface_skeleton_new:
1003s # *
1003s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
1003s # */
1003s # OrgProjectCallableIface *
1003s # org_project_callable_iface_skeleton_new (void)
1003s # {
1003s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------
1003s # * Code for interface org.project.OtherCallableIface
1003s # * ------------------------------------------------------------------------
1003s # */
1003s #
1003s # /**
1003s # * SECTION:OrgProjectOtherCallableIface
1003s # * @title: OrgProjectOtherCallableIface
1003s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
1003s # *
1003s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
1003s # */
1003s #
1003s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
1003s #
1003s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "SimpleMethod",
1003s # NULL,
1003s # NULL,
1003s # NULL
1003s # },
1003s # "handle-simple-method",
1003s # FALSE
1003s # };
1003s #
1003s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
1003s # {
1003s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct,
1003s # NULL
1003s # };
1003s #
1003s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
1003s # {
1003s # {
1003s # -1,
1003s # (gchar *) "org.project.OtherCallableIface",
1003s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
1003s # NULL,
1003s # NULL,
1003s # NULL
1003s # },
1003s # "org-project-other-callable-iface",
1003s # };
1003s #
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_interface_info:
1003s # *
1003s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
1003s # *
1003s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1003s # */
1003s # GDBusInterfaceInfo *
1003s # org_project_other_callable_iface_interface_info (void)
1003s # {
1003s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_override_properties:
1003s # * @klass: The class structure for a #GObject derived class.
1003s # * @property_id_begin: The property id to assign to the first overridden property.
1003s # *
1003s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
1003s # * The properties are overridden in the order they are defined.
1003s # *
1003s # * Returns: The last property id.
1003s # */
1003s # guint
1003s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1003s # {
1003s # return property_id_begin - 1;
1003s # }
1003s #
1003s #
1003s # inline static void
1003s # org_project_other_callable_iface_method_marshal_simple_method (
1003s # GClosure *closure,
1003s # GValue *return_value,
1003s # unsigned int n_param_values,
1003s # const GValue *param_values,
1003s # void *invocation_hint,
1003s # void *marshal_data)
1003s # {
1003s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1003s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1003s # }
1003s #
1003s #
1003s # /**
1003s # * OrgProjectOtherCallableIface:
1003s # *
1003s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
1003s # */
1003s #
1003s # /**
1003s # * OrgProjectOtherCallableIfaceIface:
1003s # * @parent_iface: The parent interface.
1003s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal.
1003s # *
1003s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
1003s # */
1003s #
1003s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
1003s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
1003s #
1003s # static void
1003s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
1003s # {
1003s # /* GObject signals for incoming D-Bus method calls: */
1003s # /**
1003s # * OrgProjectOtherCallableIface::handle-simple-method:
1003s # * @object: A #OrgProjectOtherCallableIface.
1003s # * @invocation: A #GDBusMethodInvocation.
1003s # *
1003s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
1003s # *
1003s # * 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.
1003s # *
1003s # * 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.
1003s # */
1003s # g_signal_new ("handle-simple-method",
1003s # G_TYPE_FROM_INTERFACE (iface),
1003s # G_SIGNAL_RUN_LAST,
1003s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method),
1003s # g_signal_accumulator_true_handled,
1003s # NULL,
1003s # org_project_other_callable_iface_method_marshal_simple_method,
1003s # G_TYPE_BOOLEAN,
1003s # 1,
1003s # G_TYPE_DBUS_METHOD_INVOCATION);
1003s #
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_call_simple_method:
1003s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation.
1003s # *
1003s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
1003s # */
1003s # void
1003s # org_project_other_callable_iface_call_simple_method (
1003s # OrgProjectOtherCallableIface *proxy,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1003s # "SimpleMethod",
1003s # g_variant_new ("()"),
1003s # G_DBUS_CALL_FLAGS_NONE,
1003s # -1,
1003s # cancellable,
1003s # callback,
1003s # user_data);
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_call_simple_method_finish:
1003s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method().
1003s # * @error: Return location for error or %NULL.
1003s # *
1003s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method().
1003s # *
1003s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1003s # */
1003s # gboolean
1003s # org_project_other_callable_iface_call_simple_method_finish (
1003s # OrgProjectOtherCallableIface *proxy,
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GVariant *_ret;
1003s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1003s # if (_ret == NULL)
1003s # goto _out;
1003s # g_variant_get (_ret,
1003s # "()");
1003s # g_variant_unref (_ret);
1003s # _out:
1003s # return _ret != NULL;
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_call_simple_method_sync:
1003s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL.
1003s # *
1003s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1003s # *
1003s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method.
1003s # *
1003s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1003s # */
1003s # gboolean
1003s # org_project_other_callable_iface_call_simple_method_sync (
1003s # OrgProjectOtherCallableIface *proxy,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GVariant *_ret;
1003s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1003s # "SimpleMethod",
1003s # g_variant_new ("()"),
1003s # G_DBUS_CALL_FLAGS_NONE,
1003s # -1,
1003s # cancellable,
1003s # error);
1003s # if (_ret == NULL)
1003s # goto _out;
1003s # g_variant_get (_ret,
1003s # "()");
1003s # g_variant_unref (_ret);
1003s # _out:
1003s # return _ret != NULL;
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_complete_simple_method:
1003s # * @object: A #OrgProjectOtherCallableIface.
1003s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1003s # *
1003s # * 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.
1003s # *
1003s # * This method will free @invocation, you cannot use it afterwards.
1003s # */
1003s # void
1003s # org_project_other_callable_iface_complete_simple_method (
1003s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
1003s # GDBusMethodInvocation *invocation)
1003s # {
1003s # g_dbus_method_invocation_return_value (invocation,
1003s # g_variant_new ("()"));
1003s # }
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * OrgProjectOtherCallableIfaceProxy:
1003s # *
1003s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * OrgProjectOtherCallableIfaceProxyClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
1003s # */
1003s #
1003s # struct _OrgProjectOtherCallableIfaceProxyPrivate
1003s # {
1003s # GData *qdata;
1003s # };
1003s #
1003s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1003s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
1003s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1003s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # org_project_other_callable_iface_proxy_finalize (GObject *object)
1003s # {
1003s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
1003s # g_datalist_clear (&proxy->priv->qdata);
1003s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1003s # guint prop_id G_GNUC_UNUSED,
1003s # GValue *value G_GNUC_UNUSED,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1003s # guint prop_id G_GNUC_UNUSED,
1003s # const GValue *value G_GNUC_UNUSED,
1003s # GParamSpec *pspec G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1003s # const gchar *sender_name G_GNUC_UNUSED,
1003s # const gchar *signal_name,
1003s # GVariant *parameters)
1003s # {
1003s # _ExtendedGDBusSignalInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # gsize n;
1003s # guint signal_id;
1003s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
1003s # if (info == NULL)
1003s # return;
1003s # num_params = g_variant_n_children (parameters);
1003s # paramv = g_new0 (GValue, num_params + 1);
1003s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1003s # g_value_set_object (¶mv[0], proxy);
1003s # g_variant_iter_init (&iter, parameters);
1003s # n = 1;
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1003s # g_signal_emitv (paramv, signal_id, 0, NULL);
1003s # for (n = 0; n < num_params + 1; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1003s # GVariant *changed_properties,
1003s # const gchar *const *invalidated_properties)
1003s # {
1003s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
1003s # guint n;
1003s # const gchar *key;
1003s # GVariantIter *iter;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # g_variant_get (changed_properties, "a{sv}", &iter);
1003s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
1003s # g_datalist_remove_data (&proxy->priv->qdata, key);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # g_variant_iter_free (iter);
1003s # for (n = 0; invalidated_properties[n] != NULL; n++)
1003s # {
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1003s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1003s # if (info != NULL)
1003s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1003s # }
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
1003s # #else
1003s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
1003s # #endif
1003s #
1003s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusProxyClass *proxy_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
1003s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
1003s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
1003s #
1003s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1003s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
1003s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_proxy_new:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
1003s # *
1003s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # org_project_other_callable_iface_proxy_new (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_proxy_new_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # OrgProjectOtherCallableIface *
1003s # org_project_other_callable_iface_proxy_new_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_proxy_new_sync:
1003s # * @connection: A #GDBusConnection.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # OrgProjectOtherCallableIface *
1003s # org_project_other_callable_iface_proxy_new_sync (
1003s # GDBusConnection *connection,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_proxy_new_for_bus:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1003s # * @user_data: User data to pass to @callback.
1003s # *
1003s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1003s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1003s # *
1003s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1003s # */
1003s # void
1003s # org_project_other_callable_iface_proxy_new_for_bus (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GAsyncReadyCallback callback,
1003s # gpointer user_data)
1003s # {
1003s # 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);
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
1003s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # OrgProjectOtherCallableIface *
1003s # org_project_other_callable_iface_proxy_new_for_bus_finish (
1003s # GAsyncResult *res,
1003s # GError **error)
1003s # {
1003s # GObject *ret;
1003s # GObject *source_object;
1003s # source_object = g_async_result_get_source_object (res);
1003s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1003s # g_object_unref (source_object);
1003s # if (ret != NULL)
1003s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
1003s # * @bus_type: A #GBusType.
1003s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1003s # * @name: A bus name (well-known or unique).
1003s # * @object_path: An object path.
1003s # * @cancellable: (nullable): A #GCancellable or %NULL.
1003s # * @error: Return location for error or %NULL
1003s # *
1003s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1003s # *
1003s # * The calling thread is blocked until a reply is received.
1003s # *
1003s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1003s # */
1003s # OrgProjectOtherCallableIface *
1003s # org_project_other_callable_iface_proxy_new_for_bus_sync (
1003s # GBusType bus_type,
1003s # GDBusProxyFlags flags,
1003s # const gchar *name,
1003s # const gchar *object_path,
1003s # GCancellable *cancellable,
1003s # GError **error)
1003s # {
1003s # GInitable *ret;
1003s # 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);
1003s # if (ret != NULL)
1003s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1003s # else
1003s # return NULL;
1003s # }
1003s #
1003s #
1003s # /* ------------------------------------------------------------------------ */
1003s #
1003s # /**
1003s # * OrgProjectOtherCallableIfaceSkeleton:
1003s # *
1003s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1003s # */
1003s #
1003s # /**
1003s # * OrgProjectOtherCallableIfaceSkeletonClass:
1003s # * @parent_class: The parent class.
1003s # *
1003s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
1003s # */
1003s #
1003s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
1003s # {
1003s # GValue *properties;
1003s # GList *changed_properties;
1003s # GSource *changed_properties_idle_source;
1003s # GMainContext *context;
1003s # GMutex lock;
1003s # };
1003s #
1003s # static void
1003s # _org_project_other_callable_iface_skeleton_handle_method_call (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name,
1003s # const gchar *method_name,
1003s # GVariant *parameters,
1003s # GDBusMethodInvocation *invocation,
1003s # gpointer user_data)
1003s # {
1003s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1003s # _ExtendedGDBusMethodInfo *info;
1003s # GVariantIter iter;
1003s # GVariant *child;
1003s # GValue *paramv;
1003s # gsize num_params;
1003s # guint num_extra;
1003s # gsize n;
1003s # guint signal_id;
1003s # GValue return_value = G_VALUE_INIT;
1003s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1003s # g_assert (info != NULL);
1003s # num_params = g_variant_n_children (parameters);
1003s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1003s # n = 0;
1003s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1003s # g_value_set_object (¶mv[n++], skeleton);
1003s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1003s # g_value_set_object (¶mv[n++], invocation);
1003s # if (info->pass_fdlist)
1003s # {
1003s # #ifdef G_OS_UNIX
1003s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1003s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1003s # #else
1003s # g_assert_not_reached ();
1003s # #endif
1003s # }
1003s # g_variant_iter_init (&iter, parameters);
1003s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1003s # {
1003s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1003s # if (arg_info->use_gvariant)
1003s # {
1003s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1003s # g_value_set_variant (¶mv[n], child);
1003s # n++;
1003s # }
1003s # else
1003s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1003s # g_variant_unref (child);
1003s # }
1003s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1003s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1003s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1003s # if (!g_value_get_boolean (&return_value))
1003s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1003s # g_value_unset (&return_value);
1003s # for (n = 0; n < num_params + num_extra; n++)
1003s # g_value_unset (¶mv[n]);
1003s # g_free (paramv);
1003s # }
1003s #
1003s # static GVariant *
1003s # _org_project_other_callable_iface_skeleton_handle_get_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # GVariant *ret;
1003s # ret = NULL;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # g_value_init (&value, pspec->value_type);
1003s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1003s # g_value_unset (&value);
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static gboolean
1003s # _org_project_other_callable_iface_skeleton_handle_set_property (
1003s # GDBusConnection *connection G_GNUC_UNUSED,
1003s # const gchar *sender G_GNUC_UNUSED,
1003s # const gchar *object_path G_GNUC_UNUSED,
1003s # const gchar *interface_name G_GNUC_UNUSED,
1003s # const gchar *property_name,
1003s # GVariant *variant,
1003s # GError **error,
1003s # gpointer user_data)
1003s # {
1003s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1003s # GValue value = G_VALUE_INIT;
1003s # GParamSpec *pspec;
1003s # _ExtendedGDBusPropertyInfo *info;
1003s # gboolean ret;
1003s # ret = FALSE;
1003s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1003s # g_assert (info != NULL);
1003s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1003s # if (pspec == NULL)
1003s # {
1003s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1003s # }
1003s # else
1003s # {
1003s # if (info->use_gvariant)
1003s # g_value_set_variant (&value, variant);
1003s # else
1003s # g_dbus_gvariant_to_gvalue (variant, &value);
1003s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1003s # g_value_unset (&value);
1003s # ret = TRUE;
1003s # }
1003s # return ret;
1003s # }
1003s #
1003s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
1003s # {
1003s # _org_project_other_callable_iface_skeleton_handle_method_call,
1003s # _org_project_other_callable_iface_skeleton_handle_get_property,
1003s # _org_project_other_callable_iface_skeleton_handle_set_property,
1003s # {NULL}
1003s # };
1003s #
1003s # static GDBusInterfaceInfo *
1003s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return org_project_other_callable_iface_interface_info ();
1003s # }
1003s #
1003s # static GDBusInterfaceVTable *
1003s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1003s # {
1003s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
1003s # }
1003s #
1003s # static GVariant *
1003s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1003s # {
1003s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
1003s #
1003s # GVariantBuilder builder;
1003s # guint n;
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1003s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #else
1003s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1003s # #endif
1003s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
1003s # goto out;
1003s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1003s # {
1003s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
1003s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1003s # {
1003s # GVariant *value;
1003s # 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);
1003s # if (value != NULL)
1003s # {
1003s # g_variant_take_ref (value);
1003s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1003s # g_variant_unref (value);
1003s # }
1003s # }
1003s # }
1003s # out:
1003s # return g_variant_builder_end (&builder);
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
1003s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1003s #
1003s # #else
1003s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1003s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1003s #
1003s # #endif
1003s # static void
1003s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
1003s # {
1003s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
1003s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1003s # if (skeleton->priv->changed_properties_idle_source != NULL)
1003s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1003s # g_main_context_unref (skeleton->priv->context);
1003s # g_mutex_clear (&skeleton->priv->lock);
1003s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
1003s # {
1003s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1003s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
1003s # #else
1003s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
1003s # #endif
1003s #
1003s # g_mutex_init (&skeleton->priv->lock);
1003s # skeleton->priv->context = g_main_context_ref_thread_default ();
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
1003s # {
1003s # GObjectClass *gobject_class;
1003s # GDBusInterfaceSkeletonClass *skeleton_class;
1003s #
1003s # gobject_class = G_OBJECT_CLASS (klass);
1003s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
1003s #
1003s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1003s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
1003s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
1003s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
1003s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
1003s #
1003s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1003s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
1003s # #endif
1003s # }
1003s #
1003s # static void
1003s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1003s # {
1003s # }
1003s #
1003s # /**
1003s # * org_project_other_callable_iface_skeleton_new:
1003s # *
1003s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
1003s # *
1003s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
1003s # */
1003s # OrgProjectOtherCallableIface *
1003s # org_project_other_callable_iface_skeleton_new (void)
1003s # {
1003s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
1003s # }
1003s # Error:
1004s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmp4sdbpnld
1004s # /tmp/tmp4sdbpnld/tmpw0fr2xhs.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpw0fr2xhs.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # gboolean arg_arg_b,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_boolean (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_b",
1004s # (gchar *) "b",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodB",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-b",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_b (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_b: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-b",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_b,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_b:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_b: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_b (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gboolean arg_arg_b,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodB",
1004s # g_variant_new ("(b)",
1004s # arg_arg_b),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_b_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_b_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_b_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_b: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_b_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gboolean arg_arg_b,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodB",
1004s # g_variant_new ("(b)",
1004s # arg_arg_b),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_b:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_b (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpk_3wpl7x.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpk_3wpl7x.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # guchar arg_arg_y,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_uchar (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_y",
1004s # (gchar *) "y",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodY",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-y",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_y (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_y: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-y",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_y,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_y:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_y: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_y (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guchar arg_arg_y,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodY",
1004s # g_variant_new ("(y)",
1004s # arg_arg_y),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_y_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_y_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_y_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_y: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_y_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guchar arg_arg_y,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodY",
1004s # g_variant_new ("(y)",
1004s # arg_arg_y),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_y:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_y (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmphc79wpii.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmphc79wpii.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # gint16 arg_arg_n,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_int (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_n",
1004s # (gchar *) "n",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodN",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-n",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_n (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_n: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-n",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_n,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_n:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_n: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_n (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint16 arg_arg_n,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodN",
1004s # g_variant_new ("(n)",
1004s # arg_arg_n),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_n_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_n_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_n_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_n: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_n_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint16 arg_arg_n,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodN",
1004s # g_variant_new ("(n)",
1004s # arg_arg_n),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_n:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_n (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmp3wzr7c7e.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmp3wzr7c7e.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # guint16 arg_arg_q,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_uint (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_q",
1004s # (gchar *) "q",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodQ",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-q",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_q (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_q: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-q",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_q,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_q:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_q: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_q (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint16 arg_arg_q,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodQ",
1004s # g_variant_new ("(q)",
1004s # arg_arg_q),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_q_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_q_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_q_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_q: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_q_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint16 arg_arg_q,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodQ",
1004s # g_variant_new ("(q)",
1004s # arg_arg_q),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_q:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_q (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpgc5cnr85.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpgc5cnr85.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # gint arg_arg_i,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_int (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_i",
1004s # (gchar *) "i",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodI",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-i",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_i (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_i: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-i",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_i,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_i:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_i: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_i (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint arg_arg_i,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodI",
1004s # g_variant_new ("(i)",
1004s # arg_arg_i),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_i_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_i_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_i_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_i: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_i_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint arg_arg_i,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodI",
1004s # g_variant_new ("(i)",
1004s # arg_arg_i),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_i:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_i (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpyyi5lluc.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpyyi5lluc.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # guint arg_arg_u,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_uint (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_u",
1004s # (gchar *) "u",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodU",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-u",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_u (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_u: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-u",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_u,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_u:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_u: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_u (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint arg_arg_u,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodU",
1004s # g_variant_new ("(u)",
1004s # arg_arg_u),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_u_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_u_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_u_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_u: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_u_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint arg_arg_u,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodU",
1004s # g_variant_new ("(u)",
1004s # arg_arg_u),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_u:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_u (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpl5py9h4v.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpl5py9h4v.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # gint64 arg_arg_x,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_int64 (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_x",
1004s # (gchar *) "x",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodX",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-x",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_x (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_x: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-x",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_x,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_x:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_x: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_x (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint64 arg_arg_x,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodX",
1004s # g_variant_new ("(x)",
1004s # arg_arg_x),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_x_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_x_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_x_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_x: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_x_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint64 arg_arg_x,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodX",
1004s # g_variant_new ("(x)",
1004s # arg_arg_x),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_x:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_x (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpkg71cc_l.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpkg71cc_l.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # guint64 arg_arg_t,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_uint64 (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_t",
1004s # (gchar *) "t",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodT",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-t",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_t (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_t: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-t",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_t,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_t:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_t: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_t (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint64 arg_arg_t,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodT",
1004s # g_variant_new ("(t)",
1004s # arg_arg_t),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_t_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_t_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_t_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_t: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_t_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint64 arg_arg_t,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodT",
1004s # g_variant_new ("(t)",
1004s # arg_arg_t),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_t:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_t (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmp4e8op53z.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmp4e8op53z.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # gdouble arg_arg_d,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_double (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_d",
1004s # (gchar *) "d",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodD",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-d",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_d (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_d: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-d",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_d,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_d:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_d: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_d (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gdouble arg_arg_d,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodD",
1004s # g_variant_new ("(d)",
1004s # arg_arg_d),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_d_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_d_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_d_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_d: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_d_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gdouble arg_arg_d,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodD",
1004s # g_variant_new ("(d)",
1004s # arg_arg_d),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_d:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_d (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpor7i1wx2.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpor7i1wx2.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # const gchar *arg_arg_s,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_string (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_s",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodS",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-s",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_s (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_s: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-s",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_s,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_s:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_s: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_s (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *arg_arg_s,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodS",
1004s # g_variant_new ("(s)",
1004s # arg_arg_s),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_s_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_s_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_s_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_s: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_s_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *arg_arg_s,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodS",
1004s # g_variant_new ("(s)",
1004s # arg_arg_s),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_s:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_s (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpkbx6o3c2.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpkbx6o3c2.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # const gchar *arg_arg_o,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_string (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_o",
1004s # (gchar *) "o",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodO",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-o",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_o (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_o: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-o",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_o,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_o:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_o: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_o (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *arg_arg_o,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodO",
1004s # g_variant_new ("(o)",
1004s # arg_arg_o),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_o_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_o_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_o_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_o: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_o_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *arg_arg_o,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodO",
1004s # g_variant_new ("(o)",
1004s # arg_arg_o),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_o:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_o (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpuz29qznx.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpuz29qznx.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # const gchar *arg_arg_g,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_string (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_g",
1004s # (gchar *) "g",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodG",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-g",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_g (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_g: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-g",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_g,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_g:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_g: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_g (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *arg_arg_g,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodG",
1004s # g_variant_new ("(g)",
1004s # arg_arg_g),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_g_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_g_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_g_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_g: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_g_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *arg_arg_g,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodG",
1004s # g_variant_new ("(g)",
1004s # arg_arg_g),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_g:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_g (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpiqud4evc.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpiqud4evc.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # GVariant *arg_arg_h,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_variant (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_h",
1004s # (gchar *) "h",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodH",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-h",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_h (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_h: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-h",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_h,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_h:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_h: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_h (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GVariant *arg_arg_h,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodH",
1004s # g_variant_new ("(@h)",
1004s # arg_arg_h),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_h_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_h_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_h_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_h: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_h_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GVariant *arg_arg_h,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodH",
1004s # g_variant_new ("(@h)",
1004s # arg_arg_h),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_h:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_h (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpjl03jjbg.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpjl03jjbg.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # const gchar *arg_arg_ay,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_string (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_ay",
1004s # (gchar *) "ay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAy",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-ay",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_ay (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_ay: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-ay",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_ay,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ay:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_ay: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_ay (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *arg_arg_ay,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAy",
1004s # g_variant_new ("(^ay)",
1004s # arg_arg_ay),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ay_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_ay_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ay_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_ay: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_ay_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *arg_arg_ay,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAy",
1004s # g_variant_new ("(^ay)",
1004s # arg_arg_ay),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_ay:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_ay (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpd2s0pzcq.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpd2s0pzcq.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # const gchar *const *arg_arg_as,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_boxed (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_as",
1004s # (gchar *) "as",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAs",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-as",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_as (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_as: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-as",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_as,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_as:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_as: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_as (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *const *arg_arg_as,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAs",
1004s # g_variant_new ("(^as)",
1004s # arg_arg_as),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_as_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_as_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_as_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_as: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_as_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *const *arg_arg_as,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAs",
1004s # g_variant_new ("(^as)",
1004s # arg_arg_as),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_as:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_as (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmppdjk_zgw.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmppdjk_zgw.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # const gchar *const *arg_arg_ao,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_boxed (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_ao",
1004s # (gchar *) "ao",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAo",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-ao",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_ao (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_ao: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-ao",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_ao,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ao:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_ao: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_ao (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *const *arg_arg_ao,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAo",
1004s # g_variant_new ("(^ao)",
1004s # arg_arg_ao),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ao_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_ao_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ao_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_ao: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_ao_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *const *arg_arg_ao,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAo",
1004s # g_variant_new ("(^ao)",
1004s # arg_arg_ao),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_ao:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_ao (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpzj0j8i8a.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpzj0j8i8a.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # const gchar *const *arg_arg_aay,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_boxed (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_aay",
1004s # (gchar *) "aay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAay",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-aay",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_aay (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_aay: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-aay",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_aay,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_aay:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_aay: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_aay (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *const *arg_arg_aay,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAay",
1004s # g_variant_new ("(^aay)",
1004s # arg_arg_aay),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_aay_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_aay_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_aay_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_aay: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_aay_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # const gchar *const *arg_arg_aay,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAay",
1004s # g_variant_new ("(^aay)",
1004s # arg_arg_aay),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_aay:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_aay (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmp4sdbpnld/tmpj98_njkc.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4sdbpnld/tmpj98_njkc.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # GVariant *arg_arg_asv,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 3);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_variant (param_values + 2),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_asv",
1004s # (gchar *) "a{sv}",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAsv",
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-asv",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_asv (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_arg_asv: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-asv",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_asv,
1004s # G_TYPE_BOOLEAN,
1004s # 2,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_asv:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_asv: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_asv (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GVariant *arg_arg_asv,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAsv",
1004s # g_variant_new ("(@a{sv})",
1004s # arg_arg_asv),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_asv_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_asv_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_asv_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @arg_arg_asv: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_asv_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GVariant *arg_arg_asv,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAsv",
1004s # g_variant_new ("(@a{sv})",
1004s # arg_arg_asv),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_asv:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_asv (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmpck28pc3u
1004s # /tmp/tmpck28pc3u/tmphdndtqos.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmphdndtqos.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_b",
1004s # (gchar *) "b",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodB",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-b",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_b (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-b",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_b,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_b:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_b (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodB",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_b_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_b_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gboolean *out_arg_b,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(b)",
1004s # out_arg_b);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_b_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_b_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gboolean *out_arg_b,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodB",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(b)",
1004s # out_arg_b);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_b:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_b: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_b (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # gboolean arg_b)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(b)",
1004s # arg_b));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmp8w2xk5q_.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmp8w2xk5q_.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_y",
1004s # (gchar *) "y",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodY",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-y",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_y (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-y",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_y,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_y:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_y (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodY",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_y_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_y_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guchar *out_arg_y,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(y)",
1004s # out_arg_y);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_y_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_y_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guchar *out_arg_y,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodY",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(y)",
1004s # out_arg_y);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_y:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_y: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_y (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # guchar arg_y)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(y)",
1004s # arg_y));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpzqhiz7c7.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpzqhiz7c7.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_n",
1004s # (gchar *) "n",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodN",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-n",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_n (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-n",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_n,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_n:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_n (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodN",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_n_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_n_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint16 *out_arg_n,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(n)",
1004s # out_arg_n);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_n_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_n_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint16 *out_arg_n,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodN",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(n)",
1004s # out_arg_n);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_n:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_n: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_n (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # gint16 arg_n)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(n)",
1004s # arg_n));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpy7nacq3o.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpy7nacq3o.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_q",
1004s # (gchar *) "q",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodQ",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-q",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_q (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-q",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_q,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_q:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_q (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodQ",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_q_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_q_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint16 *out_arg_q,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(q)",
1004s # out_arg_q);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_q_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_q_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint16 *out_arg_q,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodQ",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(q)",
1004s # out_arg_q);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_q:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_q: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_q (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # guint16 arg_q)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(q)",
1004s # arg_q));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpp690qgvc.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpp690qgvc.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_i",
1004s # (gchar *) "i",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodI",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-i",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_i (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-i",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_i,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_i:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_i (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodI",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_i_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_i_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint *out_arg_i,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(i)",
1004s # out_arg_i);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_i_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_i_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint *out_arg_i,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodI",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(i)",
1004s # out_arg_i);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_i:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_i: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_i (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # gint arg_i)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(i)",
1004s # arg_i));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpxrwgxn0c.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpxrwgxn0c.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_u",
1004s # (gchar *) "u",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodU",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-u",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_u (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-u",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_u,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_u:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_u (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodU",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_u_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_u_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint *out_arg_u,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(u)",
1004s # out_arg_u);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_u_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_u_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint *out_arg_u,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodU",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(u)",
1004s # out_arg_u);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_u:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_u: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_u (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # guint arg_u)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(u)",
1004s # arg_u));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmph5uk3a68.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmph5uk3a68.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_x",
1004s # (gchar *) "x",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodX",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-x",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_x (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-x",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_x,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_x:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_x (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodX",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_x_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_x_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint64 *out_arg_x,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(x)",
1004s # out_arg_x);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_x_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_x_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gint64 *out_arg_x,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodX",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(x)",
1004s # out_arg_x);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_x:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_x: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_x (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # gint64 arg_x)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(x)",
1004s # arg_x));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmplq0mjaga.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmplq0mjaga.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_t",
1004s # (gchar *) "t",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodT",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-t",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_t (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-t",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_t,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_t:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_t (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodT",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_t_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_t_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint64 *out_arg_t,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(t)",
1004s # out_arg_t);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_t_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_t_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # guint64 *out_arg_t,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodT",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(t)",
1004s # out_arg_t);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_t:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_t: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_t (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # guint64 arg_t)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(t)",
1004s # arg_t));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpv1y4xvxy.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpv1y4xvxy.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_d",
1004s # (gchar *) "d",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodD",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-d",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_d (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-d",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_d,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_d:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_d (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodD",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_d_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_d_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gdouble *out_arg_d,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(d)",
1004s # out_arg_d);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_d_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_d_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gdouble *out_arg_d,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodD",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(d)",
1004s # out_arg_d);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_d:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_d: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_d (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # gdouble arg_d)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(d)",
1004s # arg_d));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpmca44dm4.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpmca44dm4.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_s",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodS",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-s",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_s (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-s",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_s,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_s:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_s (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodS",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_s_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_s_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar **out_arg_s,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(s)",
1004s # out_arg_s);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_s_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_s_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar **out_arg_s,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodS",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(s)",
1004s # out_arg_s);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_s:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_s: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_s (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # const gchar *arg_s)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(s)",
1004s # arg_s));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpzxcu0qap.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpzxcu0qap.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_o",
1004s # (gchar *) "o",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodO",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-o",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_o (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-o",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_o,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_o:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_o (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodO",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_o_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_o_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar **out_arg_o,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(o)",
1004s # out_arg_o);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_o_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_o_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar **out_arg_o,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodO",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(o)",
1004s # out_arg_o);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_o:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_o: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_o (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # const gchar *arg_o)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(o)",
1004s # arg_o));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmp00yu4r19.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmp00yu4r19.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_g",
1004s # (gchar *) "g",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodG",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-g",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_g (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-g",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_g,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_g:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_g (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodG",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_g_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_g_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar **out_arg_g,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(g)",
1004s # out_arg_g);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_g_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_g_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar **out_arg_g,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodG",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(g)",
1004s # out_arg_g);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_g:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_g: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_g (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # const gchar *arg_g)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(g)",
1004s # arg_g));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmp06yv495x.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmp06yv495x.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_h",
1004s # (gchar *) "h",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodH",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-h",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_h (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-h",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_h,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_h:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_h (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodH",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_h_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_h_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GVariant **out_arg_h,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(@h)",
1004s # out_arg_h);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_h_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_h_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GVariant **out_arg_h,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodH",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(@h)",
1004s # out_arg_h);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_h:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_h: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_h (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # GVariant *arg_h)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(@h)",
1004s # arg_h));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpyzsno38_.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpyzsno38_.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_ay",
1004s # (gchar *) "ay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAy",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-ay",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_ay (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-ay",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_ay,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ay:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_ay (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAy",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ay_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_ay_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar **out_arg_ay,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(^ay)",
1004s # out_arg_ay);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ay_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_ay_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar **out_arg_ay,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAy",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(^ay)",
1004s # out_arg_ay);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_ay:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_ay: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_ay (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # const gchar *arg_ay)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(^ay)",
1004s # arg_ay));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpk865jm5j.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpk865jm5j.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_as",
1004s # (gchar *) "as",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAs",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-as",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_as (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-as",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_as,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_as:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_as (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAs",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_as_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_as_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar ***out_arg_as,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(^as)",
1004s # out_arg_as);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_as_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_as_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar ***out_arg_as,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAs",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(^as)",
1004s # out_arg_as);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_as:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_as: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_as (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # const gchar *const *arg_as)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(^as)",
1004s # arg_as));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmp_321_fx3.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmp_321_fx3.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_ao",
1004s # (gchar *) "ao",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAo",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-ao",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_ao (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-ao",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_ao,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ao:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_ao (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAo",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ao_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_ao_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar ***out_arg_ao,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(^ao)",
1004s # out_arg_ao);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_ao_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_ao_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar ***out_arg_ao,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAo",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(^ao)",
1004s # out_arg_ao);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_ao:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_ao: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_ao (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # const gchar *const *arg_ao)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(^ao)",
1004s # arg_ao));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmp8axreq9u.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmp8axreq9u.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_aay",
1004s # (gchar *) "aay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAay",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-aay",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_aay (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-aay",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_aay,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_aay:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_aay (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAay",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_aay_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_aay_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar ***out_arg_aay,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(^aay)",
1004s # out_arg_aay);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_aay_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_aay_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # gchar ***out_arg_aay,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAay",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(^aay)",
1004s # out_arg_aay);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_aay:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_aay: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_aay (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # const gchar *const *arg_aay)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(^aay)",
1004s # arg_aay));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s #
1004s # /tmp/tmpck28pc3u/tmpdkikkfrw.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpck28pc3u/tmpdkikkfrw.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "arg_asv",
1004s # (gchar *) "a{sv}",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgMethodAsv",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-single-arg-method-asv",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_method_marshal_single_arg_method_asv (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-single-arg-method-asv",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_useful_interface_method_marshal_single_arg_method_asv,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_asv:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_useful_interface_call_single_arg_method_asv (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAsv",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_asv_finish:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_asv_finish (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GVariant **out_arg_asv,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(@a{sv})",
1004s # out_arg_asv);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_call_single_arg_method_asv_sync:
1004s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
1004s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_useful_interface_call_single_arg_method_asv_sync (
1004s # OrgProjectUsefulInterface *proxy,
1004s # GVariant **out_arg_asv,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SingleArgMethodAsv",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(@a{sv})",
1004s # out_arg_asv);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_complete_single_arg_method_asv:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @arg_asv: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_useful_interface_complete_single_arg_method_asv (
1004s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # GVariant *arg_asv)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(@a{sv})",
1004s # arg_asv));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmpb63t4opc
1004s # /tmp/tmpb63t4opc/tmpw15bh1nr.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb63t4opc/tmpw15bh1nr.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 20);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_boolean (param_values + 2),
1004s # g_marshal_value_peek_uchar (param_values + 3),
1004s # g_marshal_value_peek_int (param_values + 4),
1004s # g_marshal_value_peek_uint (param_values + 5),
1004s # g_marshal_value_peek_int (param_values + 6),
1004s # g_marshal_value_peek_uint (param_values + 7),
1004s # g_marshal_value_peek_int64 (param_values + 8),
1004s # g_marshal_value_peek_uint64 (param_values + 9),
1004s # g_marshal_value_peek_double (param_values + 10),
1004s # g_marshal_value_peek_string (param_values + 11),
1004s # g_marshal_value_peek_string (param_values + 12),
1004s # g_marshal_value_peek_string (param_values + 13),
1004s # g_marshal_value_peek_variant (param_values + 14),
1004s # g_marshal_value_peek_string (param_values + 15),
1004s # g_marshal_value_peek_boxed (param_values + 16),
1004s # g_marshal_value_peek_boxed (param_values + 17),
1004s # g_marshal_value_peek_boxed (param_values + 18),
1004s # g_marshal_value_peek_variant (param_values + 19),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.CallableIface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectCallableIface
1004s # * @title: OrgProjectCallableIface
1004s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.CallableIface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_b",
1004s # (gchar *) "b",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_y",
1004s # (gchar *) "y",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_n",
1004s # (gchar *) "n",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_q",
1004s # (gchar *) "q",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_i",
1004s # (gchar *) "i",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_u",
1004s # (gchar *) "u",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_x",
1004s # (gchar *) "x",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_t",
1004s # (gchar *) "t",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_d",
1004s # (gchar *) "d",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_s",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_o",
1004s # (gchar *) "o",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_g",
1004s # (gchar *) "g",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_h",
1004s # (gchar *) "h",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ay",
1004s # (gchar *) "ay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_as",
1004s # (gchar *) "as",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ao",
1004s # (gchar *) "ao",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_aay",
1004s # (gchar *) "aay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_asv",
1004s # (gchar *) "a{sv}",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "MethodWithManyArgs",
1004s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-method-with-many-args",
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_b",
1004s # (gchar *) "b",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_y",
1004s # (gchar *) "y",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_n",
1004s # (gchar *) "n",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_q",
1004s # (gchar *) "q",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_i",
1004s # (gchar *) "i",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_u",
1004s # (gchar *) "u",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_x",
1004s # (gchar *) "x",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_t",
1004s # (gchar *) "t",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_d",
1004s # (gchar *) "d",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_s",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_o",
1004s # (gchar *) "o",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_g",
1004s # (gchar *) "g",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_h",
1004s # (gchar *) "h",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ay",
1004s # (gchar *) "ay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_as",
1004s # (gchar *) "as",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ao",
1004s # (gchar *) "ao",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_aay",
1004s # (gchar *) "aay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_asv",
1004s # (gchar *) "a{sv}",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SameMethodWithManyArgs",
1004s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-same-method-with-many-args",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
1004s # {
1004s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
1004s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.CallableIface",
1004s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-callable-iface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_callable_iface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_callable_iface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_callable_iface_method_marshal_method_with_many_args (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _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,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_callable_iface_method_marshal_same_method_with_many_args (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _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,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectCallableIface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
1004s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.CallableIface.
1004s # */
1004s #
1004s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectCallableIface::handle-method-with-many-args:
1004s # * @object: A #OrgProjectCallableIface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_an_b: Argument passed by remote caller.
1004s # * @arg_an_y: Argument passed by remote caller.
1004s # * @arg_an_n: Argument passed by remote caller.
1004s # * @arg_an_q: Argument passed by remote caller.
1004s # * @arg_an_i: Argument passed by remote caller.
1004s # * @arg_an_u: Argument passed by remote caller.
1004s # * @arg_an_x: Argument passed by remote caller.
1004s # * @arg_an_t: Argument passed by remote caller.
1004s # * @arg_an_d: Argument passed by remote caller.
1004s # * @arg_an_s: Argument passed by remote caller.
1004s # * @arg_an_o: Argument passed by remote caller.
1004s # * @arg_an_g: Argument passed by remote caller.
1004s # * @arg_an_h: Argument passed by remote caller.
1004s # * @arg_an_ay: Argument passed by remote caller.
1004s # * @arg_an_as: Argument passed by remote caller.
1004s # * @arg_an_ao: Argument passed by remote caller.
1004s # * @arg_an_aay: Argument passed by remote caller.
1004s # * @arg_an_asv: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-method-with-many-args",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_callable_iface_method_marshal_method_with_many_args,
1004s # G_TYPE_BOOLEAN,
1004s # 19,
1004s # 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);
1004s #
1004s # /**
1004s # * OrgProjectCallableIface::handle-same-method-with-many-args:
1004s # * @object: A #OrgProjectCallableIface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_an_b: Argument passed by remote caller.
1004s # * @arg_an_y: Argument passed by remote caller.
1004s # * @arg_an_n: Argument passed by remote caller.
1004s # * @arg_an_q: Argument passed by remote caller.
1004s # * @arg_an_i: Argument passed by remote caller.
1004s # * @arg_an_u: Argument passed by remote caller.
1004s # * @arg_an_x: Argument passed by remote caller.
1004s # * @arg_an_t: Argument passed by remote caller.
1004s # * @arg_an_d: Argument passed by remote caller.
1004s # * @arg_an_s: Argument passed by remote caller.
1004s # * @arg_an_o: Argument passed by remote caller.
1004s # * @arg_an_g: Argument passed by remote caller.
1004s # * @arg_an_h: Argument passed by remote caller.
1004s # * @arg_an_ay: Argument passed by remote caller.
1004s # * @arg_an_as: Argument passed by remote caller.
1004s # * @arg_an_ao: Argument passed by remote caller.
1004s # * @arg_an_aay: Argument passed by remote caller.
1004s # * @arg_an_asv: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-same-method-with-many-args",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_callable_iface_method_marshal_same_method_with_many_args,
1004s # G_TYPE_BOOLEAN,
1004s # 19,
1004s # 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);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_call_method_with_many_args:
1004s # * @proxy: A #OrgProjectCallableIfaceProxy.
1004s # * @arg_an_b: Argument to pass with the method invocation.
1004s # * @arg_an_y: Argument to pass with the method invocation.
1004s # * @arg_an_n: Argument to pass with the method invocation.
1004s # * @arg_an_q: Argument to pass with the method invocation.
1004s # * @arg_an_i: Argument to pass with the method invocation.
1004s # * @arg_an_u: Argument to pass with the method invocation.
1004s # * @arg_an_x: Argument to pass with the method invocation.
1004s # * @arg_an_t: Argument to pass with the method invocation.
1004s # * @arg_an_d: Argument to pass with the method invocation.
1004s # * @arg_an_s: Argument to pass with the method invocation.
1004s # * @arg_an_o: Argument to pass with the method invocation.
1004s # * @arg_an_g: Argument to pass with the method invocation.
1004s # * @arg_an_h: Argument to pass with the method invocation.
1004s # * @arg_an_ay: Argument to pass with the method invocation.
1004s # * @arg_an_as: Argument to pass with the method invocation.
1004s # * @arg_an_ao: Argument to pass with the method invocation.
1004s # * @arg_an_aay: Argument to pass with the method invocation.
1004s # * @arg_an_asv: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_callable_iface_call_method_with_many_args (
1004s # OrgProjectCallableIface *proxy,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "MethodWithManyArgs",
1004s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # arg_an_b,
1004s # arg_an_y,
1004s # arg_an_n,
1004s # arg_an_q,
1004s # arg_an_i,
1004s # arg_an_u,
1004s # arg_an_x,
1004s # arg_an_t,
1004s # arg_an_d,
1004s # arg_an_s,
1004s # arg_an_o,
1004s # arg_an_g,
1004s # arg_an_h,
1004s # arg_an_ay,
1004s # arg_an_as,
1004s # arg_an_ao,
1004s # arg_an_aay,
1004s # arg_an_asv),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_call_method_with_many_args_finish:
1004s # * @proxy: A #OrgProjectCallableIfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_callable_iface_call_method_with_many_args_finish (
1004s # OrgProjectCallableIface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_call_method_with_many_args_sync:
1004s # * @proxy: A #OrgProjectCallableIfaceProxy.
1004s # * @arg_an_b: Argument to pass with the method invocation.
1004s # * @arg_an_y: Argument to pass with the method invocation.
1004s # * @arg_an_n: Argument to pass with the method invocation.
1004s # * @arg_an_q: Argument to pass with the method invocation.
1004s # * @arg_an_i: Argument to pass with the method invocation.
1004s # * @arg_an_u: Argument to pass with the method invocation.
1004s # * @arg_an_x: Argument to pass with the method invocation.
1004s # * @arg_an_t: Argument to pass with the method invocation.
1004s # * @arg_an_d: Argument to pass with the method invocation.
1004s # * @arg_an_s: Argument to pass with the method invocation.
1004s # * @arg_an_o: Argument to pass with the method invocation.
1004s # * @arg_an_g: Argument to pass with the method invocation.
1004s # * @arg_an_h: Argument to pass with the method invocation.
1004s # * @arg_an_ay: Argument to pass with the method invocation.
1004s # * @arg_an_as: Argument to pass with the method invocation.
1004s # * @arg_an_ao: Argument to pass with the method invocation.
1004s # * @arg_an_aay: Argument to pass with the method invocation.
1004s # * @arg_an_asv: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_callable_iface_call_method_with_many_args_sync (
1004s # OrgProjectCallableIface *proxy,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "MethodWithManyArgs",
1004s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # arg_an_b,
1004s # arg_an_y,
1004s # arg_an_n,
1004s # arg_an_q,
1004s # arg_an_i,
1004s # arg_an_u,
1004s # arg_an_x,
1004s # arg_an_t,
1004s # arg_an_d,
1004s # arg_an_s,
1004s # arg_an_o,
1004s # arg_an_g,
1004s # arg_an_h,
1004s # arg_an_ay,
1004s # arg_an_as,
1004s # arg_an_ao,
1004s # arg_an_aay,
1004s # arg_an_asv),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_call_same_method_with_many_args:
1004s # * @proxy: A #OrgProjectCallableIfaceProxy.
1004s # * @arg_an_b: Argument to pass with the method invocation.
1004s # * @arg_an_y: Argument to pass with the method invocation.
1004s # * @arg_an_n: Argument to pass with the method invocation.
1004s # * @arg_an_q: Argument to pass with the method invocation.
1004s # * @arg_an_i: Argument to pass with the method invocation.
1004s # * @arg_an_u: Argument to pass with the method invocation.
1004s # * @arg_an_x: Argument to pass with the method invocation.
1004s # * @arg_an_t: Argument to pass with the method invocation.
1004s # * @arg_an_d: Argument to pass with the method invocation.
1004s # * @arg_an_s: Argument to pass with the method invocation.
1004s # * @arg_an_o: Argument to pass with the method invocation.
1004s # * @arg_an_g: Argument to pass with the method invocation.
1004s # * @arg_an_h: Argument to pass with the method invocation.
1004s # * @arg_an_ay: Argument to pass with the method invocation.
1004s # * @arg_an_as: Argument to pass with the method invocation.
1004s # * @arg_an_ao: Argument to pass with the method invocation.
1004s # * @arg_an_aay: Argument to pass with the method invocation.
1004s # * @arg_an_asv: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_callable_iface_call_same_method_with_many_args (
1004s # OrgProjectCallableIface *proxy,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "SameMethodWithManyArgs",
1004s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # arg_an_b,
1004s # arg_an_y,
1004s # arg_an_n,
1004s # arg_an_q,
1004s # arg_an_i,
1004s # arg_an_u,
1004s # arg_an_x,
1004s # arg_an_t,
1004s # arg_an_d,
1004s # arg_an_s,
1004s # arg_an_o,
1004s # arg_an_g,
1004s # arg_an_h,
1004s # arg_an_ay,
1004s # arg_an_as,
1004s # arg_an_ao,
1004s # arg_an_aay,
1004s # arg_an_asv),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_call_same_method_with_many_args_finish:
1004s # * @proxy: A #OrgProjectCallableIfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_callable_iface_call_same_method_with_many_args_finish (
1004s # OrgProjectCallableIface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_call_same_method_with_many_args_sync:
1004s # * @proxy: A #OrgProjectCallableIfaceProxy.
1004s # * @arg_an_b: Argument to pass with the method invocation.
1004s # * @arg_an_y: Argument to pass with the method invocation.
1004s # * @arg_an_n: Argument to pass with the method invocation.
1004s # * @arg_an_q: Argument to pass with the method invocation.
1004s # * @arg_an_i: Argument to pass with the method invocation.
1004s # * @arg_an_u: Argument to pass with the method invocation.
1004s # * @arg_an_x: Argument to pass with the method invocation.
1004s # * @arg_an_t: Argument to pass with the method invocation.
1004s # * @arg_an_d: Argument to pass with the method invocation.
1004s # * @arg_an_s: Argument to pass with the method invocation.
1004s # * @arg_an_o: Argument to pass with the method invocation.
1004s # * @arg_an_g: Argument to pass with the method invocation.
1004s # * @arg_an_h: Argument to pass with the method invocation.
1004s # * @arg_an_ay: Argument to pass with the method invocation.
1004s # * @arg_an_as: Argument to pass with the method invocation.
1004s # * @arg_an_ao: Argument to pass with the method invocation.
1004s # * @arg_an_aay: Argument to pass with the method invocation.
1004s # * @arg_an_asv: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_callable_iface_call_same_method_with_many_args_sync (
1004s # OrgProjectCallableIface *proxy,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "SameMethodWithManyArgs",
1004s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # arg_an_b,
1004s # arg_an_y,
1004s # arg_an_n,
1004s # arg_an_q,
1004s # arg_an_i,
1004s # arg_an_u,
1004s # arg_an_x,
1004s # arg_an_t,
1004s # arg_an_d,
1004s # arg_an_s,
1004s # arg_an_o,
1004s # arg_an_g,
1004s # arg_an_h,
1004s # arg_an_ay,
1004s # arg_an_as,
1004s # arg_an_ao,
1004s # arg_an_aay,
1004s # arg_an_asv),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_complete_method_with_many_args:
1004s # * @object: A #OrgProjectCallableIface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_callable_iface_complete_method_with_many_args (
1004s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_complete_same_method_with_many_args:
1004s # * @object: A #OrgProjectCallableIface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_callable_iface_complete_same_method_with_many_args (
1004s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceProxy:
1004s # *
1004s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectCallableIfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectCallableIfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_callable_iface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
1004s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
1004s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_callable_iface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_callable_iface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_callable_iface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceSkeleton:
1004s # *
1004s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectCallableIfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectCallableIfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_callable_iface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_callable_iface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_callable_iface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
1004s # {
1004s # _org_project_callable_iface_skeleton_handle_method_call,
1004s # _org_project_callable_iface_skeleton_handle_get_property,
1004s # _org_project_callable_iface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_callable_iface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_callable_iface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.OtherCallableIface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectOtherCallableIface
1004s # * @title: OrgProjectOtherCallableIface
1004s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_b",
1004s # (gchar *) "b",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_y",
1004s # (gchar *) "y",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_n",
1004s # (gchar *) "n",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_q",
1004s # (gchar *) "q",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_i",
1004s # (gchar *) "i",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_u",
1004s # (gchar *) "u",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_x",
1004s # (gchar *) "x",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_t",
1004s # (gchar *) "t",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_d",
1004s # (gchar *) "d",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_s",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_o",
1004s # (gchar *) "o",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_g",
1004s # (gchar *) "g",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_h",
1004s # (gchar *) "h",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ay",
1004s # (gchar *) "ay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_as",
1004s # (gchar *) "as",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ao",
1004s # (gchar *) "ao",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_aay",
1004s # (gchar *) "aay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_asv",
1004s # (gchar *) "a{sv}",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
1004s # {
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "MethodWithManyArgs",
1004s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "handle-method-with-many-args",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
1004s # {
1004s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.OtherCallableIface",
1004s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-other-callable-iface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_other_callable_iface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_other_callable_iface_method_marshal_method_with_many_args (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _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,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectOtherCallableIface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectOtherCallableIfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
1004s # */
1004s #
1004s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectOtherCallableIface::handle-method-with-many-args:
1004s # * @object: A #OrgProjectOtherCallableIface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @arg_an_b: Argument passed by remote caller.
1004s # * @arg_an_y: Argument passed by remote caller.
1004s # * @arg_an_n: Argument passed by remote caller.
1004s # * @arg_an_q: Argument passed by remote caller.
1004s # * @arg_an_i: Argument passed by remote caller.
1004s # * @arg_an_u: Argument passed by remote caller.
1004s # * @arg_an_x: Argument passed by remote caller.
1004s # * @arg_an_t: Argument passed by remote caller.
1004s # * @arg_an_d: Argument passed by remote caller.
1004s # * @arg_an_s: Argument passed by remote caller.
1004s # * @arg_an_o: Argument passed by remote caller.
1004s # * @arg_an_g: Argument passed by remote caller.
1004s # * @arg_an_h: Argument passed by remote caller.
1004s # * @arg_an_ay: Argument passed by remote caller.
1004s # * @arg_an_as: Argument passed by remote caller.
1004s # * @arg_an_ao: Argument passed by remote caller.
1004s # * @arg_an_aay: Argument passed by remote caller.
1004s # * @arg_an_asv: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-method-with-many-args",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_other_callable_iface_method_marshal_method_with_many_args,
1004s # G_TYPE_BOOLEAN,
1004s # 19,
1004s # 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);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_call_method_with_many_args:
1004s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1004s # * @arg_an_b: Argument to pass with the method invocation.
1004s # * @arg_an_y: Argument to pass with the method invocation.
1004s # * @arg_an_n: Argument to pass with the method invocation.
1004s # * @arg_an_q: Argument to pass with the method invocation.
1004s # * @arg_an_i: Argument to pass with the method invocation.
1004s # * @arg_an_u: Argument to pass with the method invocation.
1004s # * @arg_an_x: Argument to pass with the method invocation.
1004s # * @arg_an_t: Argument to pass with the method invocation.
1004s # * @arg_an_d: Argument to pass with the method invocation.
1004s # * @arg_an_s: Argument to pass with the method invocation.
1004s # * @arg_an_o: Argument to pass with the method invocation.
1004s # * @arg_an_g: Argument to pass with the method invocation.
1004s # * @arg_an_h: Argument to pass with the method invocation.
1004s # * @arg_an_ay: Argument to pass with the method invocation.
1004s # * @arg_an_as: Argument to pass with the method invocation.
1004s # * @arg_an_ao: Argument to pass with the method invocation.
1004s # * @arg_an_aay: Argument to pass with the method invocation.
1004s # * @arg_an_asv: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_other_callable_iface_call_method_with_many_args (
1004s # OrgProjectOtherCallableIface *proxy,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "MethodWithManyArgs",
1004s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # arg_an_b,
1004s # arg_an_y,
1004s # arg_an_n,
1004s # arg_an_q,
1004s # arg_an_i,
1004s # arg_an_u,
1004s # arg_an_x,
1004s # arg_an_t,
1004s # arg_an_d,
1004s # arg_an_s,
1004s # arg_an_o,
1004s # arg_an_g,
1004s # arg_an_h,
1004s # arg_an_ay,
1004s # arg_an_as,
1004s # arg_an_ao,
1004s # arg_an_aay,
1004s # arg_an_asv),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_call_method_with_many_args_finish:
1004s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_other_callable_iface_call_method_with_many_args_finish (
1004s # OrgProjectOtherCallableIface *proxy,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_call_method_with_many_args_sync:
1004s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
1004s # * @arg_an_b: Argument to pass with the method invocation.
1004s # * @arg_an_y: Argument to pass with the method invocation.
1004s # * @arg_an_n: Argument to pass with the method invocation.
1004s # * @arg_an_q: Argument to pass with the method invocation.
1004s # * @arg_an_i: Argument to pass with the method invocation.
1004s # * @arg_an_u: Argument to pass with the method invocation.
1004s # * @arg_an_x: Argument to pass with the method invocation.
1004s # * @arg_an_t: Argument to pass with the method invocation.
1004s # * @arg_an_d: Argument to pass with the method invocation.
1004s # * @arg_an_s: Argument to pass with the method invocation.
1004s # * @arg_an_o: Argument to pass with the method invocation.
1004s # * @arg_an_g: Argument to pass with the method invocation.
1004s # * @arg_an_h: Argument to pass with the method invocation.
1004s # * @arg_an_ay: Argument to pass with the method invocation.
1004s # * @arg_an_as: Argument to pass with the method invocation.
1004s # * @arg_an_ao: Argument to pass with the method invocation.
1004s # * @arg_an_aay: Argument to pass with the method invocation.
1004s # * @arg_an_asv: Argument to pass with the method invocation.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_other_callable_iface_call_method_with_many_args_sync (
1004s # OrgProjectOtherCallableIface *proxy,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "MethodWithManyArgs",
1004s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # arg_an_b,
1004s # arg_an_y,
1004s # arg_an_n,
1004s # arg_an_q,
1004s # arg_an_i,
1004s # arg_an_u,
1004s # arg_an_x,
1004s # arg_an_t,
1004s # arg_an_d,
1004s # arg_an_s,
1004s # arg_an_o,
1004s # arg_an_g,
1004s # arg_an_h,
1004s # arg_an_ay,
1004s # arg_an_as,
1004s # arg_an_ao,
1004s # arg_an_aay,
1004s # arg_an_asv),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "()");
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_complete_method_with_many_args:
1004s # * @object: A #OrgProjectOtherCallableIface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_other_callable_iface_complete_method_with_many_args (
1004s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("()"));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectOtherCallableIfaceProxy:
1004s # *
1004s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectOtherCallableIfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectOtherCallableIfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_other_callable_iface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
1004s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
1004s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_other_callable_iface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectOtherCallableIface *
1004s # org_project_other_callable_iface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectOtherCallableIface *
1004s # org_project_other_callable_iface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_other_callable_iface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectOtherCallableIface *
1004s # org_project_other_callable_iface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectOtherCallableIface *
1004s # org_project_other_callable_iface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectOtherCallableIfaceSkeleton:
1004s # *
1004s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectOtherCallableIfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_other_callable_iface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_other_callable_iface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_other_callable_iface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
1004s # {
1004s # _org_project_other_callable_iface_skeleton_handle_method_call,
1004s # _org_project_other_callable_iface_skeleton_handle_get_property,
1004s # _org_project_other_callable_iface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_other_callable_iface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_callable_iface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectOtherCallableIface *
1004s # org_project_other_callable_iface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmpzndxabmv
1004s # /tmp/tmpzndxabmv/tmpc60xknem.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzndxabmv/tmpc60xknem.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.CallableIface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectCallableIface
1004s # * @title: OrgProjectCallableIface
1004s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for org.project.CallableIface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_b",
1004s # (gchar *) "b",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_y",
1004s # (gchar *) "y",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_n",
1004s # (gchar *) "n",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_q",
1004s # (gchar *) "q",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_i",
1004s # (gchar *) "i",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_u",
1004s # (gchar *) "u",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_x",
1004s # (gchar *) "x",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_t",
1004s # (gchar *) "t",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_d",
1004s # (gchar *) "d",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_s",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_o",
1004s # (gchar *) "o",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_g",
1004s # (gchar *) "g",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_h",
1004s # (gchar *) "h",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ay",
1004s # (gchar *) "ay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_as",
1004s # (gchar *) "as",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ao",
1004s # (gchar *) "ao",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_aay",
1004s # (gchar *) "aay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_asv",
1004s # (gchar *) "a{sv}",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] =
1004s # {
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct,
1004s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "MethodWithManyArgs",
1004s # NULL,
1004s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-method-with-many-args",
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
1004s # {
1004s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.CallableIface",
1004s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-callable-iface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_callable_iface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_callable_iface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_callable_iface_method_marshal_method_with_many_args (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectCallableIface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.CallableIface.
1004s # */
1004s #
1004s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * OrgProjectCallableIface::handle-method-with-many-args:
1004s # * @object: A #OrgProjectCallableIface.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-method-with-many-args",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # org_project_callable_iface_method_marshal_method_with_many_args,
1004s # G_TYPE_BOOLEAN,
1004s # 1,
1004s # G_TYPE_DBUS_METHOD_INVOCATION);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_call_method_with_many_args:
1004s # * @proxy: A #OrgProjectCallableIfaceProxy.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # org_project_callable_iface_call_method_with_many_args (
1004s # OrgProjectCallableIface *proxy,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1004s # "MethodWithManyArgs",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_call_method_with_many_args_finish:
1004s # * @proxy: A #OrgProjectCallableIfaceProxy.
1004s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_callable_iface_call_method_with_many_args_finish (
1004s # OrgProjectCallableIface *proxy,
1004s # gboolean *out_an_b,
1004s # guchar *out_an_y,
1004s # gint16 *out_an_n,
1004s # guint16 *out_an_q,
1004s # gint *out_an_i,
1004s # guint *out_an_u,
1004s # gint64 *out_an_x,
1004s # guint64 *out_an_t,
1004s # gdouble *out_an_d,
1004s # gchar **out_an_s,
1004s # gchar **out_an_o,
1004s # gchar **out_an_g,
1004s # GVariant **out_an_h,
1004s # gchar **out_an_ay,
1004s # gchar ***out_an_as,
1004s # gchar ***out_an_ao,
1004s # gchar ***out_an_aay,
1004s # GVariant **out_an_asv,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # out_an_b,
1004s # out_an_y,
1004s # out_an_n,
1004s # out_an_q,
1004s # out_an_i,
1004s # out_an_u,
1004s # out_an_x,
1004s # out_an_t,
1004s # out_an_d,
1004s # out_an_s,
1004s # out_an_o,
1004s # out_an_g,
1004s # out_an_h,
1004s # out_an_ay,
1004s # out_an_as,
1004s # out_an_ao,
1004s # out_an_aay,
1004s # out_an_asv);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_call_method_with_many_args_sync:
1004s # * @proxy: A #OrgProjectCallableIfaceProxy.
1004s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
1004s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # org_project_callable_iface_call_method_with_many_args_sync (
1004s # OrgProjectCallableIface *proxy,
1004s # gboolean *out_an_b,
1004s # guchar *out_an_y,
1004s # gint16 *out_an_n,
1004s # guint16 *out_an_q,
1004s # gint *out_an_i,
1004s # guint *out_an_u,
1004s # gint64 *out_an_x,
1004s # guint64 *out_an_t,
1004s # gdouble *out_an_d,
1004s # gchar **out_an_s,
1004s # gchar **out_an_o,
1004s # gchar **out_an_g,
1004s # GVariant **out_an_h,
1004s # gchar **out_an_ay,
1004s # gchar ***out_an_as,
1004s # gchar ***out_an_ao,
1004s # gchar ***out_an_aay,
1004s # GVariant **out_an_asv,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1004s # "MethodWithManyArgs",
1004s # g_variant_new ("()"),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # out_an_b,
1004s # out_an_y,
1004s # out_an_n,
1004s # out_an_q,
1004s # out_an_i,
1004s # out_an_u,
1004s # out_an_x,
1004s # out_an_t,
1004s # out_an_d,
1004s # out_an_s,
1004s # out_an_o,
1004s # out_an_g,
1004s # out_an_h,
1004s # out_an_ay,
1004s # out_an_as,
1004s # out_an_ao,
1004s # out_an_aay,
1004s # out_an_asv);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_complete_method_with_many_args:
1004s # * @object: A #OrgProjectCallableIface.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @an_b: Parameter to return.
1004s # * @an_y: Parameter to return.
1004s # * @an_n: Parameter to return.
1004s # * @an_q: Parameter to return.
1004s # * @an_i: Parameter to return.
1004s # * @an_u: Parameter to return.
1004s # * @an_x: Parameter to return.
1004s # * @an_t: Parameter to return.
1004s # * @an_d: Parameter to return.
1004s # * @an_s: Parameter to return.
1004s # * @an_o: Parameter to return.
1004s # * @an_g: Parameter to return.
1004s # * @an_h: Parameter to return.
1004s # * @an_ay: Parameter to return.
1004s # * @an_as: Parameter to return.
1004s # * @an_ao: Parameter to return.
1004s # * @an_aay: Parameter to return.
1004s # * @an_asv: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # org_project_callable_iface_complete_method_with_many_args (
1004s # OrgProjectCallableIface *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # gboolean an_b,
1004s # guchar an_y,
1004s # gint16 an_n,
1004s # guint16 an_q,
1004s # gint an_i,
1004s # guint an_u,
1004s # gint64 an_x,
1004s # guint64 an_t,
1004s # gdouble an_d,
1004s # const gchar *an_s,
1004s # const gchar *an_o,
1004s # const gchar *an_g,
1004s # GVariant *an_h,
1004s # const gchar *an_ay,
1004s # const gchar *const *an_as,
1004s # const gchar *const *an_ao,
1004s # const gchar *const *an_aay,
1004s # GVariant *an_asv)
1004s # {
1004s # g_dbus_method_invocation_return_value (invocation,
1004s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # an_b,
1004s # an_y,
1004s # an_n,
1004s # an_q,
1004s # an_i,
1004s # an_u,
1004s # an_x,
1004s # an_t,
1004s # an_d,
1004s # an_s,
1004s # an_o,
1004s # an_g,
1004s # an_h,
1004s # an_ay,
1004s # an_as,
1004s # an_ao,
1004s # an_aay,
1004s # an_asv));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceProxy:
1004s # *
1004s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectCallableIfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectCallableIfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_callable_iface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
1004s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
1004s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_callable_iface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_callable_iface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_callable_iface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_CALLABLE_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceSkeleton:
1004s # *
1004s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectCallableIfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectCallableIfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectCallableIfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_callable_iface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_callable_iface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_callable_iface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
1004s # {
1004s # _org_project_callable_iface_skeleton_handle_method_call,
1004s # _org_project_callable_iface_skeleton_handle_get_property,
1004s # _org_project_callable_iface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_callable_iface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_callable_iface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_callable_iface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectCallableIface *
1004s # org_project_callable_iface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmpvqocr474
1004s # /tmp/tmpvqocr474/tmp6jgcblt0.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvqocr474/tmp6jgcblt0.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
1004s # (void *data1,
1004s # GDBusMethodInvocation *arg_method_invocation,
1004s # GUnixFDList *arg_fd_list,
1004s # const gchar *arg_greeting,
1004s # void *data2);
1004s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s # gboolean v_return;
1004s #
1004s # g_return_if_fail (return_value != NULL);
1004s # g_return_if_fail (n_param_values == 4);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # v_return =
1004s # callback (data1,
1004s # g_marshal_value_peek_object (param_values + 1),
1004s # g_marshal_value_peek_object (param_values + 2),
1004s # g_marshal_value_peek_string (param_values + 3),
1004s # data2);
1004s #
1004s # g_value_set_boolean (return_value, v_return);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface test.FDPassing
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:TestFDPassing
1004s # * @title: TestFDPassing
1004s # * @short_description: Generated C code for the test.FDPassing D-Bus interface
1004s # *
1004s # * This section contains code for working with the test.FDPassing D-Bus interface in C.
1004s # */
1004s #
1004s # /* ---- Introspection data for test.FDPassing ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "greeting",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] =
1004s # {
1004s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "response",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] =
1004s # {
1004s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "HelloFD",
1004s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers,
1004s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers,
1004s # NULL
1004s # },
1004s # "handle-hello-fd",
1004s # TRUE
1004s # };
1004s #
1004s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] =
1004s # {
1004s # &_test_fdpassing_method_info_hello_fd.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "test.FDPassing",
1004s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers,
1004s # NULL,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "test-fdpassing",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * test_fdpassing_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the test.FDPassing D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # test_fdpassing_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # test_fdpassing_method_marshal_hello_fd (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * TestFDPassing:
1004s # *
1004s # * Abstract interface type for the D-Bus interface test.FDPassing.
1004s # */
1004s #
1004s # /**
1004s # * TestFDPassingIface:
1004s # * @parent_iface: The parent interface.
1004s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal.
1004s # *
1004s # * Virtual table for the D-Bus interface test.FDPassing.
1004s # */
1004s #
1004s # typedef TestFDPassingIface TestFDPassingInterface;
1004s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # test_fdpassing_default_init (TestFDPassingIface *iface)
1004s # {
1004s # /* GObject signals for incoming D-Bus method calls: */
1004s # /**
1004s # * TestFDPassing::handle-hello-fd:
1004s # * @object: A #TestFDPassing.
1004s # * @invocation: A #GDBusMethodInvocation.
1004s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1004s # * @arg_greeting: Argument passed by remote caller.
1004s # *
1004s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method.
1004s # *
1004s # * 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.
1004s # *
1004s # * 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.
1004s # */
1004s # g_signal_new ("handle-hello-fd",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd),
1004s # g_signal_accumulator_true_handled,
1004s # NULL,
1004s # test_fdpassing_method_marshal_hello_fd,
1004s # G_TYPE_BOOLEAN,
1004s # 3,
1004s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_call_hello_fd:
1004s # * @proxy: A #TestFDPassingProxy.
1004s # * @arg_greeting: Argument to pass with the method invocation.
1004s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy.
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation.
1004s # *
1004s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method.
1004s # */
1004s # void
1004s # test_fdpassing_call_hello_fd (
1004s # TestFDPassing *proxy,
1004s # const gchar *arg_greeting,
1004s # GUnixFDList *fd_list,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy),
1004s # "HelloFD",
1004s # g_variant_new ("(s)",
1004s # arg_greeting),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # fd_list,
1004s # cancellable,
1004s # callback,
1004s # user_data);
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_call_hello_fd_finish:
1004s # * @proxy: A #TestFDPassingProxy.
1004s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore.
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd().
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Finishes an operation started with test_fdpassing_call_hello_fd().
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # test_fdpassing_call_hello_fd_finish (
1004s # TestFDPassing *proxy,
1004s # gchar **out_response,
1004s # GUnixFDList **out_fd_list,
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(s)",
1004s # out_response);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_call_hello_fd_sync:
1004s # * @proxy: A #TestFDPassingProxy.
1004s # * @arg_greeting: Argument to pass with the method invocation.
1004s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1004s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
1004s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL.
1004s # *
1004s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1004s # *
1004s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method.
1004s # *
1004s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1004s # */
1004s # gboolean
1004s # test_fdpassing_call_hello_fd_sync (
1004s # TestFDPassing *proxy,
1004s # const gchar *arg_greeting,
1004s # GUnixFDList *fd_list,
1004s # gchar **out_response,
1004s # GUnixFDList **out_fd_list,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GVariant *_ret;
1004s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy),
1004s # "HelloFD",
1004s # g_variant_new ("(s)",
1004s # arg_greeting),
1004s # G_DBUS_CALL_FLAGS_NONE,
1004s # -1,
1004s # fd_list,
1004s # out_fd_list,
1004s # cancellable,
1004s # error);
1004s # if (_ret == NULL)
1004s # goto _out;
1004s # g_variant_get (_ret,
1004s # "(s)",
1004s # out_response);
1004s # g_variant_unref (_ret);
1004s # _out:
1004s # return _ret != NULL;
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_complete_hello_fd:
1004s # * @object: A #TestFDPassing.
1004s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1004s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
1004s # * @response: Parameter to return.
1004s # *
1004s # * 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.
1004s # *
1004s # * This method will free @invocation, you cannot use it afterwards.
1004s # */
1004s # void
1004s # test_fdpassing_complete_hello_fd (
1004s # TestFDPassing *object G_GNUC_UNUSED,
1004s # GDBusMethodInvocation *invocation,
1004s # GUnixFDList *fd_list,
1004s # const gchar *response)
1004s # {
1004s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation,
1004s # g_variant_new ("(s)",
1004s # response),
1004s # fd_list);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * TestFDPassingProxy:
1004s # *
1004s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * TestFDPassingProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #TestFDPassingProxy.
1004s # */
1004s #
1004s # struct _TestFDPassingProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (TestFDPassingProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # test_fdpassing_proxy_finalize (GObject *object)
1004s # {
1004s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = test_fdpassing_proxy_finalize;
1004s # gobject_class->get_property = test_fdpassing_proxy_get_property;
1004s # gobject_class->set_property = test_fdpassing_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = test_fdpassing_proxy_g_signal;
1004s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # test_fdpassing_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with test_fdpassing_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # TestFDPassing *
1004s # test_fdpassing_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return TEST_FDPASSING (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # TestFDPassing *
1004s # test_fdpassing_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return TEST_FDPASSING (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * test_fdpassing_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # test_fdpassing_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # TestFDPassing *
1004s # test_fdpassing_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return TEST_FDPASSING (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # TestFDPassing *
1004s # test_fdpassing_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return TEST_FDPASSING (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * TestFDPassingSkeleton:
1004s # *
1004s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * TestFDPassingSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #TestFDPassingSkeleton.
1004s # */
1004s #
1004s # struct _TestFDPassingSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _test_fdpassing_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _test_fdpassing_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _test_fdpassing_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable =
1004s # {
1004s # _test_fdpassing_skeleton_handle_method_call,
1004s # _test_fdpassing_skeleton_handle_get_property,
1004s # _test_fdpassing_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return test_fdpassing_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (TestFDPassingSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # test_fdpassing_skeleton_finalize (GObject *object)
1004s # {
1004s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = test_fdpassing_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * test_fdpassing_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface test.FDPassing.
1004s # *
1004s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object.
1004s # */
1004s # TestFDPassing *
1004s # test_fdpassing_skeleton_new (void)
1004s # {
1004s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL));
1004s # }
1004s # Error:
1004s ok 15 __main__.TestCodegen.test_generate_rst
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmp0njiycan
1004s # /tmp/tmp0njiycan/tmp_29ot_yt.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0njiycan/tmp_29ot_yt.xml', '--generate-rst', 'test']
1004s # Return code: 0
1004s # Output:
1004s #
1004s # Error:
1004s ok 16 __main__.TestCodegen.test_generate_rst_method
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmp7__r8w90
1004s # /tmp/tmp7__r8w90/tmpz1l42yl6.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7__r8w90/tmpz1l42yl6.xml', '--generate-rst', 'test']
1004s # Return code: 0
1004s # Output:
1004s #
1004s # Error:
1004s ok 17 __main__.TestCodegen.test_generate_rst_property
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmpsb146aqt
1004s # /tmp/tmpsb146aqt/tmpnrh5fsme.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsb146aqt/tmpnrh5fsme.xml', '--generate-rst', 'test']
1004s # Return code: 0
1004s # Output:
1004s #
1004s # Error:
1004s ok 18 __main__.TestCodegen.test_generate_rst_signal
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmpbfk5jr2m
1004s # /tmp/tmpbfk5jr2m/tmp0lowyc3l.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbfk5jr2m/tmp0lowyc3l.xml', '--generate-rst', 'test']
1004s # Return code: 0
1004s # Output:
1004s #
1004s # Error:
1004s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmp4czsje95
1004s # /tmp/tmp4czsje95/tmpvm5h6ra3.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4czsje95/tmpvm5h6ra3.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
1004s # GClosure *closure,
1004s # GValue *return_value G_GNUC_UNUSED,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1004s # (void *data1,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv,
1004s # void *data2);
1004s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s #
1004s # g_return_if_fail (n_param_values == 19);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # callback (data1,
1004s # g_marshal_value_peek_boolean (param_values + 1),
1004s # g_marshal_value_peek_uchar (param_values + 2),
1004s # g_marshal_value_peek_int (param_values + 3),
1004s # g_marshal_value_peek_uint (param_values + 4),
1004s # g_marshal_value_peek_int (param_values + 5),
1004s # g_marshal_value_peek_uint (param_values + 6),
1004s # g_marshal_value_peek_int64 (param_values + 7),
1004s # g_marshal_value_peek_uint64 (param_values + 8),
1004s # g_marshal_value_peek_double (param_values + 9),
1004s # g_marshal_value_peek_string (param_values + 10),
1004s # g_marshal_value_peek_string (param_values + 11),
1004s # g_marshal_value_peek_string (param_values + 12),
1004s # g_marshal_value_peek_variant (param_values + 13),
1004s # g_marshal_value_peek_string (param_values + 14),
1004s # g_marshal_value_peek_boxed (param_values + 15),
1004s # g_marshal_value_peek_boxed (param_values + 16),
1004s # g_marshal_value_peek_boxed (param_values + 17),
1004s # g_marshal_value_peek_variant (param_values + 18),
1004s # data2);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.SignalingIface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectSignalingIface
1004s # * @title: OrgProjectSignalingIface
1004s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1004s # */
1004s #
1004s # enum
1004s # {
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
1004s # };
1004s #
1004s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
1004s #
1004s # /* ---- Introspection data for org.project.SignalingIface ---- */
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_b",
1004s # (gchar *) "b",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_y",
1004s # (gchar *) "y",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_n",
1004s # (gchar *) "n",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_q",
1004s # (gchar *) "q",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_i",
1004s # (gchar *) "i",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_u",
1004s # (gchar *) "u",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_x",
1004s # (gchar *) "x",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_t",
1004s # (gchar *) "t",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_d",
1004s # (gchar *) "d",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_s",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_o",
1004s # (gchar *) "o",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_g",
1004s # (gchar *) "g",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_h",
1004s # (gchar *) "h",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ay",
1004s # (gchar *) "ay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_as",
1004s # (gchar *) "as",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ao",
1004s # (gchar *) "ao",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_aay",
1004s # (gchar *) "aay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_asv",
1004s # (gchar *) "a{sv}",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SignalWithManyArgs",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
1004s # NULL
1004s # },
1004s # "signal-with-many-args"
1004s # };
1004s #
1004s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.SignalingIface",
1004s # NULL,
1004s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-signaling-iface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_signaling_iface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_signaling_iface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1004s # */
1004s #
1004s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1004s # {
1004s # /* GObject signals for received D-Bus signals: */
1004s # /**
1004s # * OrgProjectSignalingIface::signal-with-many-args:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_b: Argument.
1004s # * @arg_an_y: Argument.
1004s # * @arg_an_n: Argument.
1004s # * @arg_an_q: Argument.
1004s # * @arg_an_i: Argument.
1004s # * @arg_an_u: Argument.
1004s # * @arg_an_x: Argument.
1004s # * @arg_an_t: Argument.
1004s # * @arg_an_d: Argument.
1004s # * @arg_an_s: Argument.
1004s # * @arg_an_o: Argument.
1004s # * @arg_an_g: Argument.
1004s # * @arg_an_h: Argument.
1004s # * @arg_an_ay: Argument.
1004s # * @arg_an_as: Argument.
1004s # * @arg_an_ao: Argument.
1004s # * @arg_an_aay: Argument.
1004s # * @arg_an_asv: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
1004s # g_signal_new ("signal-with-many-args",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
1004s # G_TYPE_NONE,
1004s # 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);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_signal_with_many_args:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_b: Argument to pass with the signal.
1004s # * @arg_an_y: Argument to pass with the signal.
1004s # * @arg_an_n: Argument to pass with the signal.
1004s # * @arg_an_q: Argument to pass with the signal.
1004s # * @arg_an_i: Argument to pass with the signal.
1004s # * @arg_an_u: Argument to pass with the signal.
1004s # * @arg_an_x: Argument to pass with the signal.
1004s # * @arg_an_t: Argument to pass with the signal.
1004s # * @arg_an_d: Argument to pass with the signal.
1004s # * @arg_an_s: Argument to pass with the signal.
1004s # * @arg_an_o: Argument to pass with the signal.
1004s # * @arg_an_g: Argument to pass with the signal.
1004s # * @arg_an_h: Argument to pass with the signal.
1004s # * @arg_an_ay: Argument to pass with the signal.
1004s # * @arg_an_as: Argument to pass with the signal.
1004s # * @arg_an_ao: Argument to pass with the signal.
1004s # * @arg_an_aay: Argument to pass with the signal.
1004s # * @arg_an_asv: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SignalWithManyArgs" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_signal_with_many_args (
1004s # OrgProjectSignalingIface *object,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceProxy:
1004s # *
1004s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectSignalingIfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectSignalingIfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_signaling_iface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1004s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1004s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_signaling_iface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_signaling_iface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceSkeleton:
1004s # *
1004s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_signaling_iface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_signaling_iface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_signaling_iface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1004s # {
1004s # _org_project_signaling_iface_skeleton_handle_method_call,
1004s # _org_project_signaling_iface_skeleton_handle_get_property,
1004s # _org_project_signaling_iface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_signaling_iface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_signal_with_many_args (
1004s # OrgProjectSignalingIface *object,
1004s # gboolean arg_an_b,
1004s # guchar arg_an_y,
1004s # gint16 arg_an_n,
1004s # guint16 arg_an_q,
1004s # gint arg_an_i,
1004s # guint arg_an_u,
1004s # gint64 arg_an_x,
1004s # guint64 arg_an_t,
1004s # gdouble arg_an_d,
1004s # const gchar *arg_an_s,
1004s # const gchar *arg_an_o,
1004s # const gchar *arg_an_g,
1004s # GVariant *arg_an_h,
1004s # const gchar *arg_an_ay,
1004s # const gchar *const *arg_an_as,
1004s # const gchar *const *arg_an_ao,
1004s # const gchar *const *arg_an_aay,
1004s # GVariant *arg_an_asv)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1004s # arg_an_b,
1004s # arg_an_y,
1004s # arg_an_n,
1004s # arg_an_q,
1004s # arg_an_i,
1004s # arg_an_u,
1004s # arg_an_x,
1004s # arg_an_t,
1004s # arg_an_d,
1004s # arg_an_s,
1004s # arg_an_o,
1004s # arg_an_g,
1004s # arg_an_h,
1004s # arg_an_ay,
1004s # arg_an_as,
1004s # arg_an_ao,
1004s # arg_an_aay,
1004s # arg_an_asv));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1004s # {
1004s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmpohaxa_cl
1004s # /tmp/tmpohaxa_cl/tmpem392g14.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpohaxa_cl/tmpem392g14.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_VOID__INT64 (
1004s # GClosure *closure,
1004s # GValue *return_value G_GNUC_UNUSED,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
1004s # (void *data1,
1004s # gint64 arg_an_x,
1004s # void *data2);
1004s # _GDbusCodegenMarshalVoid_Int64Func callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s #
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # callback (data1,
1004s # g_marshal_value_peek_int64 (param_values + 1),
1004s # data2);
1004s # }
1004s #
1004s # static void
1004s # _g_dbus_codegen_marshal_VOID__UINT64 (
1004s # GClosure *closure,
1004s # GValue *return_value G_GNUC_UNUSED,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint G_GNUC_UNUSED,
1004s # void *marshal_data)
1004s # {
1004s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
1004s # (void *data1,
1004s # guint64 arg_an_t,
1004s # void *data2);
1004s # _GDbusCodegenMarshalVoid_Uint64Func callback;
1004s # GCClosure *cc = (GCClosure*) closure;
1004s # void *data1, *data2;
1004s #
1004s # g_return_if_fail (n_param_values == 2);
1004s #
1004s # if (G_CCLOSURE_SWAP_DATA (closure))
1004s # {
1004s # data1 = closure->data;
1004s # data2 = g_value_peek_pointer (param_values + 0);
1004s # }
1004s # else
1004s # {
1004s # data1 = g_value_peek_pointer (param_values + 0);
1004s # data2 = closure->data;
1004s # }
1004s #
1004s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
1004s # (marshal_data ? marshal_data : cc->callback);
1004s #
1004s # callback (data1,
1004s # g_marshal_value_peek_uint64 (param_values + 1),
1004s # data2);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.SignalingIface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectSignalingIface
1004s # * @title: OrgProjectSignalingIface
1004s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1004s # */
1004s #
1004s # enum
1004s # {
1004s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
1004s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
1004s # };
1004s #
1004s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 };
1004s #
1004s # /* ---- Introspection data for org.project.SignalingIface ---- */
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "NoArgSignal",
1004s # NULL,
1004s # NULL
1004s # },
1004s # "no-arg-signal"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_b",
1004s # (gchar *) "b",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalB",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-b"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_y",
1004s # (gchar *) "y",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalY",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-y"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_n",
1004s # (gchar *) "n",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalN",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-n"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_q",
1004s # (gchar *) "q",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalQ",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-q"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_i",
1004s # (gchar *) "i",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalI",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-i"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_u",
1004s # (gchar *) "u",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalU",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-u"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_x",
1004s # (gchar *) "x",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalX",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-x"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_t",
1004s # (gchar *) "t",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalT",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-t"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_d",
1004s # (gchar *) "d",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalD",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-d"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_s",
1004s # (gchar *) "s",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalS",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-s"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_o",
1004s # (gchar *) "o",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalO",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-o"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_g",
1004s # (gchar *) "g",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalG",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-g"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_h",
1004s # (gchar *) "h",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalH",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-h"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ay",
1004s # (gchar *) "ay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalAY",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-ay"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_as",
1004s # (gchar *) "as",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalAS",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-as"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_ao",
1004s # (gchar *) "ao",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalAO",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-ao"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_aay",
1004s # (gchar *) "aay",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalAAY",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-aay"
1004s # };
1004s #
1004s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "an_asv",
1004s # (gchar *) "a{sv}",
1004s # NULL
1004s # },
1004s # FALSE
1004s # };
1004s #
1004s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SingleArgSignalASV",
1004s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
1004s # NULL
1004s # },
1004s # "single-arg-signal-asv"
1004s # };
1004s #
1004s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
1004s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.SignalingIface",
1004s # NULL,
1004s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-signaling-iface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_signaling_iface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_signaling_iface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_no_arg_signal (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__VOID (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__BOOLEAN (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__UCHAR (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__INT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__UINT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__INT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__UINT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__DOUBLE (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__STRING (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__STRING (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__STRING (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__VARIANT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__STRING (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__BOXED (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__BOXED (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__BOXED (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__VARIANT (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal.
1004s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
1004s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
1004s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
1004s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
1004s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
1004s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
1004s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
1004s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
1004s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
1004s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
1004s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
1004s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
1004s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
1004s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
1004s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
1004s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
1004s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
1004s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1004s # */
1004s #
1004s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1004s # {
1004s # /* GObject signals for received D-Bus signals: */
1004s # /**
1004s # * OrgProjectSignalingIface::no-arg-signal:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] =
1004s # g_signal_new ("no-arg-signal",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_no_arg_signal,
1004s # G_TYPE_NONE,
1004s # 0);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-b:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_b: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
1004s # g_signal_new ("single-arg-signal-b",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_BOOLEAN);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-y:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_y: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
1004s # g_signal_new ("single-arg-signal-y",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_UCHAR);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-n:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_n: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
1004s # g_signal_new ("single-arg-signal-n",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_INT);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-q:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_q: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
1004s # g_signal_new ("single-arg-signal-q",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_UINT);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-i:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_i: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
1004s # g_signal_new ("single-arg-signal-i",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_INT);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-u:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_u: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
1004s # g_signal_new ("single-arg-signal-u",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_UINT);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-x:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_x: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
1004s # g_signal_new ("single-arg-signal-x",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_INT64);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-t:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_t: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
1004s # g_signal_new ("single-arg-signal-t",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_UINT64);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-d:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_d: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
1004s # g_signal_new ("single-arg-signal-d",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_DOUBLE);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-s:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_s: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
1004s # g_signal_new ("single-arg-signal-s",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_STRING);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-o:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_o: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
1004s # g_signal_new ("single-arg-signal-o",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_STRING);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-g:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_g: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
1004s # g_signal_new ("single-arg-signal-g",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_STRING);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-h:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_h: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
1004s # g_signal_new ("single-arg-signal-h",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_VARIANT);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-ay:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_ay: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
1004s # g_signal_new ("single-arg-signal-ay",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_STRING);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-as:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_as: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
1004s # g_signal_new ("single-arg-signal-as",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_STRV);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-ao:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_ao: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
1004s # g_signal_new ("single-arg-signal-ao",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_STRV);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-aay:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_aay: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
1004s # g_signal_new ("single-arg-signal-aay",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_STRV);
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface::single-arg-signal-asv:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_asv: Argument.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
1004s # g_signal_new ("single-arg-signal-asv",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
1004s # G_TYPE_NONE,
1004s # 1, G_TYPE_VARIANT);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_no_arg_signal:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # *
1004s # * Emits the "NoArgSignal" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_no_arg_signal (
1004s # OrgProjectSignalingIface *object)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_b:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_b: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalB" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_b (
1004s # OrgProjectSignalingIface *object,
1004s # gboolean arg_an_b)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_y:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_y: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalY" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_y (
1004s # OrgProjectSignalingIface *object,
1004s # guchar arg_an_y)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_n:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_n: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalN" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_n (
1004s # OrgProjectSignalingIface *object,
1004s # gint16 arg_an_n)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_q:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_q: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalQ" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_q (
1004s # OrgProjectSignalingIface *object,
1004s # guint16 arg_an_q)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_i:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_i: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalI" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_i (
1004s # OrgProjectSignalingIface *object,
1004s # gint arg_an_i)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_u:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_u: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalU" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_u (
1004s # OrgProjectSignalingIface *object,
1004s # guint arg_an_u)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_x:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_x: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalX" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_x (
1004s # OrgProjectSignalingIface *object,
1004s # gint64 arg_an_x)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_t:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_t: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalT" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_t (
1004s # OrgProjectSignalingIface *object,
1004s # guint64 arg_an_t)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_d:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_d: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalD" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_d (
1004s # OrgProjectSignalingIface *object,
1004s # gdouble arg_an_d)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_s:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_s: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalS" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_s (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *arg_an_s)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_o:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_o: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalO" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_o (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *arg_an_o)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_g:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_g: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalG" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_g (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *arg_an_g)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_h:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_h: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalH" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_h (
1004s # OrgProjectSignalingIface *object,
1004s # GVariant *arg_an_h)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_ay:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_ay: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalAY" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_ay (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *arg_an_ay)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_as:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_as: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalAS" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_as (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *const *arg_an_as)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_ao:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_ao: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalAO" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_ao (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *const *arg_an_ao)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_aay:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_aay: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalAAY" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_aay (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *const *arg_an_aay)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_single_arg_signal_asv:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # * @arg_an_asv: Argument to pass with the signal.
1004s # *
1004s # * Emits the "SingleArgSignalASV" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_single_arg_signal_asv (
1004s # OrgProjectSignalingIface *object,
1004s # GVariant *arg_an_asv)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceProxy:
1004s # *
1004s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectSignalingIfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectSignalingIfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_signaling_iface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1004s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1004s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_signaling_iface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_signaling_iface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceSkeleton:
1004s # *
1004s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_signaling_iface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_signaling_iface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_signaling_iface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1004s # {
1004s # _org_project_signaling_iface_skeleton_handle_method_call,
1004s # _org_project_signaling_iface_skeleton_handle_get_property,
1004s # _org_project_signaling_iface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_signaling_iface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_no_arg_signal (
1004s # OrgProjectSignalingIface *object)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
1004s # OrgProjectSignalingIface *object,
1004s # gboolean arg_an_b)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
1004s # arg_an_b));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
1004s # OrgProjectSignalingIface *object,
1004s # guchar arg_an_y)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
1004s # arg_an_y));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
1004s # OrgProjectSignalingIface *object,
1004s # gint16 arg_an_n)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
1004s # arg_an_n));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
1004s # OrgProjectSignalingIface *object,
1004s # guint16 arg_an_q)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
1004s # arg_an_q));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
1004s # OrgProjectSignalingIface *object,
1004s # gint arg_an_i)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
1004s # arg_an_i));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
1004s # OrgProjectSignalingIface *object,
1004s # guint arg_an_u)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
1004s # arg_an_u));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
1004s # OrgProjectSignalingIface *object,
1004s # gint64 arg_an_x)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
1004s # arg_an_x));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
1004s # OrgProjectSignalingIface *object,
1004s # guint64 arg_an_t)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
1004s # arg_an_t));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
1004s # OrgProjectSignalingIface *object,
1004s # gdouble arg_an_d)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
1004s # arg_an_d));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *arg_an_s)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
1004s # arg_an_s));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *arg_an_o)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
1004s # arg_an_o));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *arg_an_g)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
1004s # arg_an_g));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
1004s # OrgProjectSignalingIface *object,
1004s # GVariant *arg_an_h)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
1004s # arg_an_h));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *arg_an_ay)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
1004s # arg_an_ay));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *const *arg_an_as)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
1004s # arg_an_as));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *const *arg_an_ao)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
1004s # arg_an_ao));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
1004s # OrgProjectSignalingIface *object,
1004s # const gchar *const *arg_an_aay)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
1004s # arg_an_aay));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
1004s # OrgProjectSignalingIface *object,
1004s # GVariant *arg_an_asv)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
1004s # arg_an_asv));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1004s # {
1004s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal;
1004s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
1004s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
1004s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
1004s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
1004s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
1004s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
1004s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
1004s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
1004s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
1004s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
1004s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
1004s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
1004s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
1004s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
1004s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
1004s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
1004s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
1004s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmpu3s570oz
1004s # /tmp/tmpu3s570oz/tmp1xjetf33.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu3s570oz/tmp1xjetf33.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.UsefulInterface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectUsefulInterface
1004s # * @title: OrgProjectUsefulInterface
1004s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
1004s # */
1004s #
1004s # enum
1004s # {
1004s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL,
1004s # };
1004s #
1004s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 };
1004s #
1004s # /* ---- Introspection data for org.project.UsefulInterface ---- */
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SimpleSignal",
1004s # NULL,
1004s # NULL
1004s # },
1004s # "simple-signal"
1004s # };
1004s #
1004s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] =
1004s # {
1004s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.UsefulInterface",
1004s # NULL,
1004s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-useful-interface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_useful_interface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_useful_interface_signal_marshal_simple_signal (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__VOID (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
1004s # */
1004s #
1004s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # /* GObject signals for received D-Bus signals: */
1004s # /**
1004s # * OrgProjectUsefulInterface::simple-signal:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] =
1004s # g_signal_new ("simple-signal",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal),
1004s # NULL,
1004s # NULL,
1004s # org_project_useful_interface_signal_marshal_simple_signal,
1004s # G_TYPE_NONE,
1004s # 0);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_emit_simple_signal:
1004s # * @object: A #OrgProjectUsefulInterface.
1004s # *
1004s # * Emits the "SimpleSignal" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_useful_interface_emit_simple_signal (
1004s # OrgProjectUsefulInterface *object)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxy:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
1004s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
1004s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_useful_interface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # g_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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeleton:
1004s # *
1004s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectUsefulInterfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_useful_interface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_useful_interface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_useful_interface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
1004s # {
1004s # _org_project_useful_interface_skeleton_handle_method_call,
1004s # _org_project_useful_interface_skeleton_handle_get_property,
1004s # _org_project_useful_interface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_useful_interface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # _org_project_useful_interface_on_signal_simple_signal (
1004s # OrgProjectUsefulInterface *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_useful_interface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface)
1004s # {
1004s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal;
1004s # }
1004s #
1004s # /**
1004s # * org_project_useful_interface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectUsefulInterface *
1004s # org_project_useful_interface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.OtherIface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectOtherIface
1004s # * @title: OrgProjectOtherIface
1004s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C.
1004s # */
1004s #
1004s # enum
1004s # {
1004s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL,
1004s # };
1004s #
1004s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 };
1004s #
1004s # /* ---- Introspection data for org.project.OtherIface ---- */
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SimpleSignal",
1004s # NULL,
1004s # NULL
1004s # },
1004s # "simple-signal"
1004s # };
1004s #
1004s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] =
1004s # {
1004s # &_org_project_other_iface_signal_info_simple_signal.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.OtherIface",
1004s # NULL,
1004s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-other-iface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_other_iface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_other_iface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_iface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_other_iface_signal_marshal_simple_signal (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__VOID (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectOtherIface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.OtherIface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectOtherIfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.OtherIface.
1004s # */
1004s #
1004s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface)
1004s # {
1004s # /* GObject signals for received D-Bus signals: */
1004s # /**
1004s # * OrgProjectOtherIface::simple-signal:
1004s # * @object: A #OrgProjectOtherIface.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] =
1004s # g_signal_new ("simple-signal",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal),
1004s # NULL,
1004s # NULL,
1004s # org_project_other_iface_signal_marshal_simple_signal,
1004s # G_TYPE_NONE,
1004s # 0);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_iface_emit_simple_signal:
1004s # * @object: A #OrgProjectOtherIface.
1004s # *
1004s # * Emits the "SimpleSignal" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_other_iface_emit_simple_signal (
1004s # OrgProjectOtherIface *object)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectOtherIfaceProxy:
1004s # *
1004s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectOtherIfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectOtherIfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectOtherIfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_other_iface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_other_iface_proxy_finalize;
1004s # gobject_class->get_property = org_project_other_iface_proxy_get_property;
1004s # gobject_class->set_property = org_project_other_iface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_iface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_other_iface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_iface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_other_iface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectOtherIface *
1004s # org_project_other_iface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_OTHER_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_iface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectOtherIface *
1004s # org_project_other_iface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_OTHER_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_other_iface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_other_iface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_iface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectOtherIface *
1004s # org_project_other_iface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_OTHER_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_iface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectOtherIface *
1004s # org_project_other_iface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_OTHER_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectOtherIfaceSkeleton:
1004s # *
1004s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectOtherIfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectOtherIfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectOtherIfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_other_iface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_other_iface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_other_iface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable =
1004s # {
1004s # _org_project_other_iface_skeleton_handle_method_call,
1004s # _org_project_other_iface_skeleton_handle_get_property,
1004s # _org_project_other_iface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_other_iface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # _org_project_other_iface_on_signal_simple_signal (
1004s # OrgProjectOtherIface *object)
1004s # {
1004s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_other_iface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_other_iface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface)
1004s # {
1004s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_iface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectOtherIface *
1004s # org_project_other_iface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL));
1004s # }
1004s # Error:
1004s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal
1004s # gdbus-codegen: /usr/bin/gdbus-codegen
1004s # tmpdir: /tmp/tmpkhy6ymy2
1004s # /tmp/tmpkhy6ymy2/tmpedeyvkew.xml:
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s #
1004s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkhy6ymy2/tmpedeyvkew.xml', '--output', '-', '--body']
1004s # Return code: 0
1004s # Output:
1004s # /*
1004s # * This file is generated by gdbus-codegen, do not modify it.
1004s # *
1004s # * The license of this code is the same as for the D-Bus interface description
1004s # * it was derived from. Note that it links to GLib, so must comply with the
1004s # * LGPL linking clauses.
1004s # */
1004s #
1004s # #ifdef HAVE_CONFIG_H
1004s # # include "config.h"
1004s # #endif
1004s #
1004s # #include
1004s # #ifdef G_OS_UNIX
1004s # # include
1004s # #endif
1004s #
1004s # #ifdef G_ENABLE_DEBUG
1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1004s # #else /* !G_ENABLE_DEBUG */
1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1004s # * Do not access GValues directly in your code. Instead, use the
1004s # * g_value_get_*() functions
1004s # */
1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1004s # #endif /* !G_ENABLE_DEBUG */
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusArgInfo parent_struct;
1004s # gboolean use_gvariant;
1004s # } _ExtendedGDBusArgInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusMethodInfo parent_struct;
1004s # const gchar *signal_name;
1004s # gboolean pass_fdlist;
1004s # } _ExtendedGDBusMethodInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusSignalInfo parent_struct;
1004s # const gchar *signal_name;
1004s # } _ExtendedGDBusSignalInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusPropertyInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # guint use_gvariant : 1;
1004s # guint emits_changed_signal : 1;
1004s # } _ExtendedGDBusPropertyInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # GDBusInterfaceInfo parent_struct;
1004s # const gchar *hyphen_name;
1004s # } _ExtendedGDBusInterfaceInfo;
1004s #
1004s # typedef struct
1004s # {
1004s # const _ExtendedGDBusPropertyInfo *info;
1004s # guint prop_id;
1004s # GValue orig_value; /* the value before the change */
1004s # } ChangedProperty;
1004s #
1004s # static void
1004s # _changed_property_free (ChangedProperty *data)
1004s # {
1004s # g_value_unset (&data->orig_value);
1004s # g_free (data);
1004s # }
1004s #
1004s # static gboolean
1004s # _g_strv_equal0 (gchar **a, gchar **b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # guint n;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # if (g_strv_length (a) != g_strv_length (b))
1004s # goto out;
1004s # for (n = 0; a[n] != NULL; n++)
1004s # if (g_strcmp0 (a[n], b[n]) != 0)
1004s # goto out;
1004s # ret = TRUE;
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _g_variant_equal0 (GVariant *a, GVariant *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # if (a == NULL && b == NULL)
1004s # {
1004s # ret = TRUE;
1004s # goto out;
1004s # }
1004s # if (a == NULL || b == NULL)
1004s # goto out;
1004s # ret = g_variant_equal (a, b);
1004s # out:
1004s # return ret;
1004s # }
1004s #
1004s # G_GNUC_UNUSED static gboolean
1004s # _g_value_equal (const GValue *a, const GValue *b)
1004s # {
1004s # gboolean ret = FALSE;
1004s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1004s # switch (G_VALUE_TYPE (a))
1004s # {
1004s # case G_TYPE_BOOLEAN:
1004s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1004s # break;
1004s # case G_TYPE_UCHAR:
1004s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1004s # break;
1004s # case G_TYPE_INT:
1004s # ret = (g_value_get_int (a) == g_value_get_int (b));
1004s # break;
1004s # case G_TYPE_UINT:
1004s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1004s # break;
1004s # case G_TYPE_INT64:
1004s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1004s # break;
1004s # case G_TYPE_UINT64:
1004s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1004s # break;
1004s # case G_TYPE_DOUBLE:
1004s # {
1004s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1004s # gdouble da = g_value_get_double (a);
1004s # gdouble db = g_value_get_double (b);
1004s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1004s # }
1004s # break;
1004s # case G_TYPE_STRING:
1004s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1004s # break;
1004s # case G_TYPE_VARIANT:
1004s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1004s # break;
1004s # default:
1004s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1004s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1004s # else
1004s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1004s # break;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.SignalingIface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectSignalingIface
1004s # * @title: OrgProjectSignalingIface
1004s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1004s # */
1004s #
1004s # enum
1004s # {
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1004s # };
1004s #
1004s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
1004s #
1004s # /* ---- Introspection data for org.project.SignalingIface ---- */
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SimpleSignal",
1004s # NULL,
1004s # NULL
1004s # },
1004s # "simple-signal"
1004s # };
1004s #
1004s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1004s # {
1004s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.SignalingIface",
1004s # NULL,
1004s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-signaling-iface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_signaling_iface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_signaling_iface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_signaling_iface_signal_marshal_simple_signal (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__VOID (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectSignalingIface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1004s # */
1004s #
1004s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1004s # {
1004s # /* GObject signals for received D-Bus signals: */
1004s # /**
1004s # * OrgProjectSignalingIface::simple-signal:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1004s # g_signal_new ("simple-signal",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1004s # NULL,
1004s # NULL,
1004s # org_project_signaling_iface_signal_marshal_simple_signal,
1004s # G_TYPE_NONE,
1004s # 0);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_emit_simple_signal:
1004s # * @object: A #OrgProjectSignalingIface.
1004s # *
1004s # * Emits the "SimpleSignal" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_signaling_iface_emit_simple_signal (
1004s # OrgProjectSignalingIface *object)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceProxy:
1004s # *
1004s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectSignalingIfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectSignalingIfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_signaling_iface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1004s # guint signal_id;
1004s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1004s # if (info == NULL)
1004s # return;
1004s # num_params = g_variant_n_children (parameters);
1004s # paramv = g_new0 (GValue, num_params + 1);
1004s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_value_set_object (¶mv[0], proxy);
1004s # g_variant_iter_init (&iter, parameters);
1004s # n = 1;
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_signal_emitv (paramv, signal_id, 0, NULL);
1004s # for (n = 0; n < num_params + 1; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1004s # GVariant *changed_properties,
1004s # const gchar *const *invalidated_properties)
1004s # {
1004s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1004s # guint n;
1004s # const gchar *key;
1004s # GVariantIter *iter;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # g_variant_get (changed_properties, "a{sv}", &iter);
1004s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1004s # g_datalist_remove_data (&proxy->priv->qdata, key);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # g_variant_iter_free (iter);
1004s # for (n = 0; invalidated_properties[n] != NULL; n++)
1004s # {
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1004s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1004s # if (info != NULL)
1004s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1004s # }
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1004s # #else
1004s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1004s # #endif
1004s #
1004s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusProxyClass *proxy_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1004s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1004s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1004s #
1004s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1004s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1004s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_signaling_iface_proxy_new (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_sync:
1004s # * @connection: A #GDBusConnection.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_sync (
1004s # GDBusConnection *connection,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_for_bus:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1004s # * @user_data: User data to pass to @callback.
1004s # *
1004s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1004s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1004s # */
1004s # void
1004s # org_project_signaling_iface_proxy_new_for_bus (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GAsyncReadyCallback callback,
1004s # gpointer user_data)
1004s # {
1004s # 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);
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1004s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_for_bus_finish (
1004s # GAsyncResult *res,
1004s # GError **error)
1004s # {
1004s # GObject *ret;
1004s # GObject *source_object;
1004s # source_object = g_async_result_get_source_object (res);
1004s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1004s # g_object_unref (source_object);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1004s # * @bus_type: A #GBusType.
1004s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1004s # * @name: A bus name (well-known or unique).
1004s # * @object_path: An object path.
1004s # * @cancellable: (nullable): A #GCancellable or %NULL.
1004s # * @error: Return location for error or %NULL
1004s # *
1004s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1004s # *
1004s # * The calling thread is blocked until a reply is received.
1004s # *
1004s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_proxy_new_for_bus_sync (
1004s # GBusType bus_type,
1004s # GDBusProxyFlags flags,
1004s # const gchar *name,
1004s # const gchar *object_path,
1004s # GCancellable *cancellable,
1004s # GError **error)
1004s # {
1004s # GInitable *ret;
1004s # 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);
1004s # if (ret != NULL)
1004s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1004s # else
1004s # return NULL;
1004s # }
1004s #
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceSkeleton:
1004s # *
1004s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectSignalingIfaceSkeletonClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1004s # */
1004s #
1004s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1004s # {
1004s # GValue *properties;
1004s # GList *changed_properties;
1004s # GSource *changed_properties_idle_source;
1004s # GMainContext *context;
1004s # GMutex lock;
1004s # };
1004s #
1004s # static void
1004s # _org_project_signaling_iface_skeleton_handle_method_call (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name,
1004s # const gchar *method_name,
1004s # GVariant *parameters,
1004s # GDBusMethodInvocation *invocation,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1004s # _ExtendedGDBusMethodInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # guint num_extra;
1004s # gsize n;
1004s # guint signal_id;
1004s # GValue return_value = G_VALUE_INIT;
1004s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1004s # g_assert (info != NULL);
1004s # num_params = g_variant_n_children (parameters);
1004s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1004s # n = 0;
1004s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_value_set_object (¶mv[n++], skeleton);
1004s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1004s # g_value_set_object (¶mv[n++], invocation);
1004s # if (info->pass_fdlist)
1004s # {
1004s # #ifdef G_OS_UNIX
1004s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1004s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1004s # #else
1004s # g_assert_not_reached ();
1004s # #endif
1004s # }
1004s # g_variant_iter_init (&iter, parameters);
1004s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1004s # {
1004s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1004s # if (arg_info->use_gvariant)
1004s # {
1004s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1004s # g_value_set_variant (¶mv[n], child);
1004s # n++;
1004s # }
1004s # else
1004s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1004s # g_variant_unref (child);
1004s # }
1004s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1004s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1004s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1004s # if (!g_value_get_boolean (&return_value))
1004s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1004s # g_value_unset (&return_value);
1004s # for (n = 0; n < num_params + num_extra; n++)
1004s # g_value_unset (¶mv[n]);
1004s # g_free (paramv);
1004s # }
1004s #
1004s # static GVariant *
1004s # _org_project_signaling_iface_skeleton_handle_get_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # GVariant *ret;
1004s # ret = NULL;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # g_value_init (&value, pspec->value_type);
1004s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1004s # g_value_unset (&value);
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static gboolean
1004s # _org_project_signaling_iface_skeleton_handle_set_property (
1004s # GDBusConnection *connection G_GNUC_UNUSED,
1004s # const gchar *sender G_GNUC_UNUSED,
1004s # const gchar *object_path G_GNUC_UNUSED,
1004s # const gchar *interface_name G_GNUC_UNUSED,
1004s # const gchar *property_name,
1004s # GVariant *variant,
1004s # GError **error,
1004s # gpointer user_data)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1004s # GValue value = G_VALUE_INIT;
1004s # GParamSpec *pspec;
1004s # _ExtendedGDBusPropertyInfo *info;
1004s # gboolean ret;
1004s # ret = FALSE;
1004s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1004s # g_assert (info != NULL);
1004s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1004s # if (pspec == NULL)
1004s # {
1004s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1004s # }
1004s # else
1004s # {
1004s # if (info->use_gvariant)
1004s # g_value_set_variant (&value, variant);
1004s # else
1004s # g_dbus_gvariant_to_gvalue (variant, &value);
1004s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1004s # g_value_unset (&value);
1004s # ret = TRUE;
1004s # }
1004s # return ret;
1004s # }
1004s #
1004s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1004s # {
1004s # _org_project_signaling_iface_skeleton_handle_method_call,
1004s # _org_project_signaling_iface_skeleton_handle_get_property,
1004s # _org_project_signaling_iface_skeleton_handle_set_property,
1004s # {NULL}
1004s # };
1004s #
1004s # static GDBusInterfaceInfo *
1004s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return org_project_signaling_iface_interface_info ();
1004s # }
1004s #
1004s # static GDBusInterfaceVTable *
1004s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1004s # {
1004s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1004s # }
1004s #
1004s # static GVariant *
1004s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1004s #
1004s # GVariantBuilder builder;
1004s # guint n;
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1004s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #else
1004s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1004s # #endif
1004s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1004s # goto out;
1004s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1004s # {
1004s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1004s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1004s # {
1004s # GVariant *value;
1004s # 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);
1004s # if (value != NULL)
1004s # {
1004s # g_variant_take_ref (value);
1004s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1004s # g_variant_unref (value);
1004s # }
1004s # }
1004s # }
1004s # out:
1004s # return g_variant_builder_end (&builder);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # _org_project_signaling_iface_on_signal_simple_signal (
1004s # OrgProjectSignalingIface *object)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s #
1004s # GList *connections, *l;
1004s # GVariant *signal_variant;
1004s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1004s #
1004s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1004s # for (l = connections; l != NULL; l = l->next)
1004s # {
1004s # GDBusConnection *connection = l->data;
1004s # g_dbus_connection_emit_signal (connection,
1004s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1004s # signal_variant, NULL);
1004s # }
1004s # g_variant_unref (signal_variant);
1004s # g_list_free_full (connections, g_object_unref);
1004s # }
1004s #
1004s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1004s # {
1004s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1004s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1004s # if (skeleton->priv->changed_properties_idle_source != NULL)
1004s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1004s # g_main_context_unref (skeleton->priv->context);
1004s # g_mutex_clear (&skeleton->priv->lock);
1004s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1004s # {
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1004s # #else
1004s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1004s # #endif
1004s #
1004s # g_mutex_init (&skeleton->priv->lock);
1004s # skeleton->priv->context = g_main_context_ref_thread_default ();
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1004s # {
1004s # GObjectClass *gobject_class;
1004s # GDBusInterfaceSkeletonClass *skeleton_class;
1004s #
1004s # gobject_class = G_OBJECT_CLASS (klass);
1004s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1004s #
1004s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1004s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1004s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1004s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1004s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1004s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1004s # #endif
1004s # }
1004s #
1004s # static void
1004s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1004s # {
1004s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1004s # }
1004s #
1004s # /**
1004s # * org_project_signaling_iface_skeleton_new:
1004s # *
1004s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1004s # *
1004s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1004s # */
1004s # OrgProjectSignalingIface *
1004s # org_project_signaling_iface_skeleton_new (void)
1004s # {
1004s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------
1004s # * Code for interface org.project.OtherSignalingIface
1004s # * ------------------------------------------------------------------------
1004s # */
1004s #
1004s # /**
1004s # * SECTION:OrgProjectOtherSignalingIface
1004s # * @title: OrgProjectOtherSignalingIface
1004s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface
1004s # *
1004s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C.
1004s # */
1004s #
1004s # enum
1004s # {
1004s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL,
1004s # };
1004s #
1004s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 };
1004s #
1004s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */
1004s #
1004s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "SimpleSignal",
1004s # NULL,
1004s # NULL
1004s # },
1004s # "simple-signal"
1004s # };
1004s #
1004s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] =
1004s # {
1004s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct,
1004s # NULL
1004s # };
1004s #
1004s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info =
1004s # {
1004s # {
1004s # -1,
1004s # (gchar *) "org.project.OtherSignalingIface",
1004s # NULL,
1004s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers,
1004s # NULL,
1004s # NULL
1004s # },
1004s # "org-project-other-signaling-iface",
1004s # };
1004s #
1004s #
1004s # /**
1004s # * org_project_other_signaling_iface_interface_info:
1004s # *
1004s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface.
1004s # *
1004s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1004s # */
1004s # GDBusInterfaceInfo *
1004s # org_project_other_signaling_iface_interface_info (void)
1004s # {
1004s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct;
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_signaling_iface_override_properties:
1004s # * @klass: The class structure for a #GObject derived class.
1004s # * @property_id_begin: The property id to assign to the first overridden property.
1004s # *
1004s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class.
1004s # * The properties are overridden in the order they are defined.
1004s # *
1004s # * Returns: The last property id.
1004s # */
1004s # guint
1004s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1004s # {
1004s # return property_id_begin - 1;
1004s # }
1004s #
1004s #
1004s # inline static void
1004s # org_project_other_signaling_iface_signal_marshal_simple_signal (
1004s # GClosure *closure,
1004s # GValue *return_value,
1004s # unsigned int n_param_values,
1004s # const GValue *param_values,
1004s # void *invocation_hint,
1004s # void *marshal_data)
1004s # {
1004s # g_cclosure_marshal_VOID__VOID (closure,
1004s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1004s # }
1004s #
1004s #
1004s # /**
1004s # * OrgProjectOtherSignalingIface:
1004s # *
1004s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectOtherSignalingIfaceIface:
1004s # * @parent_iface: The parent interface.
1004s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal.
1004s # *
1004s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface.
1004s # */
1004s #
1004s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface;
1004s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT)
1004s #
1004s # static void
1004s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface)
1004s # {
1004s # /* GObject signals for received D-Bus signals: */
1004s # /**
1004s # * OrgProjectOtherSignalingIface::simple-signal:
1004s # * @object: A #OrgProjectOtherSignalingIface.
1004s # *
1004s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1004s # *
1004s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1004s # */
1004s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1004s # g_signal_new ("simple-signal",
1004s # G_TYPE_FROM_INTERFACE (iface),
1004s # G_SIGNAL_RUN_LAST,
1004s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal),
1004s # NULL,
1004s # NULL,
1004s # org_project_other_signaling_iface_signal_marshal_simple_signal,
1004s # G_TYPE_NONE,
1004s # 0);
1004s #
1004s # }
1004s #
1004s # /**
1004s # * org_project_other_signaling_iface_emit_simple_signal:
1004s # * @object: A #OrgProjectOtherSignalingIface.
1004s # *
1004s # * Emits the "SimpleSignal" D-Bus signal.
1004s # */
1004s # void
1004s # org_project_other_signaling_iface_emit_simple_signal (
1004s # OrgProjectOtherSignalingIface *object)
1004s # {
1004s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1004s # }
1004s #
1004s # /* ------------------------------------------------------------------------ */
1004s #
1004s # /**
1004s # * OrgProjectOtherSignalingIfaceProxy:
1004s # *
1004s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1004s # */
1004s #
1004s # /**
1004s # * OrgProjectOtherSignalingIfaceProxyClass:
1004s # * @parent_class: The parent class.
1004s # *
1004s # * Class structure for #OrgProjectOtherSignalingIfaceProxy.
1004s # */
1004s #
1004s # struct _OrgProjectOtherSignalingIfaceProxyPrivate
1004s # {
1004s # GData *qdata;
1004s # };
1004s #
1004s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
1004s #
1004s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy)
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
1004s #
1004s # #else
1004s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1004s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
1004s #
1004s # #endif
1004s # static void
1004s # org_project_other_signaling_iface_proxy_finalize (GObject *object)
1004s # {
1004s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object);
1004s # g_datalist_clear (&proxy->priv->qdata);
1004s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object);
1004s # }
1004s #
1004s # static void
1004s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1004s # guint prop_id G_GNUC_UNUSED,
1004s # const GValue *value G_GNUC_UNUSED,
1004s # GParamSpec *pspec G_GNUC_UNUSED)
1004s # {
1004s # }
1004s #
1004s # static void
1004s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1004s # const gchar *sender_name G_GNUC_UNUSED,
1004s # const gchar *signal_name,
1004s # GVariant *parameters)
1004s # {
1004s # _ExtendedGDBusSignalInfo *info;
1004s # GVariantIter iter;
1004s # GVariant *child;
1004s # GValue *paramv;
1004s # gsize num_params;
1004s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_other_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_other_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_other_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectOtherSignalingIface *
1005s # org_project_other_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_other_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectOtherSignalingIface *
1005s # org_project_other_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_other_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_other_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_other_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectOtherSignalingIface *
1005s # org_project_other_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_other_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectOtherSignalingIface *
1005s # org_project_other_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectOtherSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectOtherSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_other_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_other_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_other_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_other_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_other_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_other_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_other_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_other_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectOtherSignalingIface *object)
1005s # {
1005s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_other_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal;
1005s # }
1005s #
1005s # /**
1005s # * org_project_other_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectOtherSignalingIface *
1005s # org_project_other_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmpbo1s3s6e
1005s # /tmp/tmpbo1s3s6e/tmp6nuj3e_2.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmp6nuj3e_2.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_b",
1005s # (gchar *) "b",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalB",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-b"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__BOOLEAN (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-b:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_b: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
1005s # g_signal_new ("single-arg-signal-b",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_BOOLEAN);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_b:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_b: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalB" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_b (
1005s # OrgProjectSignalingIface *object,
1005s # gboolean arg_arg_b)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
1005s # OrgProjectSignalingIface *object,
1005s # gboolean arg_arg_b)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
1005s # arg_arg_b));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmp56wsrz38.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmp56wsrz38.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_y",
1005s # (gchar *) "y",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalY",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-y"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__UCHAR (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-y:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_y: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
1005s # g_signal_new ("single-arg-signal-y",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_UCHAR);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_y:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_y: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalY" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_y (
1005s # OrgProjectSignalingIface *object,
1005s # guchar arg_arg_y)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
1005s # OrgProjectSignalingIface *object,
1005s # guchar arg_arg_y)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
1005s # arg_arg_y));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmpibzgausy.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmpibzgausy.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_n",
1005s # (gchar *) "n",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalN",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-n"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__INT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-n:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_n: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
1005s # g_signal_new ("single-arg-signal-n",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_INT);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_n:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_n: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalN" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_n (
1005s # OrgProjectSignalingIface *object,
1005s # gint16 arg_arg_n)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
1005s # OrgProjectSignalingIface *object,
1005s # gint16 arg_arg_n)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
1005s # arg_arg_n));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmppftijv1k.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmppftijv1k.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_q",
1005s # (gchar *) "q",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalQ",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-q"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__UINT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-q:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_q: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
1005s # g_signal_new ("single-arg-signal-q",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_UINT);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_q:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_q: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalQ" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_q (
1005s # OrgProjectSignalingIface *object,
1005s # guint16 arg_arg_q)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
1005s # OrgProjectSignalingIface *object,
1005s # guint16 arg_arg_q)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
1005s # arg_arg_q));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmph4mha0y3.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmph4mha0y3.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_i",
1005s # (gchar *) "i",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalI",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-i"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__INT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-i:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_i: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
1005s # g_signal_new ("single-arg-signal-i",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_INT);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_i:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_i: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalI" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_i (
1005s # OrgProjectSignalingIface *object,
1005s # gint arg_arg_i)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
1005s # OrgProjectSignalingIface *object,
1005s # gint arg_arg_i)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
1005s # arg_arg_i));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmpbhabxfye.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmpbhabxfye.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_u",
1005s # (gchar *) "u",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalU",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-u"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__UINT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-u:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_u: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
1005s # g_signal_new ("single-arg-signal-u",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_UINT);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_u:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_u: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalU" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_u (
1005s # OrgProjectSignalingIface *object,
1005s # guint arg_arg_u)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
1005s # OrgProjectSignalingIface *object,
1005s # guint arg_arg_u)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
1005s # arg_arg_u));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmphjcldndi.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmphjcldndi.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static void
1005s # _g_dbus_codegen_marshal_VOID__INT64 (
1005s # GClosure *closure,
1005s # GValue *return_value G_GNUC_UNUSED,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint G_GNUC_UNUSED,
1005s # void *marshal_data)
1005s # {
1005s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
1005s # (void *data1,
1005s # gint64 arg_arg_x,
1005s # void *data2);
1005s # _GDbusCodegenMarshalVoid_Int64Func callback;
1005s # GCClosure *cc = (GCClosure*) closure;
1005s # void *data1, *data2;
1005s #
1005s # g_return_if_fail (n_param_values == 2);
1005s #
1005s # if (G_CCLOSURE_SWAP_DATA (closure))
1005s # {
1005s # data1 = closure->data;
1005s # data2 = g_value_peek_pointer (param_values + 0);
1005s # }
1005s # else
1005s # {
1005s # data1 = g_value_peek_pointer (param_values + 0);
1005s # data2 = closure->data;
1005s # }
1005s #
1005s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
1005s # (marshal_data ? marshal_data : cc->callback);
1005s #
1005s # callback (data1,
1005s # g_marshal_value_peek_int64 (param_values + 1),
1005s # data2);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_x",
1005s # (gchar *) "x",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalX",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-x"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-x:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_x: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
1005s # g_signal_new ("single-arg-signal-x",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_INT64);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_x:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_x: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalX" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_x (
1005s # OrgProjectSignalingIface *object,
1005s # gint64 arg_arg_x)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
1005s # OrgProjectSignalingIface *object,
1005s # gint64 arg_arg_x)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
1005s # arg_arg_x));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmpbuqjbno0.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmpbuqjbno0.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static void
1005s # _g_dbus_codegen_marshal_VOID__UINT64 (
1005s # GClosure *closure,
1005s # GValue *return_value G_GNUC_UNUSED,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint G_GNUC_UNUSED,
1005s # void *marshal_data)
1005s # {
1005s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
1005s # (void *data1,
1005s # guint64 arg_arg_t,
1005s # void *data2);
1005s # _GDbusCodegenMarshalVoid_Uint64Func callback;
1005s # GCClosure *cc = (GCClosure*) closure;
1005s # void *data1, *data2;
1005s #
1005s # g_return_if_fail (n_param_values == 2);
1005s #
1005s # if (G_CCLOSURE_SWAP_DATA (closure))
1005s # {
1005s # data1 = closure->data;
1005s # data2 = g_value_peek_pointer (param_values + 0);
1005s # }
1005s # else
1005s # {
1005s # data1 = g_value_peek_pointer (param_values + 0);
1005s # data2 = closure->data;
1005s # }
1005s #
1005s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
1005s # (marshal_data ? marshal_data : cc->callback);
1005s #
1005s # callback (data1,
1005s # g_marshal_value_peek_uint64 (param_values + 1),
1005s # data2);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_t",
1005s # (gchar *) "t",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalT",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-t"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-t:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_t: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
1005s # g_signal_new ("single-arg-signal-t",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_UINT64);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_t:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_t: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalT" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_t (
1005s # OrgProjectSignalingIface *object,
1005s # guint64 arg_arg_t)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
1005s # OrgProjectSignalingIface *object,
1005s # guint64 arg_arg_t)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
1005s # arg_arg_t));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmpzg3567vh.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmpzg3567vh.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_d",
1005s # (gchar *) "d",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalD",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-d"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__DOUBLE (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-d:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_d: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
1005s # g_signal_new ("single-arg-signal-d",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_DOUBLE);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_d:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_d: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalD" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_d (
1005s # OrgProjectSignalingIface *object,
1005s # gdouble arg_arg_d)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
1005s # OrgProjectSignalingIface *object,
1005s # gdouble arg_arg_d)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
1005s # arg_arg_d));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmp9f7r0k0f.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmp9f7r0k0f.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_s",
1005s # (gchar *) "s",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalS",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-s"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__STRING (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-s:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_s: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
1005s # g_signal_new ("single-arg-signal-s",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_STRING);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_s:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_s: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalS" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_s (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *arg_arg_s)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *arg_arg_s)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
1005s # arg_arg_s));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmp7gl_0q92.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmp7gl_0q92.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_o",
1005s # (gchar *) "o",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalO",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-o"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__STRING (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-o:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_o: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
1005s # g_signal_new ("single-arg-signal-o",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_STRING);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_o:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_o: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalO" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_o (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *arg_arg_o)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *arg_arg_o)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
1005s # arg_arg_o));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmpeeff77nt.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmpeeff77nt.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_g",
1005s # (gchar *) "g",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalG",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-g"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__STRING (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-g:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_g: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
1005s # g_signal_new ("single-arg-signal-g",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_STRING);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_g:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_g: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalG" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_g (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *arg_arg_g)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *arg_arg_g)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
1005s # arg_arg_g));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmpgwkza5cp.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmpgwkza5cp.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_h",
1005s # (gchar *) "h",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalH",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-h"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VARIANT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-h:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_h: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
1005s # g_signal_new ("single-arg-signal-h",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_VARIANT);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_h:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_h: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalH" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_h (
1005s # OrgProjectSignalingIface *object,
1005s # GVariant *arg_arg_h)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
1005s # OrgProjectSignalingIface *object,
1005s # GVariant *arg_arg_h)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
1005s # arg_arg_h));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmp10_m1w5r.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmp10_m1w5r.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_ay",
1005s # (gchar *) "ay",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalAy",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-ay"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__STRING (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-ay:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_ay: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
1005s # g_signal_new ("single-arg-signal-ay",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_STRING);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_ay:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_ay: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalAy" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_ay (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *arg_arg_ay)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *arg_arg_ay)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
1005s # arg_arg_ay));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmpkjzsj5l4.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmpkjzsj5l4.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_as",
1005s # (gchar *) "as",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalAs",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-as"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__BOXED (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-as:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_as: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
1005s # g_signal_new ("single-arg-signal-as",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_STRV);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_as:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_as: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalAs" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_as (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *const *arg_arg_as)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *const *arg_arg_as)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
1005s # arg_arg_as));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmpdka0njqx.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmpdka0njqx.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_ao",
1005s # (gchar *) "ao",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalAo",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-ao"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__BOXED (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-ao:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_ao: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
1005s # g_signal_new ("single-arg-signal-ao",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_STRV);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_ao:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_ao: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalAo" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_ao (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *const *arg_arg_ao)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *const *arg_arg_ao)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
1005s # arg_arg_ao));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmpy1wcu5jg.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmpy1wcu5jg.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_aay",
1005s # (gchar *) "aay",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalAay",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-aay"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__BOXED (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-aay:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_aay: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
1005s # g_signal_new ("single-arg-signal-aay",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_STRV);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_aay:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_aay: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalAay" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_aay (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *const *arg_arg_aay)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
1005s # OrgProjectSignalingIface *object,
1005s # const gchar *const *arg_arg_aay)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
1005s # arg_arg_aay));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # /tmp/tmpbo1s3s6e/tmp10aytn6z.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbo1s3s6e/tmp10aytn6z.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "arg_asv",
1005s # (gchar *) "a{sv}",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SingleArgSignalAsv",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
1005s # NULL
1005s # },
1005s # "single-arg-signal-asv"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VARIANT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::single-arg-signal-asv:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_asv: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
1005s # g_signal_new ("single-arg-signal-asv",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
1005s # G_TYPE_NONE,
1005s # 1, G_TYPE_VARIANT);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_single_arg_signal_asv:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_arg_asv: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SingleArgSignalAsv" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_single_arg_signal_asv (
1005s # OrgProjectSignalingIface *object,
1005s # GVariant *arg_arg_asv)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
1005s # OrgProjectSignalingIface *object,
1005s # GVariant *arg_arg_asv)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
1005s # arg_arg_asv));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmpr8pd52f0
1005s # /tmp/tmpr8pd52f0/tmp__kbgawe.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr8pd52f0/tmp__kbgawe.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static void
1005s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
1005s # GClosure *closure,
1005s # GValue *return_value G_GNUC_UNUSED,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint G_GNUC_UNUSED,
1005s # void *marshal_data)
1005s # {
1005s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1005s # (void *data1,
1005s # gboolean arg_an_b,
1005s # guchar arg_an_y,
1005s # gint16 arg_an_n,
1005s # guint16 arg_an_q,
1005s # gint arg_an_i,
1005s # guint arg_an_u,
1005s # gint64 arg_an_x,
1005s # guint64 arg_an_t,
1005s # gdouble arg_an_d,
1005s # const gchar *arg_an_s,
1005s # const gchar *arg_an_o,
1005s # const gchar *arg_an_g,
1005s # GVariant *arg_an_h,
1005s # const gchar *arg_an_ay,
1005s # const gchar *const *arg_an_as,
1005s # const gchar *const *arg_an_ao,
1005s # const gchar *const *arg_an_aay,
1005s # GVariant *arg_an_asv,
1005s # void *data2);
1005s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
1005s # GCClosure *cc = (GCClosure*) closure;
1005s # void *data1, *data2;
1005s #
1005s # g_return_if_fail (n_param_values == 19);
1005s #
1005s # if (G_CCLOSURE_SWAP_DATA (closure))
1005s # {
1005s # data1 = closure->data;
1005s # data2 = g_value_peek_pointer (param_values + 0);
1005s # }
1005s # else
1005s # {
1005s # data1 = g_value_peek_pointer (param_values + 0);
1005s # data2 = closure->data;
1005s # }
1005s #
1005s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
1005s # (marshal_data ? marshal_data : cc->callback);
1005s #
1005s # callback (data1,
1005s # g_marshal_value_peek_boolean (param_values + 1),
1005s # g_marshal_value_peek_uchar (param_values + 2),
1005s # g_marshal_value_peek_int (param_values + 3),
1005s # g_marshal_value_peek_uint (param_values + 4),
1005s # g_marshal_value_peek_int (param_values + 5),
1005s # g_marshal_value_peek_uint (param_values + 6),
1005s # g_marshal_value_peek_int64 (param_values + 7),
1005s # g_marshal_value_peek_uint64 (param_values + 8),
1005s # g_marshal_value_peek_double (param_values + 9),
1005s # g_marshal_value_peek_string (param_values + 10),
1005s # g_marshal_value_peek_string (param_values + 11),
1005s # g_marshal_value_peek_string (param_values + 12),
1005s # g_marshal_value_peek_variant (param_values + 13),
1005s # g_marshal_value_peek_string (param_values + 14),
1005s # g_marshal_value_peek_boxed (param_values + 15),
1005s # g_marshal_value_peek_boxed (param_values + 16),
1005s # g_marshal_value_peek_boxed (param_values + 17),
1005s # g_marshal_value_peek_variant (param_values + 18),
1005s # data2);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.SignalingIface
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectSignalingIface
1005s # * @title: OrgProjectSignalingIface
1005s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
1005s # };
1005s #
1005s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
1005s #
1005s # /* ---- Introspection data for org.project.SignalingIface ---- */
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SimpleSignal",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "simple-signal"
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_b",
1005s # (gchar *) "b",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_y",
1005s # (gchar *) "y",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_n",
1005s # (gchar *) "n",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_q",
1005s # (gchar *) "q",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_i",
1005s # (gchar *) "i",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_u",
1005s # (gchar *) "u",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_x",
1005s # (gchar *) "x",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_t",
1005s # (gchar *) "t",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_d",
1005s # (gchar *) "d",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_s",
1005s # (gchar *) "s",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_o",
1005s # (gchar *) "o",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_g",
1005s # (gchar *) "g",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_h",
1005s # (gchar *) "h",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_ay",
1005s # (gchar *) "ay",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_as",
1005s # (gchar *) "as",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_ao",
1005s # (gchar *) "ao",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_aay",
1005s # (gchar *) "aay",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "an_asv",
1005s # (gchar *) "a{sv}",
1005s # NULL
1005s # },
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "SignalWithManyArgs",
1005s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
1005s # NULL
1005s # },
1005s # "signal-with-many-args"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
1005s # {
1005s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
1005s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.SignalingIface",
1005s # NULL,
1005s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-signaling-iface",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_signaling_iface_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_simple_signal (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceIface:
1005s # * @parent_iface: The parent interface.
1005s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
1005s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.SignalingIface.
1005s # */
1005s #
1005s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * OrgProjectSignalingIface::simple-signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
1005s # g_signal_new ("simple-signal",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_simple_signal,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /**
1005s # * OrgProjectSignalingIface::signal-with-many-args:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_an_b: Argument.
1005s # * @arg_an_y: Argument.
1005s # * @arg_an_n: Argument.
1005s # * @arg_an_q: Argument.
1005s # * @arg_an_i: Argument.
1005s # * @arg_an_u: Argument.
1005s # * @arg_an_x: Argument.
1005s # * @arg_an_t: Argument.
1005s # * @arg_an_d: Argument.
1005s # * @arg_an_s: Argument.
1005s # * @arg_an_o: Argument.
1005s # * @arg_an_g: Argument.
1005s # * @arg_an_h: Argument.
1005s # * @arg_an_ay: Argument.
1005s # * @arg_an_as: Argument.
1005s # * @arg_an_ao: Argument.
1005s # * @arg_an_aay: Argument.
1005s # * @arg_an_asv: Argument.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
1005s # g_signal_new ("signal-with-many-args",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
1005s # NULL,
1005s # NULL,
1005s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
1005s # G_TYPE_NONE,
1005s # 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);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_simple_signal:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # *
1005s # * Emits the "SimpleSignal" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_emit_signal_with_many_args:
1005s # * @object: A #OrgProjectSignalingIface.
1005s # * @arg_an_b: Argument to pass with the signal.
1005s # * @arg_an_y: Argument to pass with the signal.
1005s # * @arg_an_n: Argument to pass with the signal.
1005s # * @arg_an_q: Argument to pass with the signal.
1005s # * @arg_an_i: Argument to pass with the signal.
1005s # * @arg_an_u: Argument to pass with the signal.
1005s # * @arg_an_x: Argument to pass with the signal.
1005s # * @arg_an_t: Argument to pass with the signal.
1005s # * @arg_an_d: Argument to pass with the signal.
1005s # * @arg_an_s: Argument to pass with the signal.
1005s # * @arg_an_o: Argument to pass with the signal.
1005s # * @arg_an_g: Argument to pass with the signal.
1005s # * @arg_an_h: Argument to pass with the signal.
1005s # * @arg_an_ay: Argument to pass with the signal.
1005s # * @arg_an_as: Argument to pass with the signal.
1005s # * @arg_an_ao: Argument to pass with the signal.
1005s # * @arg_an_aay: Argument to pass with the signal.
1005s # * @arg_an_asv: Argument to pass with the signal.
1005s # *
1005s # * Emits the "SignalWithManyArgs" D-Bus signal.
1005s # */
1005s # void
1005s # org_project_signaling_iface_emit_signal_with_many_args (
1005s # OrgProjectSignalingIface *object,
1005s # gboolean arg_an_b,
1005s # guchar arg_an_y,
1005s # gint16 arg_an_n,
1005s # guint16 arg_an_q,
1005s # gint arg_an_i,
1005s # guint arg_an_u,
1005s # gint64 arg_an_x,
1005s # guint64 arg_an_t,
1005s # gdouble arg_an_d,
1005s # const gchar *arg_an_s,
1005s # const gchar *arg_an_o,
1005s # const gchar *arg_an_g,
1005s # GVariant *arg_an_h,
1005s # const gchar *arg_an_ay,
1005s # const gchar *const *arg_an_as,
1005s # const gchar *const *arg_an_ao,
1005s # const gchar *const *arg_an_aay,
1005s # GVariant *arg_an_asv)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxy:
1005s # *
1005s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceProxy.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
1005s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
1005s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_signaling_iface_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_SIGNALING_IFACE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeleton:
1005s # *
1005s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectSignalingIfaceSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectSignalingIfaceSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_signaling_iface_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_signaling_iface_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_signaling_iface_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
1005s # {
1005s # _org_project_signaling_iface_skeleton_handle_method_call,
1005s # _org_project_signaling_iface_skeleton_handle_get_property,
1005s # _org_project_signaling_iface_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_signaling_iface_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_simple_signal (
1005s # OrgProjectSignalingIface *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void
1005s # _org_project_signaling_iface_on_signal_signal_with_many_args (
1005s # OrgProjectSignalingIface *object,
1005s # gboolean arg_an_b,
1005s # guchar arg_an_y,
1005s # gint16 arg_an_n,
1005s # guint16 arg_an_q,
1005s # gint arg_an_i,
1005s # guint arg_an_u,
1005s # gint64 arg_an_x,
1005s # guint64 arg_an_t,
1005s # gdouble arg_an_d,
1005s # const gchar *arg_an_s,
1005s # const gchar *arg_an_o,
1005s # const gchar *arg_an_g,
1005s # GVariant *arg_an_h,
1005s # const gchar *arg_an_ay,
1005s # const gchar *const *arg_an_as,
1005s # const gchar *const *arg_an_ao,
1005s # const gchar *const *arg_an_aay,
1005s # GVariant *arg_an_asv)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
1005s # arg_an_b,
1005s # arg_an_y,
1005s # arg_an_n,
1005s # arg_an_q,
1005s # arg_an_i,
1005s # arg_an_u,
1005s # arg_an_x,
1005s # arg_an_t,
1005s # arg_an_d,
1005s # arg_an_s,
1005s # arg_an_o,
1005s # arg_an_g,
1005s # arg_an_h,
1005s # arg_an_ay,
1005s # arg_an_as,
1005s # arg_an_ao,
1005s # arg_an_aay,
1005s # arg_an_asv));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_signaling_iface_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
1005s # {
1005s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
1005s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
1005s # }
1005s #
1005s # /**
1005s # * org_project_signaling_iface_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectSignalingIface *
1005s # org_project_signaling_iface_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
1005s # }
1005s # Error:
1005s ok 25 __main__.TestCodegen.test_generate_valid_docbook
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmpyr12a6rt
1005s # /tmp/tmpyr12a6rt/tmpjni8qwr2.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyr12a6rt/tmpjni8qwr2.xml', '--generate-docbook', 'test']
1005s # Return code: 0
1005s # Output:
1005s #
1005s # Error:
1005s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmpg7fbhxmn
1005s # /tmp/tmpg7fbhxmn/tmp4aqcepmo.xml:
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg7fbhxmn/tmp4aqcepmo.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64']
1005s # Return code: 1
1005s # Output:
1005s #
1005s # Error:
1005s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62))
1005s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmpkxfhbeli
1005s # /tmp/tmpkxfhbeli/tmp_pr_mduq.xml:
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkxfhbeli/tmp_pr_mduq.xml', '--output', '-', '--header', '--glib-max-allowed', '3']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmprpjl2sn5
1005s # /tmp/tmprpjl2sn5/tmpqwnupfgk.xml:
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprpjl2sn5/tmpqwnupfgk.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6']
1005s # Return code: 1
1005s # Output:
1005s #
1005s # Error:
1005s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6))
1005s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmp7ng5gcth
1005s # /tmp/tmp7ng5gcth/tmppltpy0ox.xml:
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7ng5gcth/tmppltpy0ox.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmp8eizo396
1005s # /tmp/tmp8eizo396/tmp5so701m7.xml:
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8eizo396/tmp5so701m7.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s ok 31 __main__.TestCodegen.test_glib_min_required_invalid
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmppqbcfu0x
1005s # /tmp/tmppqbcfu0x/tmp28u04g65.xml:
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppqbcfu0x/tmp28u04g65.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum']
1005s # Return code: 1
1005s # Output:
1005s #
1005s # Error:
1005s # ERROR: Unrecognized --glib-min-required string ‘hello mum’
1005s ok 32 __main__.TestCodegen.test_glib_min_required_major_only
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmpman4bvlt
1005s # /tmp/tmpman4bvlt/tmphu0zkqep.xml:
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpman4bvlt/tmphu0zkqep.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s ok 33 __main__.TestCodegen.test_glib_min_required_too_low
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmp7zf03__z
1005s # /tmp/tmp7zf03__z/tmp84mo4ruh.xml:
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7zf03__z/tmp84mo4ruh.xml', '--output', '-', '--body', '--glib-min-required', '2.6']
1005s # Return code: 1
1005s # Output:
1005s #
1005s # Error:
1005s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30
1005s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmptbe5ast1
1005s # /tmp/tmptbe5ast1/tmpeg6dlfbc.xml:
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptbe5ast1/tmpeg6dlfbc.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s ok 35 __main__.TestCodegen.test_help
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmpu7dxc_i2
1005s # Running: ['/usr/bin/gdbus-codegen', '--help']
1005s # Return code: 0
1005s # Output:
1005s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
1005s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
1005s # [--c-generate-autocleanup {none,objects,all}]
1005s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
1005s # [--generate-rst OUTFILES] [--pragma-once]
1005s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
1005s # [--glib-min-required VERSION]
1005s # [--glib-max-allowed VERSION]
1005s # [--symbol-decorator SYMBOL_DECORATOR]
1005s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
1005s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
1005s # [--generate-c-code OUTFILES | --header | --body |
1005s # --interface-info-header | --interface-info-body]
1005s # [--output FILE | --output-directory OUTDIR]
1005s # FILE [FILE ...]
1005s #
1005s # D-Bus code and documentation generator
1005s #
1005s # positional arguments:
1005s # FILE D-Bus introspection XML file
1005s #
1005s # options:
1005s # -h, --help show this help message and exit
1005s # --interface-prefix PREFIX
1005s # String to strip from D-Bus interface names for code
1005s # and docs
1005s # --c-namespace NAMESPACE
1005s # The namespace to use for generated C code
1005s # --c-generate-object-manager
1005s # Generate a GDBusObjectManagerClient subclass when
1005s # generating C code
1005s # --c-generate-autocleanup {none,objects,all}
1005s # Generate autocleanup support
1005s # --generate-docbook OUTFILES
1005s # Generate Docbook in OUTFILES-org.Project.IFace.xml
1005s # --generate-md OUTFILES
1005s # Generate Markdown in OUTFILES-org.Project.IFace.md
1005s # --generate-rst OUTFILES
1005s # Generate reStructuredText in OUTFILES-
1005s # org.Project.IFace.rst
1005s # --pragma-once Use "pragma once" as the inclusion guard
1005s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
1005s # Add annotation (may be used several times)
1005s # --glib-min-required VERSION
1005s # Minimum version of GLib to be supported by the
1005s # outputted code (default: 2.30)
1005s # --glib-max-allowed VERSION
1005s # Maximum version of GLib to be used by the outputted
1005s # code (default: current GLib version)
1005s # --symbol-decorator SYMBOL_DECORATOR
1005s # Macro used to decorate a symbol in the outputted
1005s # header, possibly to export symbols
1005s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER
1005s # Additional header required for decorator specified by
1005s # --symbol-decorator
1005s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
1005s # Additional define required for decorator specified by
1005s # --symbol-decorator
1005s # --generate-c-code OUTFILES
1005s # Generate C code in OUTFILES.[ch]
1005s # --header Generate C headers
1005s # --body Generate C code
1005s # --interface-info-header
1005s # Generate GDBusInterfaceInfo C header
1005s # --interface-info-body
1005s # Generate GDBusInterfaceInfo C code
1005s # --output FILE Write output into the specified file
1005s # --output-directory OUTDIR
1005s # Location to output generated files
1005s # Error:
1005s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmp7m7tn7sg
1005s # /tmp/tmp7m7tn7sg/tmp8bygcrtb.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7m7tn7sg/tmp8bygcrtb.xml', '--generate-rst', 'test']
1005s # Return code: 0
1005s # Output:
1005s #
1005s # Error:
1005s #
1005s # /tmp/tmp7m7tn7sg/tmprgjkjne8.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7m7tn7sg/tmprgjkjne8.xml', '--generate-md', 'test']
1005s # Return code: 0
1005s # Output:
1005s #
1005s # Error:
1005s #
1005s # /tmp/tmp7m7tn7sg/tmpg8df_1ec.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7m7tn7sg/tmpg8df_1ec.xml', '--generate-docbook', 'test']
1005s # Return code: 0
1005s # Output:
1005s #
1005s # Error:
1005s ok 37 __main__.TestCodegen.test_no_args
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmpw4ddc3zu
1005s # Running: ['/usr/bin/gdbus-codegen']
1005s # Return code: 2
1005s # Output:
1005s #
1005s # Error:
1005s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
1005s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
1005s # [--c-generate-autocleanup {none,objects,all}]
1005s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
1005s # [--generate-rst OUTFILES] [--pragma-once]
1005s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
1005s # [--glib-min-required VERSION]
1005s # [--glib-max-allowed VERSION]
1005s # [--symbol-decorator SYMBOL_DECORATOR]
1005s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
1005s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
1005s # [--generate-c-code OUTFILES | --header | --body |
1005s # --interface-info-header | --interface-info-body]
1005s # [--output FILE | --output-directory OUTDIR]
1005s # FILE [FILE ...]
1005s # gdbus-codegen: error: the following arguments are required: FILE
1005s ok 38 __main__.TestCodegen.test_reproducible
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmprpst0hjy
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprpst0hjy/tmpg6zd9hx01.xml', '/tmp/tmprpst0hjy/tmpz35pjjob2.xml', '--output', '-', '--header']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s # /* Declarations for com.acme.Coyote */
1005s #
1005s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
1005s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
1005s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
1005s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
1005s #
1005s # struct _ComAcmeCoyote;
1005s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
1005s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
1005s #
1005s # struct _ComAcmeCoyoteIface
1005s # {
1005s # GTypeInterface parent_iface;
1005s #
1005s #
1005s #
1005s # gboolean (*handle_attack) (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # gboolean (*handle_run) (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # gboolean (*handle_sleep) (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # const gchar * (*get_mood) (ComAcmeCoyote *object);
1005s #
1005s # void (*surprised) (
1005s # ComAcmeCoyote *object);
1005s #
1005s # };
1005s #
1005s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
1005s #
1005s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
1005s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
1005s #
1005s #
1005s # /* D-Bus method call completion functions: */
1005s # void com_acme_coyote_complete_run (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # void com_acme_coyote_complete_sleep (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # void com_acme_coyote_complete_attack (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s #
1005s #
1005s # /* D-Bus signal emissions functions: */
1005s # void com_acme_coyote_emit_surprised (
1005s # ComAcmeCoyote *object);
1005s #
1005s #
1005s #
1005s # /* D-Bus method calls: */
1005s # void com_acme_coyote_call_run (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean com_acme_coyote_call_run_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean com_acme_coyote_call_run_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void com_acme_coyote_call_sleep (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean com_acme_coyote_call_sleep_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean com_acme_coyote_call_sleep_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void com_acme_coyote_call_attack (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean com_acme_coyote_call_attack_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean com_acme_coyote_call_attack_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s #
1005s # /* D-Bus property accessors: */
1005s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
1005s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
1005s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
1005s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
1005s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1005s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1005s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
1005s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
1005s #
1005s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
1005s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
1005s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
1005s #
1005s # struct _ComAcmeCoyoteProxy
1005s # {
1005s # /*< private >*/
1005s # GDBusProxy parent_instance;
1005s # ComAcmeCoyoteProxyPrivate *priv;
1005s # };
1005s #
1005s # struct _ComAcmeCoyoteProxyClass
1005s # {
1005s # GDBusProxyClass parent_class;
1005s # };
1005s #
1005s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
1005s # #endif
1005s #
1005s # void com_acme_coyote_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void com_acme_coyote_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
1005s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
1005s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1005s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1005s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
1005s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
1005s #
1005s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
1005s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
1005s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
1005s #
1005s # struct _ComAcmeCoyoteSkeleton
1005s # {
1005s # /*< private >*/
1005s # GDBusInterfaceSkeleton parent_instance;
1005s # ComAcmeCoyoteSkeletonPrivate *priv;
1005s # };
1005s #
1005s # struct _ComAcmeCoyoteSkeletonClass
1005s # {
1005s # GDBusInterfaceSkeletonClass parent_class;
1005s # };
1005s #
1005s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
1005s # #endif
1005s #
1005s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s # /* Declarations for org.project.Bar.Frobnicator */
1005s #
1005s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
1005s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
1005s #
1005s # struct _OrgProjectBarFrobnicator;
1005s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
1005s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
1005s #
1005s # struct _OrgProjectBarFrobnicatorIface
1005s # {
1005s # GTypeInterface parent_iface;
1005s #
1005s # gboolean (*handle_random_method) (
1005s # OrgProjectBarFrobnicator *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # };
1005s #
1005s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
1005s #
1005s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
1005s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
1005s #
1005s #
1005s # /* D-Bus method call completion functions: */
1005s # void org_project_bar_frobnicator_complete_random_method (
1005s # OrgProjectBarFrobnicator *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s #
1005s #
1005s # /* D-Bus method calls: */
1005s # void org_project_bar_frobnicator_call_random_method (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean org_project_bar_frobnicator_call_random_method_finish (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean org_project_bar_frobnicator_call_random_method_sync (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1005s #
1005s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
1005s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
1005s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
1005s #
1005s # struct _OrgProjectBarFrobnicatorProxy
1005s # {
1005s # /*< private >*/
1005s # GDBusProxy parent_instance;
1005s # OrgProjectBarFrobnicatorProxyPrivate *priv;
1005s # };
1005s #
1005s # struct _OrgProjectBarFrobnicatorProxyClass
1005s # {
1005s # GDBusProxyClass parent_class;
1005s # };
1005s #
1005s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
1005s # #endif
1005s #
1005s # void org_project_bar_frobnicator_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void org_project_bar_frobnicator_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1005s #
1005s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
1005s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
1005s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
1005s #
1005s # struct _OrgProjectBarFrobnicatorSkeleton
1005s # {
1005s # /*< private >*/
1005s # GDBusInterfaceSkeleton parent_instance;
1005s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
1005s # };
1005s #
1005s # struct _OrgProjectBarFrobnicatorSkeletonClass
1005s # {
1005s # GDBusInterfaceSkeletonClass parent_class;
1005s # };
1005s #
1005s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
1005s # #endif
1005s #
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprpst0hjy/tmpz35pjjob2.xml', '/tmp/tmprpst0hjy/tmpg6zd9hx01.xml', '--output', '-', '--header']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s # /* Declarations for com.acme.Coyote */
1005s #
1005s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
1005s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
1005s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
1005s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
1005s #
1005s # struct _ComAcmeCoyote;
1005s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
1005s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
1005s #
1005s # struct _ComAcmeCoyoteIface
1005s # {
1005s # GTypeInterface parent_iface;
1005s #
1005s #
1005s #
1005s # gboolean (*handle_attack) (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # gboolean (*handle_run) (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # gboolean (*handle_sleep) (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # const gchar * (*get_mood) (ComAcmeCoyote *object);
1005s #
1005s # void (*surprised) (
1005s # ComAcmeCoyote *object);
1005s #
1005s # };
1005s #
1005s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
1005s #
1005s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
1005s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
1005s #
1005s #
1005s # /* D-Bus method call completion functions: */
1005s # void com_acme_coyote_complete_run (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # void com_acme_coyote_complete_sleep (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # void com_acme_coyote_complete_attack (
1005s # ComAcmeCoyote *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s #
1005s #
1005s # /* D-Bus signal emissions functions: */
1005s # void com_acme_coyote_emit_surprised (
1005s # ComAcmeCoyote *object);
1005s #
1005s #
1005s #
1005s # /* D-Bus method calls: */
1005s # void com_acme_coyote_call_run (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean com_acme_coyote_call_run_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean com_acme_coyote_call_run_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void com_acme_coyote_call_sleep (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean com_acme_coyote_call_sleep_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean com_acme_coyote_call_sleep_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void com_acme_coyote_call_attack (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean com_acme_coyote_call_attack_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean com_acme_coyote_call_attack_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s #
1005s # /* D-Bus property accessors: */
1005s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
1005s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
1005s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
1005s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
1005s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1005s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
1005s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
1005s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
1005s #
1005s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
1005s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
1005s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
1005s #
1005s # struct _ComAcmeCoyoteProxy
1005s # {
1005s # /*< private >*/
1005s # GDBusProxy parent_instance;
1005s # ComAcmeCoyoteProxyPrivate *priv;
1005s # };
1005s #
1005s # struct _ComAcmeCoyoteProxyClass
1005s # {
1005s # GDBusProxyClass parent_class;
1005s # };
1005s #
1005s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
1005s # #endif
1005s #
1005s # void com_acme_coyote_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void com_acme_coyote_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
1005s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
1005s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1005s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
1005s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
1005s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
1005s #
1005s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
1005s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
1005s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
1005s #
1005s # struct _ComAcmeCoyoteSkeleton
1005s # {
1005s # /*< private >*/
1005s # GDBusInterfaceSkeleton parent_instance;
1005s # ComAcmeCoyoteSkeletonPrivate *priv;
1005s # };
1005s #
1005s # struct _ComAcmeCoyoteSkeletonClass
1005s # {
1005s # GDBusInterfaceSkeletonClass parent_class;
1005s # };
1005s #
1005s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
1005s # #endif
1005s #
1005s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s # /* Declarations for org.project.Bar.Frobnicator */
1005s #
1005s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
1005s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
1005s #
1005s # struct _OrgProjectBarFrobnicator;
1005s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
1005s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
1005s #
1005s # struct _OrgProjectBarFrobnicatorIface
1005s # {
1005s # GTypeInterface parent_iface;
1005s #
1005s # gboolean (*handle_random_method) (
1005s # OrgProjectBarFrobnicator *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s # };
1005s #
1005s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
1005s #
1005s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
1005s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
1005s #
1005s #
1005s # /* D-Bus method call completion functions: */
1005s # void org_project_bar_frobnicator_complete_random_method (
1005s # OrgProjectBarFrobnicator *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s #
1005s #
1005s # /* D-Bus method calls: */
1005s # void org_project_bar_frobnicator_call_random_method (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean org_project_bar_frobnicator_call_random_method_finish (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean org_project_bar_frobnicator_call_random_method_sync (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
1005s #
1005s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
1005s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
1005s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
1005s #
1005s # struct _OrgProjectBarFrobnicatorProxy
1005s # {
1005s # /*< private >*/
1005s # GDBusProxy parent_instance;
1005s # OrgProjectBarFrobnicatorProxyPrivate *priv;
1005s # };
1005s #
1005s # struct _OrgProjectBarFrobnicatorProxyClass
1005s # {
1005s # GDBusProxyClass parent_class;
1005s # };
1005s #
1005s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
1005s # #endif
1005s #
1005s # void org_project_bar_frobnicator_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void org_project_bar_frobnicator_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1005s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1005s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
1005s #
1005s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
1005s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
1005s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
1005s #
1005s # struct _OrgProjectBarFrobnicatorSkeleton
1005s # {
1005s # /*< private >*/
1005s # GDBusInterfaceSkeleton parent_instance;
1005s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
1005s # };
1005s #
1005s # struct _OrgProjectBarFrobnicatorSkeletonClass
1005s # {
1005s # GDBusInterfaceSkeletonClass parent_class;
1005s # };
1005s #
1005s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
1005s # #endif
1005s #
1005s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprpst0hjy/tmpg6zd9hx01.xml', '/tmp/tmprpst0hjy/tmpz35pjjob2.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static void
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint G_GNUC_UNUSED,
1005s # void *marshal_data)
1005s # {
1005s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1005s # (void *data1,
1005s # GDBusMethodInvocation *arg_method_invocation,
1005s # void *data2);
1005s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1005s # GCClosure *cc = (GCClosure*) closure;
1005s # void *data1, *data2;
1005s # gboolean v_return;
1005s #
1005s # g_return_if_fail (return_value != NULL);
1005s # g_return_if_fail (n_param_values == 2);
1005s #
1005s # if (G_CCLOSURE_SWAP_DATA (closure))
1005s # {
1005s # data1 = closure->data;
1005s # data2 = g_value_peek_pointer (param_values + 0);
1005s # }
1005s # else
1005s # {
1005s # data1 = g_value_peek_pointer (param_values + 0);
1005s # data2 = closure->data;
1005s # }
1005s #
1005s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1005s # (marshal_data ? marshal_data : cc->callback);
1005s #
1005s # v_return =
1005s # callback (data1,
1005s # g_marshal_value_peek_object (param_values + 1),
1005s # data2);
1005s #
1005s # g_value_set_boolean (return_value, v_return);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface com.acme.Coyote
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:ComAcmeCoyote
1005s # * @title: ComAcmeCoyote
1005s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
1005s # *
1005s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _COM_ACME_COYOTE_SURPRISED,
1005s # };
1005s #
1005s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
1005s #
1005s # /* ---- Introspection data for com.acme.Coyote ---- */
1005s #
1005s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Run",
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "handle-run",
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Sleep",
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "handle-sleep",
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Attack",
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "handle-attack",
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
1005s # {
1005s # &_com_acme_coyote_method_info_run.parent_struct,
1005s # &_com_acme_coyote_method_info_sleep.parent_struct,
1005s # &_com_acme_coyote_method_info_attack.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Surprised",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "surprised"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
1005s # {
1005s # &_com_acme_coyote_signal_info_surprised.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Mood",
1005s # (gchar *) "s",
1005s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1005s # NULL
1005s # },
1005s # "mood",
1005s # FALSE,
1005s # TRUE
1005s # };
1005s #
1005s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
1005s # {
1005s # &_com_acme_coyote_property_info_mood.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "com.acme.Coyote",
1005s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
1005s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
1005s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
1005s # NULL
1005s # },
1005s # "com-acme-coyote",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * com_acme_coyote_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # com_acme_coyote_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
1005s # {
1005s # g_object_class_override_property (klass, property_id_begin++, "mood");
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # com_acme_coyote_signal_marshal_surprised (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # com_acme_coyote_method_marshal_run (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # com_acme_coyote_method_marshal_sleep (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # com_acme_coyote_method_marshal_attack (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * ComAcmeCoyote:
1005s # *
1005s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
1005s # */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteIface:
1005s # * @parent_iface: The parent interface.
1005s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
1005s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
1005s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
1005s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
1005s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
1005s # *
1005s # * Virtual table for the D-Bus interface com.acme.Coyote.
1005s # */
1005s #
1005s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
1005s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
1005s # {
1005s # /* GObject signals for incoming D-Bus method calls: */
1005s # /**
1005s # * ComAcmeCoyote::handle-run:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: A #GDBusMethodInvocation.
1005s # *
1005s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # g_signal_new ("handle-run",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
1005s # g_signal_accumulator_true_handled,
1005s # NULL,
1005s # com_acme_coyote_method_marshal_run,
1005s # G_TYPE_BOOLEAN,
1005s # 1,
1005s # G_TYPE_DBUS_METHOD_INVOCATION);
1005s #
1005s # /**
1005s # * ComAcmeCoyote::handle-sleep:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: A #GDBusMethodInvocation.
1005s # *
1005s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # g_signal_new ("handle-sleep",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
1005s # g_signal_accumulator_true_handled,
1005s # NULL,
1005s # com_acme_coyote_method_marshal_sleep,
1005s # G_TYPE_BOOLEAN,
1005s # 1,
1005s # G_TYPE_DBUS_METHOD_INVOCATION);
1005s #
1005s # /**
1005s # * ComAcmeCoyote::handle-attack:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: A #GDBusMethodInvocation.
1005s # *
1005s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # g_signal_new ("handle-attack",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
1005s # g_signal_accumulator_true_handled,
1005s # NULL,
1005s # com_acme_coyote_method_marshal_attack,
1005s # G_TYPE_BOOLEAN,
1005s # 1,
1005s # G_TYPE_DBUS_METHOD_INVOCATION);
1005s #
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * ComAcmeCoyote::surprised:
1005s # * @object: A #ComAcmeCoyote.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
1005s # g_signal_new ("surprised",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
1005s # NULL,
1005s # NULL,
1005s # com_acme_coyote_signal_marshal_surprised,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /* GObject properties for D-Bus properties: */
1005s # /**
1005s # * ComAcmeCoyote:mood:
1005s # *
1005s # * Represents the D-Bus property "Mood".
1005s # *
1005s # * 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.
1005s # */
1005s # g_object_interface_install_property (iface,
1005s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_get_mood: (skip)
1005s # * @object: A #ComAcmeCoyote.
1005s # *
1005s # * Gets the value of the "Mood" D-Bus property.
1005s # *
1005s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # const gchar *
1005s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
1005s # {
1005s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
1005s #
1005s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_dup_mood: (skip)
1005s # * @object: A #ComAcmeCoyote.
1005s # *
1005s # * Gets a copy of the "Mood" D-Bus property.
1005s # *
1005s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1005s # *
1005s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
1005s # */
1005s # gchar *
1005s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
1005s # {
1005s # gchar *value;
1005s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
1005s # return value;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_set_mood: (skip)
1005s # * @object: A #ComAcmeCoyote.
1005s # * @value: The value to set.
1005s # *
1005s # * Sets the "Mood" D-Bus property to @value.
1005s # *
1005s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1005s # */
1005s # void
1005s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
1005s # {
1005s # g_object_set (G_OBJECT (object), "mood", value, NULL);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_emit_surprised:
1005s # * @object: A #ComAcmeCoyote.
1005s # *
1005s # * Emits the "Surprised" D-Bus signal.
1005s # */
1005s # void
1005s # com_acme_coyote_emit_surprised (
1005s # ComAcmeCoyote *object)
1005s # {
1005s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_run:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously invokes the Run() D-Bus method on @proxy.
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
1005s # */
1005s # void
1005s # com_acme_coyote_call_run (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1005s # "Run",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # callback,
1005s # user_data);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_run_finish:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_call_run().
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_run_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_run_sync:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_run_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1005s # "Run",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_sleep:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
1005s # */
1005s # void
1005s # com_acme_coyote_call_sleep (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1005s # "Sleep",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # callback,
1005s # user_data);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_sleep_finish:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_call_sleep().
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_sleep_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_sleep_sync:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_sleep_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1005s # "Sleep",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_attack:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
1005s # */
1005s # void
1005s # com_acme_coyote_call_attack (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1005s # "Attack",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # callback,
1005s # user_data);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_attack_finish:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_call_attack().
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_attack_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_attack_sync:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_attack_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1005s # "Attack",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_complete_run:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1005s # *
1005s # * 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.
1005s # *
1005s # * This method will free @invocation, you cannot use it afterwards.
1005s # */
1005s # void
1005s # com_acme_coyote_complete_run (
1005s # ComAcmeCoyote *object G_GNUC_UNUSED,
1005s # GDBusMethodInvocation *invocation)
1005s # {
1005s # g_dbus_method_invocation_return_value (invocation,
1005s # g_variant_new ("()"));
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_complete_sleep:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1005s # *
1005s # * 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.
1005s # *
1005s # * This method will free @invocation, you cannot use it afterwards.
1005s # */
1005s # void
1005s # com_acme_coyote_complete_sleep (
1005s # ComAcmeCoyote *object G_GNUC_UNUSED,
1005s # GDBusMethodInvocation *invocation)
1005s # {
1005s # g_dbus_method_invocation_return_value (invocation,
1005s # g_variant_new ("()"));
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_complete_attack:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1005s # *
1005s # * 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.
1005s # *
1005s # * This method will free @invocation, you cannot use it afterwards.
1005s # */
1005s # void
1005s # com_acme_coyote_complete_attack (
1005s # ComAcmeCoyote *object G_GNUC_UNUSED,
1005s # GDBusMethodInvocation *invocation)
1005s # {
1005s # g_dbus_method_invocation_return_value (invocation,
1005s # g_variant_new ("()"));
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteProxy:
1005s # *
1005s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #ComAcmeCoyoteProxy.
1005s # */
1005s #
1005s # struct _ComAcmeCoyoteProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # com_acme_coyote_proxy_finalize (GObject *object)
1005s # {
1005s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_get_property (GObject *object,
1005s # guint prop_id,
1005s # GValue *value,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *variant;
1005s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1005s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1005s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1005s # if (info->use_gvariant)
1005s # {
1005s # g_value_set_variant (value, variant);
1005s # }
1005s # else
1005s # {
1005s # if (variant != NULL)
1005s # g_dbus_gvariant_to_gvalue (variant, value);
1005s # }
1005s # if (variant != NULL)
1005s # g_variant_unref (variant);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
1005s # GAsyncResult *res,
1005s # gpointer user_data)
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info = user_data;
1005s # GError *error;
1005s # GVariant *_ret;
1005s # error = NULL;
1005s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1005s # if (!_ret)
1005s # {
1005s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
1005s # info->parent_struct.name,
1005s # error->message, g_quark_to_string (error->domain), error->code);
1005s # g_error_free (error);
1005s # }
1005s # else
1005s # {
1005s # g_variant_unref (_ret);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_set_property (GObject *object,
1005s # guint prop_id,
1005s # const GValue *value,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *variant;
1005s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1005s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1005s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1005s # "org.freedesktop.DBus.Properties.Set",
1005s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1005s # g_variant_unref (variant);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static const gchar *
1005s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
1005s # {
1005s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1005s # GVariant *variant;
1005s # const gchar *value = NULL;
1005s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
1005s # if (variant != NULL)
1005s # {
1005s # value = g_variant_get_string (variant, NULL);
1005s # g_variant_unref (variant);
1005s # }
1005s # return value;
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
1005s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
1005s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
1005s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
1005s #
1005s # com_acme_coyote_override_properties (gobject_class, 1);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
1005s # {
1005s # iface->get_mood = com_acme_coyote_proxy_get_mood;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # com_acme_coyote_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return COM_ACME_COYOTE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return COM_ACME_COYOTE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # com_acme_coyote_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return COM_ACME_COYOTE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return COM_ACME_COYOTE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteSkeleton:
1005s # *
1005s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #ComAcmeCoyoteSkeleton.
1005s # */
1005s #
1005s # struct _ComAcmeCoyoteSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _com_acme_coyote_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _com_acme_coyote_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _com_acme_coyote_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
1005s # {
1005s # _com_acme_coyote_skeleton_handle_method_call,
1005s # _com_acme_coyote_skeleton_handle_get_property,
1005s # _com_acme_coyote_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return com_acme_coyote_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1005s # gboolean emit_changed = FALSE;
1005s #
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # {
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # skeleton->priv->changed_properties_idle_source = NULL;
1005s # emit_changed = TRUE;
1005s # }
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s #
1005s # if (emit_changed)
1005s # _com_acme_coyote_emit_changed (skeleton);
1005s # }
1005s #
1005s # static void
1005s # _com_acme_coyote_on_signal_surprised (
1005s # ComAcmeCoyote *object)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # com_acme_coyote_skeleton_finalize (GObject *object)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # guint n;
1005s # for (n = 0; n < 1; n++)
1005s # g_value_unset (&skeleton->priv->properties[n]);
1005s # g_free (skeleton->priv->properties);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_get_property (GObject *object,
1005s # guint prop_id,
1005s # GValue *value,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # }
1005s #
1005s # static gboolean
1005s # _com_acme_coyote_emit_changed (gpointer user_data)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1005s # GList *l;
1005s # GVariantBuilder builder;
1005s # GVariantBuilder invalidated_builder;
1005s # guint num_changes;
1005s #
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1005s # #else
1005s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1005s # #endif
1005s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1005s # {
1005s # ChangedProperty *cp = l->data;
1005s # GVariant *variant;
1005s # const GValue *cur_value;
1005s #
1005s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1005s # if (!_g_value_equal (cur_value, &cp->orig_value))
1005s # {
1005s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1005s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1005s # g_variant_unref (variant);
1005s # num_changes++;
1005s # }
1005s # }
1005s # if (num_changes > 0)
1005s # {
1005s # GList *connections, *ll;
1005s # GVariant *signal_variant;
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
1005s # &builder, &invalidated_builder));
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s # for (ll = connections; ll != NULL; ll = ll->next)
1005s # {
1005s # GDBusConnection *connection = ll->data;
1005s #
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1005s # "org.freedesktop.DBus.Properties",
1005s # "PropertiesChanged",
1005s # signal_variant,
1005s # NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s # else
1005s # {
1005s # g_variant_builder_clear (&builder);
1005s # g_variant_builder_clear (&invalidated_builder);
1005s # }
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # skeleton->priv->changed_properties = NULL;
1005s # skeleton->priv->changed_properties_idle_source = NULL;
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # return FALSE;
1005s # }
1005s #
1005s # static void
1005s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1005s # {
1005s # ChangedProperty *cp;
1005s # GList *l;
1005s # cp = NULL;
1005s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1005s # {
1005s # ChangedProperty *i_cp = l->data;
1005s # if (i_cp->info == info)
1005s # {
1005s # cp = i_cp;
1005s # break;
1005s # }
1005s # }
1005s # if (cp == NULL)
1005s # {
1005s # cp = g_new0 (ChangedProperty, 1);
1005s # cp->prop_id = prop_id;
1005s # cp->info = info;
1005s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1005s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1005s # g_value_copy (orig_value, &cp->orig_value);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_notify (GObject *object,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # if (skeleton->priv->changed_properties != NULL &&
1005s # skeleton->priv->changed_properties_idle_source == NULL)
1005s # {
1005s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1005s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1005s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1005s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
1005s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1005s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1005s # }
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_set_property (GObject *object,
1005s # guint prop_id,
1005s # const GValue *value,
1005s # GParamSpec *pspec)
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1005s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # g_object_freeze_notify (object);
1005s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1005s # {
1005s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1005s # info->emits_changed_signal)
1005s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1005s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1005s # g_object_notify_by_pspec (object, pspec);
1005s # }
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # g_object_thaw_notify (object);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # skeleton->priv->properties = g_new0 (GValue, 1);
1005s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
1005s # }
1005s #
1005s # static const gchar *
1005s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # const gchar *value;
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # return value;
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
1005s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
1005s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
1005s # gobject_class->notify = com_acme_coyote_skeleton_notify;
1005s #
1005s #
1005s # com_acme_coyote_override_properties (gobject_class, 1);
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
1005s # {
1005s # iface->surprised = _com_acme_coyote_on_signal_surprised;
1005s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_skeleton_new (void)
1005s # {
1005s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.Bar.Frobnicator
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectBarFrobnicator
1005s # * @title: OrgProjectBarFrobnicator
1005s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
1005s # */
1005s #
1005s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
1005s #
1005s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "RandomMethod",
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "handle-random-method",
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
1005s # {
1005s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.Bar.Frobnicator",
1005s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-bar-frobnicator",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_bar_frobnicator_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_bar_frobnicator_method_marshal_random_method (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicator:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorIface:
1005s # * @parent_iface: The parent interface.
1005s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
1005s # */
1005s #
1005s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
1005s # {
1005s # /* GObject signals for incoming D-Bus method calls: */
1005s # /**
1005s # * OrgProjectBarFrobnicator::handle-random-method:
1005s # * @object: A #OrgProjectBarFrobnicator.
1005s # * @invocation: A #GDBusMethodInvocation.
1005s # *
1005s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # g_signal_new ("handle-random-method",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
1005s # g_signal_accumulator_true_handled,
1005s # NULL,
1005s # org_project_bar_frobnicator_method_marshal_random_method,
1005s # G_TYPE_BOOLEAN,
1005s # 1,
1005s # G_TYPE_DBUS_METHOD_INVOCATION);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_call_random_method:
1005s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
1005s # */
1005s # void
1005s # org_project_bar_frobnicator_call_random_method (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1005s # "RandomMethod",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # callback,
1005s # user_data);
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_call_random_method_finish:
1005s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # org_project_bar_frobnicator_call_random_method_finish (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_call_random_method_sync:
1005s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # org_project_bar_frobnicator_call_random_method_sync (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1005s # "RandomMethod",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_complete_random_method:
1005s # * @object: A #OrgProjectBarFrobnicator.
1005s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1005s # *
1005s # * 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.
1005s # *
1005s # * This method will free @invocation, you cannot use it afterwards.
1005s # */
1005s # void
1005s # org_project_bar_frobnicator_complete_random_method (
1005s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
1005s # GDBusMethodInvocation *invocation)
1005s # {
1005s # g_dbus_method_invocation_return_value (invocation,
1005s # g_variant_new ("()"));
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorProxy:
1005s # *
1005s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectBarFrobnicatorProxy.
1005s # */
1005s #
1005s # struct _OrgProjectBarFrobnicatorProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
1005s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
1005s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_bar_frobnicator_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_bar_frobnicator_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorSkeleton:
1005s # *
1005s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_bar_frobnicator_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_bar_frobnicator_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_bar_frobnicator_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
1005s # {
1005s # _org_project_bar_frobnicator_skeleton_handle_method_call,
1005s # _org_project_bar_frobnicator_skeleton_handle_get_property,
1005s # _org_project_bar_frobnicator_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_bar_frobnicator_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
1005s # }
1005s # Error:
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprpst0hjy/tmpz35pjjob2.xml', '/tmp/tmprpst0hjy/tmpg6zd9hx01.xml', '--output', '-', '--body']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifdef HAVE_CONFIG_H
1005s # # include "config.h"
1005s # #endif
1005s #
1005s # #include
1005s # #ifdef G_OS_UNIX
1005s # # include
1005s # #endif
1005s #
1005s # #ifdef G_ENABLE_DEBUG
1005s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1005s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1005s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1005s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1005s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1005s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1005s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1005s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1005s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1005s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1005s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1005s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1005s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1005s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1005s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1005s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1005s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1005s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1005s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1005s # #else /* !G_ENABLE_DEBUG */
1005s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1005s # * Do not access GValues directly in your code. Instead, use the
1005s # * g_value_get_*() functions
1005s # */
1005s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1005s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1005s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1005s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1005s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1005s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1005s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1005s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1005s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1005s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1005s # #endif /* !G_ENABLE_DEBUG */
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusArgInfo parent_struct;
1005s # gboolean use_gvariant;
1005s # } _ExtendedGDBusArgInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusMethodInfo parent_struct;
1005s # const gchar *signal_name;
1005s # gboolean pass_fdlist;
1005s # } _ExtendedGDBusMethodInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusSignalInfo parent_struct;
1005s # const gchar *signal_name;
1005s # } _ExtendedGDBusSignalInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusPropertyInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # guint use_gvariant : 1;
1005s # guint emits_changed_signal : 1;
1005s # } _ExtendedGDBusPropertyInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # GDBusInterfaceInfo parent_struct;
1005s # const gchar *hyphen_name;
1005s # } _ExtendedGDBusInterfaceInfo;
1005s #
1005s # typedef struct
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # guint prop_id;
1005s # GValue orig_value; /* the value before the change */
1005s # } ChangedProperty;
1005s #
1005s # static void
1005s # _changed_property_free (ChangedProperty *data)
1005s # {
1005s # g_value_unset (&data->orig_value);
1005s # g_free (data);
1005s # }
1005s #
1005s # static gboolean
1005s # _g_strv_equal0 (gchar **a, gchar **b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # guint n;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # if (g_strv_length (a) != g_strv_length (b))
1005s # goto out;
1005s # for (n = 0; a[n] != NULL; n++)
1005s # if (g_strcmp0 (a[n], b[n]) != 0)
1005s # goto out;
1005s # ret = TRUE;
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _g_variant_equal0 (GVariant *a, GVariant *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # if (a == NULL && b == NULL)
1005s # {
1005s # ret = TRUE;
1005s # goto out;
1005s # }
1005s # if (a == NULL || b == NULL)
1005s # goto out;
1005s # ret = g_variant_equal (a, b);
1005s # out:
1005s # return ret;
1005s # }
1005s #
1005s # G_GNUC_UNUSED static gboolean
1005s # _g_value_equal (const GValue *a, const GValue *b)
1005s # {
1005s # gboolean ret = FALSE;
1005s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
1005s # switch (G_VALUE_TYPE (a))
1005s # {
1005s # case G_TYPE_BOOLEAN:
1005s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
1005s # break;
1005s # case G_TYPE_UCHAR:
1005s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
1005s # break;
1005s # case G_TYPE_INT:
1005s # ret = (g_value_get_int (a) == g_value_get_int (b));
1005s # break;
1005s # case G_TYPE_UINT:
1005s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
1005s # break;
1005s # case G_TYPE_INT64:
1005s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
1005s # break;
1005s # case G_TYPE_UINT64:
1005s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
1005s # break;
1005s # case G_TYPE_DOUBLE:
1005s # {
1005s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
1005s # gdouble da = g_value_get_double (a);
1005s # gdouble db = g_value_get_double (b);
1005s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
1005s # }
1005s # break;
1005s # case G_TYPE_STRING:
1005s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
1005s # break;
1005s # case G_TYPE_VARIANT:
1005s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
1005s # break;
1005s # default:
1005s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
1005s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
1005s # else
1005s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
1005s # break;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static void
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint G_GNUC_UNUSED,
1005s # void *marshal_data)
1005s # {
1005s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
1005s # (void *data1,
1005s # GDBusMethodInvocation *arg_method_invocation,
1005s # void *data2);
1005s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
1005s # GCClosure *cc = (GCClosure*) closure;
1005s # void *data1, *data2;
1005s # gboolean v_return;
1005s #
1005s # g_return_if_fail (return_value != NULL);
1005s # g_return_if_fail (n_param_values == 2);
1005s #
1005s # if (G_CCLOSURE_SWAP_DATA (closure))
1005s # {
1005s # data1 = closure->data;
1005s # data2 = g_value_peek_pointer (param_values + 0);
1005s # }
1005s # else
1005s # {
1005s # data1 = g_value_peek_pointer (param_values + 0);
1005s # data2 = closure->data;
1005s # }
1005s #
1005s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
1005s # (marshal_data ? marshal_data : cc->callback);
1005s #
1005s # v_return =
1005s # callback (data1,
1005s # g_marshal_value_peek_object (param_values + 1),
1005s # data2);
1005s #
1005s # g_value_set_boolean (return_value, v_return);
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface com.acme.Coyote
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:ComAcmeCoyote
1005s # * @title: ComAcmeCoyote
1005s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
1005s # *
1005s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
1005s # */
1005s #
1005s # enum
1005s # {
1005s # _COM_ACME_COYOTE_SURPRISED,
1005s # };
1005s #
1005s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
1005s #
1005s # /* ---- Introspection data for com.acme.Coyote ---- */
1005s #
1005s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Run",
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "handle-run",
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Sleep",
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "handle-sleep",
1005s # FALSE
1005s # };
1005s #
1005s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Attack",
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "handle-attack",
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
1005s # {
1005s # &_com_acme_coyote_method_info_run.parent_struct,
1005s # &_com_acme_coyote_method_info_sleep.parent_struct,
1005s # &_com_acme_coyote_method_info_attack.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Surprised",
1005s # NULL,
1005s # NULL
1005s # },
1005s # "surprised"
1005s # };
1005s #
1005s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
1005s # {
1005s # &_com_acme_coyote_signal_info_surprised.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "Mood",
1005s # (gchar *) "s",
1005s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
1005s # NULL
1005s # },
1005s # "mood",
1005s # FALSE,
1005s # TRUE
1005s # };
1005s #
1005s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
1005s # {
1005s # &_com_acme_coyote_property_info_mood.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "com.acme.Coyote",
1005s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
1005s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
1005s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
1005s # NULL
1005s # },
1005s # "com-acme-coyote",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * com_acme_coyote_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # com_acme_coyote_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
1005s # {
1005s # g_object_class_override_property (klass, property_id_begin++, "mood");
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # com_acme_coyote_signal_marshal_surprised (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # g_cclosure_marshal_VOID__VOID (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # com_acme_coyote_method_marshal_run (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # com_acme_coyote_method_marshal_sleep (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s # inline static void
1005s # com_acme_coyote_method_marshal_attack (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * ComAcmeCoyote:
1005s # *
1005s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
1005s # */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteIface:
1005s # * @parent_iface: The parent interface.
1005s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
1005s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
1005s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
1005s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
1005s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
1005s # *
1005s # * Virtual table for the D-Bus interface com.acme.Coyote.
1005s # */
1005s #
1005s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
1005s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
1005s # {
1005s # /* GObject signals for incoming D-Bus method calls: */
1005s # /**
1005s # * ComAcmeCoyote::handle-run:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: A #GDBusMethodInvocation.
1005s # *
1005s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # g_signal_new ("handle-run",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
1005s # g_signal_accumulator_true_handled,
1005s # NULL,
1005s # com_acme_coyote_method_marshal_run,
1005s # G_TYPE_BOOLEAN,
1005s # 1,
1005s # G_TYPE_DBUS_METHOD_INVOCATION);
1005s #
1005s # /**
1005s # * ComAcmeCoyote::handle-sleep:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: A #GDBusMethodInvocation.
1005s # *
1005s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # g_signal_new ("handle-sleep",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
1005s # g_signal_accumulator_true_handled,
1005s # NULL,
1005s # com_acme_coyote_method_marshal_sleep,
1005s # G_TYPE_BOOLEAN,
1005s # 1,
1005s # G_TYPE_DBUS_METHOD_INVOCATION);
1005s #
1005s # /**
1005s # * ComAcmeCoyote::handle-attack:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: A #GDBusMethodInvocation.
1005s # *
1005s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # g_signal_new ("handle-attack",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
1005s # g_signal_accumulator_true_handled,
1005s # NULL,
1005s # com_acme_coyote_method_marshal_attack,
1005s # G_TYPE_BOOLEAN,
1005s # 1,
1005s # G_TYPE_DBUS_METHOD_INVOCATION);
1005s #
1005s # /* GObject signals for received D-Bus signals: */
1005s # /**
1005s # * ComAcmeCoyote::surprised:
1005s # * @object: A #ComAcmeCoyote.
1005s # *
1005s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
1005s # *
1005s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
1005s # */
1005s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
1005s # g_signal_new ("surprised",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
1005s # NULL,
1005s # NULL,
1005s # com_acme_coyote_signal_marshal_surprised,
1005s # G_TYPE_NONE,
1005s # 0);
1005s #
1005s # /* GObject properties for D-Bus properties: */
1005s # /**
1005s # * ComAcmeCoyote:mood:
1005s # *
1005s # * Represents the D-Bus property "Mood".
1005s # *
1005s # * 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.
1005s # */
1005s # g_object_interface_install_property (iface,
1005s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_get_mood: (skip)
1005s # * @object: A #ComAcmeCoyote.
1005s # *
1005s # * Gets the value of the "Mood" D-Bus property.
1005s # *
1005s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # const gchar *
1005s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
1005s # {
1005s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
1005s #
1005s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_dup_mood: (skip)
1005s # * @object: A #ComAcmeCoyote.
1005s # *
1005s # * Gets a copy of the "Mood" D-Bus property.
1005s # *
1005s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
1005s # *
1005s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
1005s # */
1005s # gchar *
1005s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
1005s # {
1005s # gchar *value;
1005s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
1005s # return value;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_set_mood: (skip)
1005s # * @object: A #ComAcmeCoyote.
1005s # * @value: The value to set.
1005s # *
1005s # * Sets the "Mood" D-Bus property to @value.
1005s # *
1005s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
1005s # */
1005s # void
1005s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
1005s # {
1005s # g_object_set (G_OBJECT (object), "mood", value, NULL);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_emit_surprised:
1005s # * @object: A #ComAcmeCoyote.
1005s # *
1005s # * Emits the "Surprised" D-Bus signal.
1005s # */
1005s # void
1005s # com_acme_coyote_emit_surprised (
1005s # ComAcmeCoyote *object)
1005s # {
1005s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_run:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously invokes the Run() D-Bus method on @proxy.
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
1005s # */
1005s # void
1005s # com_acme_coyote_call_run (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1005s # "Run",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # callback,
1005s # user_data);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_run_finish:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_call_run().
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_run_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_run_sync:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_run_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1005s # "Run",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_sleep:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
1005s # */
1005s # void
1005s # com_acme_coyote_call_sleep (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1005s # "Sleep",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # callback,
1005s # user_data);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_sleep_finish:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_call_sleep().
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_sleep_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_sleep_sync:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_sleep_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1005s # "Sleep",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_attack:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
1005s # */
1005s # void
1005s # com_acme_coyote_call_attack (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1005s # "Attack",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # callback,
1005s # user_data);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_attack_finish:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_call_attack().
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_attack_finish (
1005s # ComAcmeCoyote *proxy,
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_call_attack_sync:
1005s # * @proxy: A #ComAcmeCoyoteProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # com_acme_coyote_call_attack_sync (
1005s # ComAcmeCoyote *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1005s # "Attack",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_complete_run:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1005s # *
1005s # * 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.
1005s # *
1005s # * This method will free @invocation, you cannot use it afterwards.
1005s # */
1005s # void
1005s # com_acme_coyote_complete_run (
1005s # ComAcmeCoyote *object G_GNUC_UNUSED,
1005s # GDBusMethodInvocation *invocation)
1005s # {
1005s # g_dbus_method_invocation_return_value (invocation,
1005s # g_variant_new ("()"));
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_complete_sleep:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1005s # *
1005s # * 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.
1005s # *
1005s # * This method will free @invocation, you cannot use it afterwards.
1005s # */
1005s # void
1005s # com_acme_coyote_complete_sleep (
1005s # ComAcmeCoyote *object G_GNUC_UNUSED,
1005s # GDBusMethodInvocation *invocation)
1005s # {
1005s # g_dbus_method_invocation_return_value (invocation,
1005s # g_variant_new ("()"));
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_complete_attack:
1005s # * @object: A #ComAcmeCoyote.
1005s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1005s # *
1005s # * 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.
1005s # *
1005s # * This method will free @invocation, you cannot use it afterwards.
1005s # */
1005s # void
1005s # com_acme_coyote_complete_attack (
1005s # ComAcmeCoyote *object G_GNUC_UNUSED,
1005s # GDBusMethodInvocation *invocation)
1005s # {
1005s # g_dbus_method_invocation_return_value (invocation,
1005s # g_variant_new ("()"));
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteProxy:
1005s # *
1005s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #ComAcmeCoyoteProxy.
1005s # */
1005s #
1005s # struct _ComAcmeCoyoteProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # com_acme_coyote_proxy_finalize (GObject *object)
1005s # {
1005s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_get_property (GObject *object,
1005s # guint prop_id,
1005s # GValue *value,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *variant;
1005s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1005s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1005s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
1005s # if (info->use_gvariant)
1005s # {
1005s # g_value_set_variant (value, variant);
1005s # }
1005s # else
1005s # {
1005s # if (variant != NULL)
1005s # g_dbus_gvariant_to_gvalue (variant, value);
1005s # }
1005s # if (variant != NULL)
1005s # g_variant_unref (variant);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
1005s # GAsyncResult *res,
1005s # gpointer user_data)
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info = user_data;
1005s # GError *error;
1005s # GVariant *_ret;
1005s # error = NULL;
1005s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
1005s # if (!_ret)
1005s # {
1005s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
1005s # info->parent_struct.name,
1005s # error->message, g_quark_to_string (error->domain), error->code);
1005s # g_error_free (error);
1005s # }
1005s # else
1005s # {
1005s # g_variant_unref (_ret);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_set_property (GObject *object,
1005s # guint prop_id,
1005s # const GValue *value,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *variant;
1005s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1005s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1005s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_dbus_proxy_call (G_DBUS_PROXY (object),
1005s # "org.freedesktop.DBus.Properties.Set",
1005s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
1005s # g_variant_unref (variant);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static const gchar *
1005s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
1005s # {
1005s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
1005s # GVariant *variant;
1005s # const gchar *value = NULL;
1005s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
1005s # if (variant != NULL)
1005s # {
1005s # value = g_variant_get_string (variant, NULL);
1005s # g_variant_unref (variant);
1005s # }
1005s # return value;
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
1005s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
1005s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
1005s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
1005s #
1005s # com_acme_coyote_override_properties (gobject_class, 1);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
1005s # {
1005s # iface->get_mood = com_acme_coyote_proxy_get_mood;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # com_acme_coyote_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return COM_ACME_COYOTE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return COM_ACME_COYOTE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # com_acme_coyote_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return COM_ACME_COYOTE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return COM_ACME_COYOTE (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteSkeleton:
1005s # *
1005s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * ComAcmeCoyoteSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #ComAcmeCoyoteSkeleton.
1005s # */
1005s #
1005s # struct _ComAcmeCoyoteSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _com_acme_coyote_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _com_acme_coyote_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _com_acme_coyote_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
1005s # {
1005s # _com_acme_coyote_skeleton_handle_method_call,
1005s # _com_acme_coyote_skeleton_handle_get_property,
1005s # _com_acme_coyote_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return com_acme_coyote_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
1005s # gboolean emit_changed = FALSE;
1005s #
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # {
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # skeleton->priv->changed_properties_idle_source = NULL;
1005s # emit_changed = TRUE;
1005s # }
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s #
1005s # if (emit_changed)
1005s # _com_acme_coyote_emit_changed (skeleton);
1005s # }
1005s #
1005s # static void
1005s # _com_acme_coyote_on_signal_surprised (
1005s # ComAcmeCoyote *object)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s #
1005s # GList *connections, *l;
1005s # GVariant *signal_variant;
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s #
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
1005s # for (l = connections; l != NULL; l = l->next)
1005s # {
1005s # GDBusConnection *connection = l->data;
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
1005s # signal_variant, NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s #
1005s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # com_acme_coyote_skeleton_finalize (GObject *object)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # guint n;
1005s # for (n = 0; n < 1; n++)
1005s # g_value_unset (&skeleton->priv->properties[n]);
1005s # g_free (skeleton->priv->properties);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_get_property (GObject *object,
1005s # guint prop_id,
1005s # GValue *value,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # }
1005s #
1005s # static gboolean
1005s # _com_acme_coyote_emit_changed (gpointer user_data)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
1005s # GList *l;
1005s # GVariantBuilder builder;
1005s # GVariantBuilder invalidated_builder;
1005s # guint num_changes;
1005s #
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
1005s # #else
1005s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
1005s # #endif
1005s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
1005s # {
1005s # ChangedProperty *cp = l->data;
1005s # GVariant *variant;
1005s # const GValue *cur_value;
1005s #
1005s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
1005s # if (!_g_value_equal (cur_value, &cp->orig_value))
1005s # {
1005s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
1005s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
1005s # g_variant_unref (variant);
1005s # num_changes++;
1005s # }
1005s # }
1005s # if (num_changes > 0)
1005s # {
1005s # GList *connections, *ll;
1005s # GVariant *signal_variant;
1005s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
1005s # &builder, &invalidated_builder));
1005s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
1005s # for (ll = connections; ll != NULL; ll = ll->next)
1005s # {
1005s # GDBusConnection *connection = ll->data;
1005s #
1005s # g_dbus_connection_emit_signal (connection,
1005s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
1005s # "org.freedesktop.DBus.Properties",
1005s # "PropertiesChanged",
1005s # signal_variant,
1005s # NULL);
1005s # }
1005s # g_variant_unref (signal_variant);
1005s # g_list_free_full (connections, g_object_unref);
1005s # }
1005s # else
1005s # {
1005s # g_variant_builder_clear (&builder);
1005s # g_variant_builder_clear (&invalidated_builder);
1005s # }
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # skeleton->priv->changed_properties = NULL;
1005s # skeleton->priv->changed_properties_idle_source = NULL;
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # return FALSE;
1005s # }
1005s #
1005s # static void
1005s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
1005s # {
1005s # ChangedProperty *cp;
1005s # GList *l;
1005s # cp = NULL;
1005s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
1005s # {
1005s # ChangedProperty *i_cp = l->data;
1005s # if (i_cp->info == info)
1005s # {
1005s # cp = i_cp;
1005s # break;
1005s # }
1005s # }
1005s # if (cp == NULL)
1005s # {
1005s # cp = g_new0 (ChangedProperty, 1);
1005s # cp->prop_id = prop_id;
1005s # cp->info = info;
1005s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
1005s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
1005s # g_value_copy (orig_value, &cp->orig_value);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_notify (GObject *object,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # if (skeleton->priv->changed_properties != NULL &&
1005s # skeleton->priv->changed_properties_idle_source == NULL)
1005s # {
1005s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
1005s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
1005s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
1005s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
1005s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
1005s # g_source_unref (skeleton->priv->changed_properties_idle_source);
1005s # }
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_set_property (GObject *object,
1005s # guint prop_id,
1005s # const GValue *value,
1005s # GParamSpec *pspec)
1005s # {
1005s # const _ExtendedGDBusPropertyInfo *info;
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # g_assert (prop_id != 0 && prop_id - 1 < 1);
1005s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # g_object_freeze_notify (object);
1005s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
1005s # {
1005s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
1005s # info->emits_changed_signal)
1005s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
1005s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
1005s # g_object_notify_by_pspec (object, pspec);
1005s # }
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # g_object_thaw_notify (object);
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # skeleton->priv->properties = g_new0 (GValue, 1);
1005s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
1005s # }
1005s #
1005s # static const gchar *
1005s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
1005s # {
1005s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
1005s # const gchar *value;
1005s # g_mutex_lock (&skeleton->priv->lock);
1005s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
1005s # g_mutex_unlock (&skeleton->priv->lock);
1005s # return value;
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
1005s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
1005s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
1005s # gobject_class->notify = com_acme_coyote_skeleton_notify;
1005s #
1005s #
1005s # com_acme_coyote_override_properties (gobject_class, 1);
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
1005s # {
1005s # iface->surprised = _com_acme_coyote_on_signal_surprised;
1005s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
1005s # }
1005s #
1005s # /**
1005s # * com_acme_coyote_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
1005s # *
1005s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
1005s # */
1005s # ComAcmeCoyote *
1005s # com_acme_coyote_skeleton_new (void)
1005s # {
1005s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------
1005s # * Code for interface org.project.Bar.Frobnicator
1005s # * ------------------------------------------------------------------------
1005s # */
1005s #
1005s # /**
1005s # * SECTION:OrgProjectBarFrobnicator
1005s # * @title: OrgProjectBarFrobnicator
1005s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
1005s # *
1005s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
1005s # */
1005s #
1005s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
1005s #
1005s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "RandomMethod",
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "handle-random-method",
1005s # FALSE
1005s # };
1005s #
1005s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
1005s # {
1005s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
1005s # NULL
1005s # };
1005s #
1005s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
1005s # {
1005s # {
1005s # -1,
1005s # (gchar *) "org.project.Bar.Frobnicator",
1005s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
1005s # NULL,
1005s # NULL,
1005s # NULL
1005s # },
1005s # "org-project-bar-frobnicator",
1005s # };
1005s #
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_interface_info:
1005s # *
1005s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
1005s # *
1005s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
1005s # */
1005s # GDBusInterfaceInfo *
1005s # org_project_bar_frobnicator_interface_info (void)
1005s # {
1005s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_override_properties:
1005s # * @klass: The class structure for a #GObject derived class.
1005s # * @property_id_begin: The property id to assign to the first overridden property.
1005s # *
1005s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
1005s # * The properties are overridden in the order they are defined.
1005s # *
1005s # * Returns: The last property id.
1005s # */
1005s # guint
1005s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
1005s # {
1005s # return property_id_begin - 1;
1005s # }
1005s #
1005s #
1005s # inline static void
1005s # org_project_bar_frobnicator_method_marshal_random_method (
1005s # GClosure *closure,
1005s # GValue *return_value,
1005s # unsigned int n_param_values,
1005s # const GValue *param_values,
1005s # void *invocation_hint,
1005s # void *marshal_data)
1005s # {
1005s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
1005s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
1005s # }
1005s #
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicator:
1005s # *
1005s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorIface:
1005s # * @parent_iface: The parent interface.
1005s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
1005s # *
1005s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
1005s # */
1005s #
1005s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
1005s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
1005s # {
1005s # /* GObject signals for incoming D-Bus method calls: */
1005s # /**
1005s # * OrgProjectBarFrobnicator::handle-random-method:
1005s # * @object: A #OrgProjectBarFrobnicator.
1005s # * @invocation: A #GDBusMethodInvocation.
1005s # *
1005s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
1005s # *
1005s # * 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.
1005s # *
1005s # * 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.
1005s # */
1005s # g_signal_new ("handle-random-method",
1005s # G_TYPE_FROM_INTERFACE (iface),
1005s # G_SIGNAL_RUN_LAST,
1005s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
1005s # g_signal_accumulator_true_handled,
1005s # NULL,
1005s # org_project_bar_frobnicator_method_marshal_random_method,
1005s # G_TYPE_BOOLEAN,
1005s # 1,
1005s # G_TYPE_DBUS_METHOD_INVOCATION);
1005s #
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_call_random_method:
1005s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
1005s # */
1005s # void
1005s # org_project_bar_frobnicator_call_random_method (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
1005s # "RandomMethod",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # callback,
1005s # user_data);
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_call_random_method_finish:
1005s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # org_project_bar_frobnicator_call_random_method_finish (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_call_random_method_sync:
1005s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL.
1005s # *
1005s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
1005s # *
1005s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
1005s # */
1005s # gboolean
1005s # org_project_bar_frobnicator_call_random_method_sync (
1005s # OrgProjectBarFrobnicator *proxy,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GVariant *_ret;
1005s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
1005s # "RandomMethod",
1005s # g_variant_new ("()"),
1005s # G_DBUS_CALL_FLAGS_NONE,
1005s # -1,
1005s # cancellable,
1005s # error);
1005s # if (_ret == NULL)
1005s # goto _out;
1005s # g_variant_get (_ret,
1005s # "()");
1005s # g_variant_unref (_ret);
1005s # _out:
1005s # return _ret != NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_complete_random_method:
1005s # * @object: A #OrgProjectBarFrobnicator.
1005s # * @invocation: (transfer full): A #GDBusMethodInvocation.
1005s # *
1005s # * 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.
1005s # *
1005s # * This method will free @invocation, you cannot use it afterwards.
1005s # */
1005s # void
1005s # org_project_bar_frobnicator_complete_random_method (
1005s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
1005s # GDBusMethodInvocation *invocation)
1005s # {
1005s # g_dbus_method_invocation_return_value (invocation,
1005s # g_variant_new ("()"));
1005s # }
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorProxy:
1005s # *
1005s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorProxyClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectBarFrobnicatorProxy.
1005s # */
1005s #
1005s # struct _OrgProjectBarFrobnicatorProxyPrivate
1005s # {
1005s # GData *qdata;
1005s # };
1005s #
1005s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1005s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
1005s # {
1005s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
1005s # g_datalist_clear (&proxy->priv->qdata);
1005s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
1005s # guint prop_id G_GNUC_UNUSED,
1005s # const GValue *value G_GNUC_UNUSED,
1005s # GParamSpec *pspec G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
1005s # const gchar *sender_name G_GNUC_UNUSED,
1005s # const gchar *signal_name,
1005s # GVariant *parameters)
1005s # {
1005s # _ExtendedGDBusSignalInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # gsize n;
1005s # guint signal_id;
1005s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
1005s # if (info == NULL)
1005s # return;
1005s # num_params = g_variant_n_children (parameters);
1005s # paramv = g_new0 (GValue, num_params + 1);
1005s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1005s # g_value_set_object (¶mv[0], proxy);
1005s # g_variant_iter_init (&iter, parameters);
1005s # n = 1;
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1005s # g_signal_emitv (paramv, signal_id, 0, NULL);
1005s # for (n = 0; n < num_params + 1; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
1005s # GVariant *changed_properties,
1005s # const gchar *const *invalidated_properties)
1005s # {
1005s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
1005s # guint n;
1005s # const gchar *key;
1005s # GVariantIter *iter;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # g_variant_get (changed_properties, "a{sv}", &iter);
1005s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
1005s # g_datalist_remove_data (&proxy->priv->qdata, key);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # g_variant_iter_free (iter);
1005s # for (n = 0; invalidated_properties[n] != NULL; n++)
1005s # {
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
1005s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
1005s # if (info != NULL)
1005s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
1005s # }
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
1005s # #else
1005s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
1005s # #endif
1005s #
1005s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusProxyClass *proxy_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
1005s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
1005s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
1005s #
1005s # proxy_class = G_DBUS_PROXY_CLASS (klass);
1005s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
1005s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_bar_frobnicator_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_sync:
1005s # * @connection: A #GDBusConnection.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_for_bus:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
1005s # * @user_data: User data to pass to @callback.
1005s # *
1005s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
1005s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
1005s # *
1005s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
1005s # */
1005s # void
1005s # org_project_bar_frobnicator_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data)
1005s # {
1005s # 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);
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
1005s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error)
1005s # {
1005s # GObject *ret;
1005s # GObject *source_object;
1005s # source_object = g_async_result_get_source_object (res);
1005s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
1005s # g_object_unref (source_object);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
1005s # * @bus_type: A #GBusType.
1005s # * @flags: Flags from the #GDBusProxyFlags enumeration.
1005s # * @name: A bus name (well-known or unique).
1005s # * @object_path: An object path.
1005s # * @cancellable: (nullable): A #GCancellable or %NULL.
1005s # * @error: Return location for error or %NULL
1005s # *
1005s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
1005s # *
1005s # * The calling thread is blocked until a reply is received.
1005s # *
1005s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error)
1005s # {
1005s # GInitable *ret;
1005s # 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);
1005s # if (ret != NULL)
1005s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
1005s # else
1005s # return NULL;
1005s # }
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorSkeleton:
1005s # *
1005s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
1005s # */
1005s #
1005s # /**
1005s # * OrgProjectBarFrobnicatorSkeletonClass:
1005s # * @parent_class: The parent class.
1005s # *
1005s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
1005s # */
1005s #
1005s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
1005s # {
1005s # GValue *properties;
1005s # GList *changed_properties;
1005s # GSource *changed_properties_idle_source;
1005s # GMainContext *context;
1005s # GMutex lock;
1005s # };
1005s #
1005s # static void
1005s # _org_project_bar_frobnicator_skeleton_handle_method_call (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name,
1005s # const gchar *method_name,
1005s # GVariant *parameters,
1005s # GDBusMethodInvocation *invocation,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1005s # _ExtendedGDBusMethodInfo *info;
1005s # GVariantIter iter;
1005s # GVariant *child;
1005s # GValue *paramv;
1005s # gsize num_params;
1005s # guint num_extra;
1005s # gsize n;
1005s # guint signal_id;
1005s # GValue return_value = G_VALUE_INIT;
1005s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
1005s # g_assert (info != NULL);
1005s # num_params = g_variant_n_children (parameters);
1005s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
1005s # n = 0;
1005s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1005s # g_value_set_object (¶mv[n++], skeleton);
1005s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
1005s # g_value_set_object (¶mv[n++], invocation);
1005s # if (info->pass_fdlist)
1005s # {
1005s # #ifdef G_OS_UNIX
1005s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
1005s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
1005s # #else
1005s # g_assert_not_reached ();
1005s # #endif
1005s # }
1005s # g_variant_iter_init (&iter, parameters);
1005s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
1005s # {
1005s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
1005s # if (arg_info->use_gvariant)
1005s # {
1005s # g_value_init (¶mv[n], G_TYPE_VARIANT);
1005s # g_value_set_variant (¶mv[n], child);
1005s # n++;
1005s # }
1005s # else
1005s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
1005s # g_variant_unref (child);
1005s # }
1005s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
1005s # g_value_init (&return_value, G_TYPE_BOOLEAN);
1005s # g_signal_emitv (paramv, signal_id, 0, &return_value);
1005s # if (!g_value_get_boolean (&return_value))
1005s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
1005s # g_value_unset (&return_value);
1005s # for (n = 0; n < num_params + num_extra; n++)
1005s # g_value_unset (¶mv[n]);
1005s # g_free (paramv);
1005s # }
1005s #
1005s # static GVariant *
1005s # _org_project_bar_frobnicator_skeleton_handle_get_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # GVariant *ret;
1005s # ret = NULL;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # g_value_init (&value, pspec->value_type);
1005s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
1005s # g_value_unset (&value);
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static gboolean
1005s # _org_project_bar_frobnicator_skeleton_handle_set_property (
1005s # GDBusConnection *connection G_GNUC_UNUSED,
1005s # const gchar *sender G_GNUC_UNUSED,
1005s # const gchar *object_path G_GNUC_UNUSED,
1005s # const gchar *interface_name G_GNUC_UNUSED,
1005s # const gchar *property_name,
1005s # GVariant *variant,
1005s # GError **error,
1005s # gpointer user_data)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
1005s # GValue value = G_VALUE_INIT;
1005s # GParamSpec *pspec;
1005s # _ExtendedGDBusPropertyInfo *info;
1005s # gboolean ret;
1005s # ret = FALSE;
1005s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
1005s # g_assert (info != NULL);
1005s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
1005s # if (pspec == NULL)
1005s # {
1005s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
1005s # }
1005s # else
1005s # {
1005s # if (info->use_gvariant)
1005s # g_value_set_variant (&value, variant);
1005s # else
1005s # g_dbus_gvariant_to_gvalue (variant, &value);
1005s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
1005s # g_value_unset (&value);
1005s # ret = TRUE;
1005s # }
1005s # return ret;
1005s # }
1005s #
1005s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
1005s # {
1005s # _org_project_bar_frobnicator_skeleton_handle_method_call,
1005s # _org_project_bar_frobnicator_skeleton_handle_get_property,
1005s # _org_project_bar_frobnicator_skeleton_handle_set_property,
1005s # {NULL}
1005s # };
1005s #
1005s # static GDBusInterfaceInfo *
1005s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return org_project_bar_frobnicator_interface_info ();
1005s # }
1005s #
1005s # static GDBusInterfaceVTable *
1005s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1005s # {
1005s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
1005s # }
1005s #
1005s # static GVariant *
1005s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
1005s #
1005s # GVariantBuilder builder;
1005s # guint n;
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
1005s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #else
1005s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
1005s # #endif
1005s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
1005s # goto out;
1005s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
1005s # {
1005s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
1005s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
1005s # {
1005s # GVariant *value;
1005s # 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);
1005s # if (value != NULL)
1005s # {
1005s # g_variant_take_ref (value);
1005s # g_variant_builder_add (&builder, "{sv}", info->name, value);
1005s # g_variant_unref (value);
1005s # }
1005s # }
1005s # }
1005s # out:
1005s # return g_variant_builder_end (&builder);
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1005s #
1005s # #else
1005s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
1005s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
1005s #
1005s # #endif
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
1005s # {
1005s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
1005s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
1005s # if (skeleton->priv->changed_properties_idle_source != NULL)
1005s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
1005s # g_main_context_unref (skeleton->priv->context);
1005s # g_mutex_clear (&skeleton->priv->lock);
1005s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
1005s # {
1005s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
1005s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
1005s # #else
1005s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
1005s # #endif
1005s #
1005s # g_mutex_init (&skeleton->priv->lock);
1005s # skeleton->priv->context = g_main_context_ref_thread_default ();
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
1005s # {
1005s # GObjectClass *gobject_class;
1005s # GDBusInterfaceSkeletonClass *skeleton_class;
1005s #
1005s # gobject_class = G_OBJECT_CLASS (klass);
1005s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
1005s #
1005s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
1005s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
1005s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
1005s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
1005s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
1005s #
1005s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
1005s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
1005s # #endif
1005s # }
1005s #
1005s # static void
1005s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
1005s # {
1005s # }
1005s #
1005s # /**
1005s # * org_project_bar_frobnicator_skeleton_new:
1005s # *
1005s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
1005s # *
1005s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
1005s # */
1005s # OrgProjectBarFrobnicator *
1005s # org_project_bar_frobnicator_skeleton_new (void)
1005s # {
1005s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
1005s # }
1005s # Error:
1005s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations
1005s # gdbus-codegen: /usr/bin/gdbus-codegen
1005s # tmpdir: /tmp/tmpdda8hg2a
1005s # /tmp/tmpdda8hg2a/tmp555elzpj.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdda8hg2a/tmp555elzpj.xml', '--output', '-', '--header']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s # /* Declarations for FDPassing */
1005s #
1005s # #define TYPE_FDPASSING (fdpassing_get_type ())
1005s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
1005s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
1005s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
1005s #
1005s # struct _FDPassing;
1005s # typedef struct _FDPassing FDPassing;
1005s # typedef struct _FDPassingIface FDPassingIface;
1005s #
1005s # struct _FDPassingIface
1005s # {
1005s # GTypeInterface parent_iface;
1005s #
1005s # gboolean (*handle_hello_fd) (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list,
1005s # const gchar *arg_greeting);
1005s #
1005s # gboolean (*handle_no_annotation) (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GVariant *arg_greeting,
1005s # const gchar *arg_greeting_locale);
1005s #
1005s # gboolean (*handle_no_annotation_nested) (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GVariant *arg_files);
1005s #
1005s # };
1005s #
1005s # GType fdpassing_get_type (void) G_GNUC_CONST;
1005s #
1005s # GDBusInterfaceInfo *fdpassing_interface_info (void);
1005s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
1005s #
1005s #
1005s # /* D-Bus method call completion functions: */
1005s # void fdpassing_complete_hello_fd (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list,
1005s # const gchar *response);
1005s #
1005s # void fdpassing_complete_no_annotation (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GVariant *response,
1005s # const gchar *response_locale);
1005s #
1005s # void fdpassing_complete_no_annotation_nested (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s #
1005s #
1005s # /* D-Bus method calls: */
1005s # void fdpassing_call_hello_fd (
1005s # FDPassing *proxy,
1005s # const gchar *arg_greeting,
1005s # GUnixFDList *fd_list,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean fdpassing_call_hello_fd_finish (
1005s # FDPassing *proxy,
1005s # gchar **out_response,
1005s # GUnixFDList **out_fd_list,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean fdpassing_call_hello_fd_sync (
1005s # FDPassing *proxy,
1005s # const gchar *arg_greeting,
1005s # GUnixFDList *fd_list,
1005s # gchar **out_response,
1005s # GUnixFDList **out_fd_list,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void fdpassing_call_no_annotation (
1005s # FDPassing *proxy,
1005s # GVariant *arg_greeting,
1005s # const gchar *arg_greeting_locale,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean fdpassing_call_no_annotation_finish (
1005s # FDPassing *proxy,
1005s # GVariant **out_response,
1005s # gchar **out_response_locale,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean fdpassing_call_no_annotation_sync (
1005s # FDPassing *proxy,
1005s # GVariant *arg_greeting,
1005s # const gchar *arg_greeting_locale,
1005s # GVariant **out_response,
1005s # gchar **out_response_locale,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void fdpassing_call_no_annotation_nested (
1005s # FDPassing *proxy,
1005s # GVariant *arg_files,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean fdpassing_call_no_annotation_nested_finish (
1005s # FDPassing *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean fdpassing_call_no_annotation_nested_sync (
1005s # FDPassing *proxy,
1005s # GVariant *arg_files,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
1005s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
1005s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1005s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1005s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
1005s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
1005s #
1005s # typedef struct _FDPassingProxy FDPassingProxy;
1005s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
1005s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
1005s #
1005s # struct _FDPassingProxy
1005s # {
1005s # /*< private >*/
1005s # GDBusProxy parent_instance;
1005s # FDPassingProxyPrivate *priv;
1005s # };
1005s #
1005s # struct _FDPassingProxyClass
1005s # {
1005s # GDBusProxyClass parent_class;
1005s # };
1005s #
1005s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
1005s # #endif
1005s #
1005s # void fdpassing_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # FDPassing *fdpassing_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # FDPassing *fdpassing_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void fdpassing_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # FDPassing *fdpassing_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # FDPassing *fdpassing_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
1005s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
1005s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1005s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1005s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
1005s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
1005s #
1005s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
1005s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
1005s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
1005s #
1005s # struct _FDPassingSkeleton
1005s # {
1005s # /*< private >*/
1005s # GDBusInterfaceSkeleton parent_instance;
1005s # FDPassingSkeletonPrivate *priv;
1005s # };
1005s #
1005s # struct _FDPassingSkeletonClass
1005s # {
1005s # GDBusInterfaceSkeletonClass parent_class;
1005s # };
1005s #
1005s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
1005s # #endif
1005s #
1005s # FDPassing *fdpassing_skeleton_new (void);
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s #
1005s # /tmp/tmpdda8hg2a/tmpvlvi5lra.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdda8hg2a/tmpvlvi5lra.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s # /* Declarations for FDPassing */
1005s #
1005s # #define TYPE_FDPASSING (fdpassing_get_type ())
1005s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
1005s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
1005s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
1005s #
1005s # struct _FDPassing;
1005s # typedef struct _FDPassing FDPassing;
1005s # typedef struct _FDPassingIface FDPassingIface;
1005s #
1005s # struct _FDPassingIface
1005s # {
1005s # GTypeInterface parent_iface;
1005s #
1005s # gboolean (*handle_hello_fd) (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list,
1005s # const gchar *arg_greeting);
1005s #
1005s # gboolean (*handle_no_annotation) (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GVariant *arg_greeting,
1005s # const gchar *arg_greeting_locale);
1005s #
1005s # gboolean (*handle_no_annotation_nested) (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GVariant *arg_files);
1005s #
1005s # };
1005s #
1005s # GType fdpassing_get_type (void) G_GNUC_CONST;
1005s #
1005s # GDBusInterfaceInfo *fdpassing_interface_info (void);
1005s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
1005s #
1005s #
1005s # /* D-Bus method call completion functions: */
1005s # void fdpassing_complete_hello_fd (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list,
1005s # const gchar *response);
1005s #
1005s # void fdpassing_complete_no_annotation (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GVariant *response,
1005s # const gchar *response_locale);
1005s #
1005s # void fdpassing_complete_no_annotation_nested (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation);
1005s #
1005s #
1005s #
1005s # /* D-Bus method calls: */
1005s # void fdpassing_call_hello_fd (
1005s # FDPassing *proxy,
1005s # const gchar *arg_greeting,
1005s # GUnixFDList *fd_list,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean fdpassing_call_hello_fd_finish (
1005s # FDPassing *proxy,
1005s # gchar **out_response,
1005s # GUnixFDList **out_fd_list,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean fdpassing_call_hello_fd_sync (
1005s # FDPassing *proxy,
1005s # const gchar *arg_greeting,
1005s # GUnixFDList *fd_list,
1005s # gchar **out_response,
1005s # GUnixFDList **out_fd_list,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void fdpassing_call_no_annotation (
1005s # FDPassing *proxy,
1005s # GVariant *arg_greeting,
1005s # const gchar *arg_greeting_locale,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean fdpassing_call_no_annotation_finish (
1005s # FDPassing *proxy,
1005s # GVariant **out_response,
1005s # gchar **out_response_locale,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean fdpassing_call_no_annotation_sync (
1005s # FDPassing *proxy,
1005s # GVariant *arg_greeting,
1005s # const gchar *arg_greeting_locale,
1005s # GVariant **out_response,
1005s # gchar **out_response_locale,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void fdpassing_call_no_annotation_nested (
1005s # FDPassing *proxy,
1005s # GVariant *arg_files,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean fdpassing_call_no_annotation_nested_finish (
1005s # FDPassing *proxy,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean fdpassing_call_no_annotation_nested_sync (
1005s # FDPassing *proxy,
1005s # GVariant *arg_files,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
1005s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
1005s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1005s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1005s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
1005s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
1005s #
1005s # typedef struct _FDPassingProxy FDPassingProxy;
1005s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
1005s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
1005s #
1005s # struct _FDPassingProxy
1005s # {
1005s # /*< private >*/
1005s # GDBusProxy parent_instance;
1005s # FDPassingProxyPrivate *priv;
1005s # };
1005s #
1005s # struct _FDPassingProxyClass
1005s # {
1005s # GDBusProxyClass parent_class;
1005s # };
1005s #
1005s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
1005s # #endif
1005s #
1005s # void fdpassing_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # FDPassing *fdpassing_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # FDPassing *fdpassing_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void fdpassing_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # FDPassing *fdpassing_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # FDPassing *fdpassing_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
1005s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
1005s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1005s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1005s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
1005s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
1005s #
1005s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
1005s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
1005s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
1005s #
1005s # struct _FDPassingSkeleton
1005s # {
1005s # /*< private >*/
1005s # GDBusInterfaceSkeleton parent_instance;
1005s # FDPassingSkeletonPrivate *priv;
1005s # };
1005s #
1005s # struct _FDPassingSkeletonClass
1005s # {
1005s # GDBusInterfaceSkeletonClass parent_class;
1005s # };
1005s #
1005s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
1005s # #endif
1005s #
1005s # FDPassing *fdpassing_skeleton_new (void);
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s #
1005s # /tmp/tmpdda8hg2a/tmph9ujmgu9.xml:
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s #
1005s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdda8hg2a/tmph9ujmgu9.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
1005s # Return code: 0
1005s # Output:
1005s # /*
1005s # * This file is generated by gdbus-codegen, do not modify it.
1005s # *
1005s # * The license of this code is the same as for the D-Bus interface description
1005s # * it was derived from. Note that it links to GLib, so must comply with the
1005s # * LGPL linking clauses.
1005s # */
1005s #
1005s # #ifndef __STDOUT__
1005s # #define __STDOUT__
1005s #
1005s # #include
1005s #
1005s # G_BEGIN_DECLS
1005s #
1005s #
1005s # /* ------------------------------------------------------------------------ */
1005s # /* Declarations for FDPassing */
1005s #
1005s # #define TYPE_FDPASSING (fdpassing_get_type ())
1005s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
1005s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
1005s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
1005s #
1005s # struct _FDPassing;
1005s # typedef struct _FDPassing FDPassing;
1005s # typedef struct _FDPassingIface FDPassingIface;
1005s #
1005s # struct _FDPassingIface
1005s # {
1005s # GTypeInterface parent_iface;
1005s #
1005s # gboolean (*handle_hello_fd) (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list,
1005s # const gchar *arg_greeting);
1005s #
1005s # gboolean (*handle_no_annotation) (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list,
1005s # GVariant *arg_greeting,
1005s # const gchar *arg_greeting_locale);
1005s #
1005s # gboolean (*handle_no_annotation_nested) (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list,
1005s # GVariant *arg_files);
1005s #
1005s # };
1005s #
1005s # GType fdpassing_get_type (void) G_GNUC_CONST;
1005s #
1005s # GDBusInterfaceInfo *fdpassing_interface_info (void);
1005s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
1005s #
1005s #
1005s # /* D-Bus method call completion functions: */
1005s # void fdpassing_complete_hello_fd (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list,
1005s # const gchar *response);
1005s #
1005s # void fdpassing_complete_no_annotation (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list,
1005s # GVariant *response,
1005s # const gchar *response_locale);
1005s #
1005s # void fdpassing_complete_no_annotation_nested (
1005s # FDPassing *object,
1005s # GDBusMethodInvocation *invocation,
1005s # GUnixFDList *fd_list);
1005s #
1005s #
1005s #
1005s # /* D-Bus method calls: */
1005s # void fdpassing_call_hello_fd (
1005s # FDPassing *proxy,
1005s # const gchar *arg_greeting,
1005s # GDBusCallFlags call_flags,
1005s # gint timeout_msec,
1005s # GUnixFDList *fd_list,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean fdpassing_call_hello_fd_finish (
1005s # FDPassing *proxy,
1005s # gchar **out_response,
1005s # GUnixFDList **out_fd_list,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean fdpassing_call_hello_fd_sync (
1005s # FDPassing *proxy,
1005s # const gchar *arg_greeting,
1005s # GDBusCallFlags call_flags,
1005s # gint timeout_msec,
1005s # GUnixFDList *fd_list,
1005s # gchar **out_response,
1005s # GUnixFDList **out_fd_list,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void fdpassing_call_no_annotation (
1005s # FDPassing *proxy,
1005s # GVariant *arg_greeting,
1005s # const gchar *arg_greeting_locale,
1005s # GDBusCallFlags call_flags,
1005s # gint timeout_msec,
1005s # GUnixFDList *fd_list,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean fdpassing_call_no_annotation_finish (
1005s # FDPassing *proxy,
1005s # GVariant **out_response,
1005s # gchar **out_response_locale,
1005s # GUnixFDList **out_fd_list,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean fdpassing_call_no_annotation_sync (
1005s # FDPassing *proxy,
1005s # GVariant *arg_greeting,
1005s # const gchar *arg_greeting_locale,
1005s # GDBusCallFlags call_flags,
1005s # gint timeout_msec,
1005s # GUnixFDList *fd_list,
1005s # GVariant **out_response,
1005s # gchar **out_response_locale,
1005s # GUnixFDList **out_fd_list,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void fdpassing_call_no_annotation_nested (
1005s # FDPassing *proxy,
1005s # GVariant *arg_files,
1005s # GDBusCallFlags call_flags,
1005s # gint timeout_msec,
1005s # GUnixFDList *fd_list,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s #
1005s # gboolean fdpassing_call_no_annotation_nested_finish (
1005s # FDPassing *proxy,
1005s # GUnixFDList **out_fd_list,
1005s # GAsyncResult *res,
1005s # GError **error);
1005s #
1005s # gboolean fdpassing_call_no_annotation_nested_sync (
1005s # FDPassing *proxy,
1005s # GVariant *arg_files,
1005s # GDBusCallFlags call_flags,
1005s # gint timeout_msec,
1005s # GUnixFDList *fd_list,
1005s # GUnixFDList **out_fd_list,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
1005s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
1005s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1005s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
1005s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
1005s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
1005s #
1005s # typedef struct _FDPassingProxy FDPassingProxy;
1005s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
1005s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
1005s #
1005s # struct _FDPassingProxy
1005s # {
1005s # /*< private >*/
1005s # GDBusProxy parent_instance;
1005s # FDPassingProxyPrivate *priv;
1005s # };
1005s #
1005s # struct _FDPassingProxyClass
1005s # {
1005s # GDBusProxyClass parent_class;
1005s # };
1005s #
1005s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
1005s # #endif
1005s #
1005s # void fdpassing_proxy_new (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # FDPassing *fdpassing_proxy_new_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # FDPassing *fdpassing_proxy_new_sync (
1005s # GDBusConnection *connection,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s # void fdpassing_proxy_new_for_bus (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GAsyncReadyCallback callback,
1005s # gpointer user_data);
1005s # FDPassing *fdpassing_proxy_new_for_bus_finish (
1005s # GAsyncResult *res,
1005s # GError **error);
1005s # FDPassing *fdpassing_proxy_new_for_bus_sync (
1005s # GBusType bus_type,
1005s # GDBusProxyFlags flags,
1005s # const gchar *name,
1005s # const gchar *object_path,
1005s # GCancellable *cancellable,
1005s # GError **error);
1005s #
1005s #
1005s # /* ---- */
1005s #
1005s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
1005s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
1005s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1005s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
1005s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
1005s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
1005s #
1005s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
1005s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
1005s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
1005s #
1005s # struct _FDPassingSkeleton
1005s # {
1005s # /*< private >*/
1005s # GDBusInterfaceSkeleton parent_instance;
1005s # FDPassingSkeletonPrivate *priv;
1005s # };
1005s #
1005s # struct _FDPassingSkeletonClass
1005s # {
1005s # GDBusInterfaceSkeletonClass parent_class;
1005s # };
1005s #
1005s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
1005s #
1005s # #if GLIB_CHECK_VERSION(2, 44, 0)
1005s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
1005s # #endif
1005s #
1005s # FDPassing *fdpassing_skeleton_new (void);
1005s #
1005s #
1005s # G_END_DECLS
1005s #
1005s # #endif /* __STDOUT__ */
1005s # Error:
1005s 1..39
1005s TAP version 14
1005s # random seed: R02S03dbe9f52735daf95d2451c1e0152c6c
1005s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515)
1005s ok - glib/codegen.py.test
1005s # Running test: glib/gdbus-threading.test
1005s ok - glib/gdbus-threading.test
1005s # Running test: glib/value.test
1005s TAP version 14
1005s # random seed: R02S8833850a77923abf5d2a8fb1595f0a3a
1005s 1..9
1005s # Start of value tests
1005s ok 1 /value/basic
1005s ok 2 /value/collection
1005s ok 3 /value/copying
1005s ok 4 /value/enum-transformation
1005s ok 5 /value/gtype
1005s # /value/string summary: Test that G_TYPE_STRING GValue copy properly
1005s ok 6 /value/string
1005s # Next: GObject object in GValue of GObject to GValue of GObject
1005s # Next: GObject object in GValue of GObject to GValue of TestInterface
1005s # Next: GObject object in GValue of GObject to GValue of TestObjectA
1005s # Next: GObject object in GValue of GObject to GValue of TestObjectB
1005s # Next: GObject object in GValue of GObject to GValue of TestObjectA1
1005s # Next: GObject object in GValue of GObject to GValue of TestObjectA2
1005s # Next: TestObjectA object in GValue of GObject to GValue of GObject
1005s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface
1005s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA
1005s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB
1005s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1
1005s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2
1005s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject
1005s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface
1005s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA
1005s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB
1005s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1
1005s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2
1005s # Next: TestObjectB object in GValue of GObject to GValue of GObject
1005s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface
1005s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA
1005s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB
1005s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1
1005s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2
1005s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject
1005s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface
1005s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA
1005s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB
1005s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1
1005s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2
1005s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject
1005s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface
1005s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA
1005s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB
1005s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1
1005s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2
1005s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject
1005s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface
1005s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA
1005s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB
1005s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1
1005s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2
1005s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject
1005s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface
1005s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA
1005s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB
1005s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1
1005s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2
1005s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject
1005s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface
1005s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA
1005s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB
1005s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1
1005s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2
1005s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject
1005s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface
1005s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA
1005s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB
1005s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1
1005s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2
1005s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject
1005s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface
1005s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA
1005s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB
1005s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1
1005s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2
1005s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject
1005s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface
1005s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA
1005s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB
1005s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1
1005s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2
1005s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject
1005s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface
1005s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA
1005s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB
1005s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1
1005s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2
1005s ok 7 /value/transform-object
1005s # Start of array tests
1005s ok 8 /value/array/basic
1005s ok 9 /value/array/sort-with-data
1005s # End of array tests
1005s # End of value tests
1005s TAP version 14
1005s # random seed: R02Se6231af6781b515cd2c7eb1c0c488303
1005s 1..2
1005s # Start of hook tests
1005s ok 1 /hook/basics
1005s ok 2 /hook/corner-cases
1005s # End of hook tests
1005s TAP version 14
1005s # random seed: R02S5d01b7e270f6f129939b1ceb46ed285f
1005s 1..36
1005s # Start of keyfile tests
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/line-ends/.dirs/runtime
1005s ok 1 /keyfile/line-ends
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/whitespace/.dirs/runtime
1005s ok 2 /keyfile/whitespace
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/comments/.dirs/runtime
1005s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
1005s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104
1005s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
1005s ok 3 /keyfile/comments
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/listing/.dirs/runtime
1005s ok 4 /keyfile/listing
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/string/.dirs/runtime
1005s ok 5 /keyfile/string
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/boolean/.dirs/runtime
1005s ok 6 /keyfile/boolean
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/number/.dirs/runtime
1005s ok 7 /keyfile/number
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/.dirs/runtime
1005s ok 8 /keyfile/locale-string
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/lists/.dirs/runtime
1005s ok 9 /keyfile/lists
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/lists-set-get/.dirs/runtime
1005s ok 10 /keyfile/lists-set-get
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/group-remove/.dirs/runtime
1005s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887
1005s ok 11 /keyfile/group-remove
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/key-remove/.dirs/runtime
1005s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980
1005s ok 12 /keyfile/key-remove
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/groups/.dirs/runtime
1005s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309
1005s ok 13 /keyfile/groups
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-keys/.dirs/runtime
1005s ok 14 /keyfile/duplicate-keys
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups/.dirs/runtime
1005s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877
1005s ok 15 /keyfile/duplicate-groups
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/duplicate-groups2/.dirs/runtime
1005s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910
1005s ok 16 /keyfile/duplicate-groups2
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/group-names/.dirs/runtime
1005s ok 17 /keyfile/group-names
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/key-names/.dirs/runtime
1005s ok 18 /keyfile/key-names
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/reload/.dirs/runtime
1005s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686
1005s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927
1005s ok 19 /keyfile/reload
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/int64/.dirs/runtime
1005s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864
1005s ok 20 /keyfile/int64
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/load/.dirs/runtime
1005s ok 21 /keyfile/load
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/save/.dirs/runtime
1005s ok 22 /keyfile/save
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/load-fail/.dirs/runtime
1005s ok 23 /keyfile/load-fail
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/non-utf8/.dirs/runtime
1005s ok 24 /keyfile/non-utf8
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/page-boundary/.dirs/runtime
1005s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695
1005s ok 25 /keyfile/page-boundary
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/ref/.dirs/runtime
1005s ok 26 /keyfile/ref
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/replace-value/.dirs/runtime
1005s ok 27 /keyfile/replace-value
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/list-separator/.dirs/runtime
1005s ok 28 /keyfile/list-separator
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/empty-string/.dirs/runtime
1005s ok 29 /keyfile/empty-string
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/limbo/.dirs/runtime
1005s ok 30 /keyfile/limbo
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/state
1005s ok - glib/value.test
1005s # Running test: glib/hook.test
1005s ok - glib/hook.test
1005s # Running test: glib/keyfile.test
1005s ok - glib/keyfile.test
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/utf8/.dirs/runtime
1005s # Testing invalid encoding ‘non-UTF-8’
1005s # Testing invalid encoding ‘UTF’
1005s # Testing invalid encoding ‘UTF-9’
1005s ok 31 /keyfile/utf8
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/roundtrip/.dirs/runtime
1005s ok 32 /keyfile/roundtrip
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/bytes/.dirs/runtime
1005s ok 33 /keyfile/bytes
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/get-locale/.dirs/runtime
1005s ok 34 /keyfile/get-locale
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/free-when-not-last-ref/.dirs/runtime
1005s ok 35 /keyfile/free-when-not-last-ref
1005s # Start of locale-string tests
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_QHGJK3/keyfile/locale-string/multiple-loads/.dirs/runtime
1005s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works
1005s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361
1005s ok 36 /keyfile/locale-string/multiple-loads
1005s # End of locale-string tests
1005s # End of keyfile tests
1005s # Running test: glib/gdbus-close-pending.test
1005s TAP version 14
1005s # random seed: R02Se06854800eedd8f85710ca814cfe1f9c
1005s 1..2
1005s # Start of gdbus tests
1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/home
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/cache
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/system-config2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/config
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/system-data2
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/data
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/state
1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_69WJK3/gdbus/close-pending/.dirs/runtime
1006s ok 1 /gdbus/close-pending
1006s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/home
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/cache
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/system-config2
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/config
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/system-data2
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/data
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/state
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_69WJK3/gdbus/unref-pending/.dirs/runtime
1006s ok - glib/gdbus-close-pending.test
1006s ok 2 /gdbus/unref-pending
1006s # End of gdbus tests
1006s # Running test: glib/genmarshal.py.test
1006s TAP version 13
1006s ok 1 __main__.TestGenmarshal.test_empty_list
1006s # glib-genmarshal: /usr/bin/glib-genmarshal
1006s # tmpdir: /tmp/tmp89rj31kn
1006s # /tmp/tmp89rj31kn/tmp1is28cqx.list:
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp89rj31kn/tmp1is28cqx.list', '--header', '--quiet']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s #
1006s # #include
1006s #
1006s # G_BEGIN_DECLS
1006s #
1006s #
1006s # G_END_DECLS
1006s #
1006s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1006s # Error:
1006s #
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp89rj31kn/tmp1is28cqx.list', '--body', '--quiet']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #include
1006s #
1006s # #ifdef G_ENABLE_DEBUG
1006s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1006s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1006s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1006s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1006s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1006s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1006s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1006s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1006s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1006s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1006s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1006s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1006s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1006s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1006s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1006s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1006s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1006s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1006s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1006s # #else /* !G_ENABLE_DEBUG */
1006s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1006s # * Do not access GValues directly in your code. Instead, use the
1006s # * g_value_get_*() functions
1006s # */
1006s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1006s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1006s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1006s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1006s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1006s # #endif /* !G_ENABLE_DEBUG */
1006s # Error:
1006s ok 2 __main__.TestGenmarshal.test_help
1006s # glib-genmarshal: /usr/bin/glib-genmarshal
1006s # tmpdir: /tmp/tmp5odtqqma
1006s # Running: ['/usr/bin/glib-genmarshal', '--help']
1006s # Return code: 0
1006s # Output:
1006s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source]
1006s # [--internal] [--valist-marshallers] [-v]
1006s # [--g-fatal-warnings] [--include-header [HEADER]]
1006s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES]
1006s # [--prototypes] [--header] [--body] [--stdinc |
1006s # --nostdinc] [--quiet | --verbose]
1006s # [FILE ...]
1006s #
1006s # Generate signal marshallers for GObject
1006s #
1006s # positional arguments:
1006s # FILE Files with lists of marshallers to generate, or "-"
1006s # for standard input
1006s #
1006s # options:
1006s # -h, --help show this help message and exit
1006s # --prefix STRING Specify marshaller prefix
1006s # --output FILE Write output into the specified file
1006s # --skip-source Skip source location comments
1006s # --internal Mark generated functions as internal
1006s # --valist-marshallers Generate va_list marshallers
1006s # -v, --version Print version information, and exit
1006s # --g-fatal-warnings Make warnings fatal
1006s # --include-header [HEADER]
1006s # Include the specified header in the body
1006s # --pragma-once Use "pragma once" as the inclusion guard
1006s # -D CPP_DEFINES Pre-processor define
1006s # -U CPP_UNDEFINES Pre-processor undefine
1006s # --prototypes Generate the marshallers prototype in the C code
1006s # --header Generate C headers
1006s # --body Generate C code
1006s # --stdinc Include standard marshallers
1006s # --nostdinc Use standard marshallers
1006s # --quiet Only print warnings and errors
1006s # --verbose Be verbose, and include debugging information
1006s # Error:
1006s ok 3 __main__.TestGenmarshal.test_no_args
1006s # glib-genmarshal: /usr/bin/glib-genmarshal
1006s # tmpdir: /tmp/tmppkkttow1
1006s # Running: ['/usr/bin/glib-genmarshal']
1006s # Return code: 0
1006s # Output:
1006s #
1006s # Error:
1006s ok 4 __main__.TestGenmarshal.test_void_boolean
1006s # glib-genmarshal: /usr/bin/glib-genmarshal
1006s # tmpdir: /tmp/tmpdkiwq27r
1006s # /tmp/tmpdkiwq27r/tmpih9krhsu.list: VOID:BOOLEAN
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdkiwq27r/tmpih9krhsu.list', '--header', '--quiet']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s #
1006s # #include
1006s #
1006s # G_BEGIN_DECLS
1006s #
1006s # /* VOID:BOOLEAN (/tmp/tmpdkiwq27r/tmpih9krhsu.list:1) */
1006s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
1006s #
1006s #
1006s # G_END_DECLS
1006s #
1006s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1006s # Error:
1006s #
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdkiwq27r/tmpih9krhsu.list', '--body', '--quiet']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #include
1006s #
1006s # #ifdef G_ENABLE_DEBUG
1006s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1006s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1006s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1006s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1006s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1006s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1006s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1006s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1006s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1006s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1006s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1006s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1006s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1006s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1006s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1006s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1006s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1006s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1006s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1006s # #else /* !G_ENABLE_DEBUG */
1006s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1006s # * Do not access GValues directly in your code. Instead, use the
1006s # * g_value_get_*() functions
1006s # */
1006s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1006s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1006s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1006s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1006s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1006s # #endif /* !G_ENABLE_DEBUG */
1006s # Error:
1006s ok 5 __main__.TestGenmarshal.test_void_boolean_int64
1006s # glib-genmarshal: /usr/bin/glib-genmarshal
1006s # tmpdir: /tmp/tmpb6cvhvmq
1006s # /tmp/tmpb6cvhvmq/tmpn175irl6.list: VOID:BOOLEAN,INT64
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb6cvhvmq/tmpn175irl6.list', '--header', '--quiet']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s #
1006s # #include
1006s #
1006s # G_BEGIN_DECLS
1006s #
1006s # /* VOID:BOOLEAN,INT64 (/tmp/tmpb6cvhvmq/tmpn175irl6.list:1) */
1006s # extern
1006s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
1006s # GValue *return_value,
1006s # guint n_param_values,
1006s # const GValue *param_values,
1006s # gpointer invocation_hint,
1006s # gpointer marshal_data);
1006s #
1006s #
1006s # G_END_DECLS
1006s #
1006s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1006s # Error:
1006s #
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb6cvhvmq/tmpn175irl6.list', '--body', '--quiet']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #include
1006s #
1006s # #ifdef G_ENABLE_DEBUG
1006s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1006s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1006s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1006s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1006s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1006s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1006s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1006s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1006s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1006s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1006s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1006s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1006s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1006s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1006s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1006s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1006s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1006s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1006s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1006s # #else /* !G_ENABLE_DEBUG */
1006s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1006s # * Do not access GValues directly in your code. Instead, use the
1006s # * g_value_get_*() functions
1006s # */
1006s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1006s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1006s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1006s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1006s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1006s # #endif /* !G_ENABLE_DEBUG */
1006s #
1006s # /* VOID:BOOLEAN,INT64 (/tmp/tmpb6cvhvmq/tmpn175irl6.list:1) */
1006s # void
1006s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
1006s # GValue *return_value G_GNUC_UNUSED,
1006s # guint n_param_values,
1006s # const GValue *param_values,
1006s # gpointer invocation_hint G_GNUC_UNUSED,
1006s # gpointer marshal_data)
1006s # {
1006s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1,
1006s # gboolean arg1,
1006s # gint64 arg2,
1006s # gpointer data2);
1006s # GCClosure *cc = (GCClosure *) closure;
1006s # gpointer data1, data2;
1006s # GMarshalFunc_VOID__BOOLEAN_INT64 callback;
1006s #
1006s # g_return_if_fail (n_param_values == 3);
1006s #
1006s # if (G_CCLOSURE_SWAP_DATA (closure))
1006s # {
1006s # data1 = closure->data;
1006s # data2 = g_value_peek_pointer (param_values + 0);
1006s # }
1006s # else
1006s # {
1006s # data1 = g_value_peek_pointer (param_values + 0);
1006s # data2 = closure->data;
1006s # }
1006s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback);
1006s #
1006s # callback (data1,
1006s # g_marshal_value_peek_boolean (param_values + 1),
1006s # g_marshal_value_peek_int64 (param_values + 2),
1006s # data2);
1006s # }
1006s # Error:
1006s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc
1006s # glib-genmarshal: /usr/bin/glib-genmarshal
1006s # tmpdir: /tmp/tmpol392x58
1006s # /tmp/tmpol392x58/tmp5uspzh_w.list: VOID:PARAM
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpol392x58/tmp5uspzh_w.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s #
1006s # G_BEGIN_DECLS
1006s #
1006s # /* VOID:PARAM (/tmp/tmpol392x58/tmp5uspzh_w.list:1) */
1006s # extern
1006s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
1006s # GValue *return_value,
1006s # guint n_param_values,
1006s # const GValue *param_values,
1006s # gpointer invocation_hint,
1006s # gpointer marshal_data);
1006s # extern
1006s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
1006s # GValue *return_value,
1006s # gpointer instance,
1006s # va_list args,
1006s # gpointer marshal_data,
1006s # int n_params,
1006s # GType *param_types);
1006s #
1006s #
1006s # G_END_DECLS
1006s #
1006s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1006s # Error:
1006s #
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpol392x58/tmp5uspzh_w.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #ifdef G_ENABLE_DEBUG
1006s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1006s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1006s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1006s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1006s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1006s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1006s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1006s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1006s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1006s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1006s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1006s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1006s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1006s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1006s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1006s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1006s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1006s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1006s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1006s # #else /* !G_ENABLE_DEBUG */
1006s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1006s # * Do not access GValues directly in your code. Instead, use the
1006s # * g_value_get_*() functions
1006s # */
1006s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1006s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1006s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1006s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1006s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1006s # #endif /* !G_ENABLE_DEBUG */
1006s #
1006s # /* VOID:PARAM (/tmp/tmpol392x58/tmp5uspzh_w.list:1) */
1006s # void
1006s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
1006s # GValue *return_value G_GNUC_UNUSED,
1006s # guint n_param_values,
1006s # const GValue *param_values,
1006s # gpointer invocation_hint G_GNUC_UNUSED,
1006s # gpointer marshal_data)
1006s # {
1006s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
1006s # gpointer arg1,
1006s # gpointer data2);
1006s # GCClosure *cc = (GCClosure *) closure;
1006s # gpointer data1, data2;
1006s # GMarshalFunc_VOID__PARAM callback;
1006s #
1006s # g_return_if_fail (n_param_values == 2);
1006s #
1006s # if (G_CCLOSURE_SWAP_DATA (closure))
1006s # {
1006s # data1 = closure->data;
1006s # data2 = g_value_peek_pointer (param_values + 0);
1006s # }
1006s # else
1006s # {
1006s # data1 = g_value_peek_pointer (param_values + 0);
1006s # data2 = closure->data;
1006s # }
1006s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
1006s #
1006s # callback (data1,
1006s # g_marshal_value_peek_param (param_values + 1),
1006s # data2);
1006s # }
1006s #
1006s # void
1006s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
1006s # GValue *return_value G_GNUC_UNUSED,
1006s # gpointer instance,
1006s # va_list args,
1006s # gpointer marshal_data,
1006s # int n_params,
1006s # GType *param_types)
1006s # {
1006s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
1006s # gpointer arg1,
1006s # gpointer data2);
1006s # GCClosure *cc = (GCClosure *) closure;
1006s # gpointer data1, data2;
1006s # GMarshalFunc_VOID__PARAM callback;
1006s # gpointer arg0;
1006s # va_list args_copy;
1006s #
1006s # va_copy (args_copy, args);
1006s # arg0 = (gpointer) va_arg (args_copy, gpointer);
1006s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1006s # arg0 = g_param_spec_ref (arg0);
1006s # va_end (args_copy);
1006s #
1006s #
1006s # if (G_CCLOSURE_SWAP_DATA (closure))
1006s # {
1006s # data1 = closure->data;
1006s # data2 = instance;
1006s # }
1006s # else
1006s # {
1006s # data1 = instance;
1006s # data2 = closure->data;
1006s # }
1006s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
1006s #
1006s # callback (data1,
1006s # arg0,
1006s # data2);
1006s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1006s # g_param_spec_unref (arg0);
1006s # }
1006s # Error:
1006s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc
1006s # glib-genmarshal: /usr/bin/glib-genmarshal
1006s # tmpdir: /tmp/tmpjug4nozy
1006s # /tmp/tmpjug4nozy/tmpaatvt1iu.list: VOID:STRING
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjug4nozy/tmpaatvt1iu.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s #
1006s # G_BEGIN_DECLS
1006s #
1006s # /* VOID:STRING (/tmp/tmpjug4nozy/tmpaatvt1iu.list:1) */
1006s # extern
1006s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
1006s # GValue *return_value,
1006s # guint n_param_values,
1006s # const GValue *param_values,
1006s # gpointer invocation_hint,
1006s # gpointer marshal_data);
1006s # extern
1006s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
1006s # GValue *return_value,
1006s # gpointer instance,
1006s # va_list args,
1006s # gpointer marshal_data,
1006s # int n_params,
1006s # GType *param_types);
1006s #
1006s #
1006s # G_END_DECLS
1006s #
1006s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1006s # Error:
1006s #
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpjug4nozy/tmpaatvt1iu.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #ifdef G_ENABLE_DEBUG
1006s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1006s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1006s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1006s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1006s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1006s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1006s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1006s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1006s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1006s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1006s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1006s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1006s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1006s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1006s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1006s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1006s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1006s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1006s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1006s # #else /* !G_ENABLE_DEBUG */
1006s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1006s # * Do not access GValues directly in your code. Instead, use the
1006s # * g_value_get_*() functions
1006s # */
1006s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1006s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1006s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1006s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1006s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1006s # #endif /* !G_ENABLE_DEBUG */
1006s #
1006s # /* VOID:STRING (/tmp/tmpjug4nozy/tmpaatvt1iu.list:1) */
1006s # void
1006s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
1006s # GValue *return_value G_GNUC_UNUSED,
1006s # guint n_param_values,
1006s # const GValue *param_values,
1006s # gpointer invocation_hint G_GNUC_UNUSED,
1006s # gpointer marshal_data)
1006s # {
1006s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
1006s # gpointer arg1,
1006s # gpointer data2);
1006s # GCClosure *cc = (GCClosure *) closure;
1006s # gpointer data1, data2;
1006s # GMarshalFunc_VOID__STRING callback;
1006s #
1006s # g_return_if_fail (n_param_values == 2);
1006s #
1006s # if (G_CCLOSURE_SWAP_DATA (closure))
1006s # {
1006s # data1 = closure->data;
1006s # data2 = g_value_peek_pointer (param_values + 0);
1006s # }
1006s # else
1006s # {
1006s # data1 = g_value_peek_pointer (param_values + 0);
1006s # data2 = closure->data;
1006s # }
1006s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
1006s #
1006s # callback (data1,
1006s # g_marshal_value_peek_string (param_values + 1),
1006s # data2);
1006s # }
1006s #
1006s # void
1006s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
1006s # GValue *return_value G_GNUC_UNUSED,
1006s # gpointer instance,
1006s # va_list args,
1006s # gpointer marshal_data,
1006s # int n_params,
1006s # GType *param_types)
1006s # {
1006s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
1006s # gpointer arg1,
1006s # gpointer data2);
1006s # GCClosure *cc = (GCClosure *) closure;
1006s # gpointer data1, data2;
1006s # GMarshalFunc_VOID__STRING callback;
1006s # gpointer arg0;
1006s # va_list args_copy;
1006s #
1006s # va_copy (args_copy, args);
1006s # arg0 = (gpointer) va_arg (args_copy, gpointer);
1006s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1006s # arg0 = g_strdup (arg0);
1006s # va_end (args_copy);
1006s #
1006s #
1006s # if (G_CCLOSURE_SWAP_DATA (closure))
1006s # {
1006s # data1 = closure->data;
1006s # data2 = instance;
1006s # }
1006s # else
1006s # {
1006s # data1 = instance;
1006s # data2 = closure->data;
1006s # }
1006s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
1006s #
1006s # callback (data1,
1006s # arg0,
1006s # data2);
1006s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1006s # g_free (arg0);
1006s # }
1006s # Error:
1006s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller
1006s # glib-genmarshal: /usr/bin/glib-genmarshal
1006s # tmpdir: /tmp/tmpt_ycpcw1
1006s # /tmp/tmpt_ycpcw1/tmp73c9z1n9.list: VOID:VARIANT
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt_ycpcw1/tmp73c9z1n9.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
1006s #
1006s # G_BEGIN_DECLS
1006s #
1006s # /* VOID:VARIANT (/tmp/tmpt_ycpcw1/tmp73c9z1n9.list:1) */
1006s # extern
1006s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
1006s # GValue *return_value,
1006s # guint n_param_values,
1006s # const GValue *param_values,
1006s # gpointer invocation_hint,
1006s # gpointer marshal_data);
1006s # extern
1006s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
1006s # GValue *return_value,
1006s # gpointer instance,
1006s # va_list args,
1006s # gpointer marshal_data,
1006s # int n_params,
1006s # GType *param_types);
1006s #
1006s #
1006s # G_END_DECLS
1006s #
1006s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
1006s # Error:
1006s #
1006s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt_ycpcw1/tmp73c9z1n9.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
1006s # Return code: 0
1006s # Output:
1006s # /* 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. */
1006s # #ifdef G_ENABLE_DEBUG
1006s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
1006s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
1006s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
1006s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
1006s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
1006s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
1006s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
1006s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
1006s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
1006s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
1006s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
1006s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
1006s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
1006s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
1006s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
1006s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
1006s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
1006s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
1006s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
1006s # #else /* !G_ENABLE_DEBUG */
1006s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
1006s # * Do not access GValues directly in your code. Instead, use the
1006s # * g_value_get_*() functions
1006s # */
1006s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
1006s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
1006s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
1006s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
1006s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
1006s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
1006s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
1006s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
1006s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
1006s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
1006s # #endif /* !G_ENABLE_DEBUG */
1006s #
1006s # /* VOID:VARIANT (/tmp/tmpt_ycpcw1/tmp73c9z1n9.list:1) */
1006s # void
1006s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
1006s # GValue *return_value G_GNUC_UNUSED,
1006s # guint n_param_values,
1006s # const GValue *param_values,
1006s # gpointer invocation_hint G_GNUC_UNUSED,
1006s # gpointer marshal_data)
1006s # {
1006s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
1006s # gpointer arg1,
1006s # gpointer data2);
1006s # GCClosure *cc = (GCClosure *) closure;
1006s # gpointer data1, data2;
1006s # GMarshalFunc_VOID__VARIANT callback;
1006s #
1006s # g_return_if_fail (n_param_values == 2);
1006s #
1006s # if (G_CCLOSURE_SWAP_DATA (closure))
1006s # {
1006s # data1 = closure->data;
1006s # data2 = g_value_peek_pointer (param_values + 0);
1006s # }
1006s # else
1006s # {
1006s # data1 = g_value_peek_pointer (param_values + 0);
1006s # data2 = closure->data;
1006s # }
1006s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
1006s #
1006s # callback (data1,
1006s # g_marshal_value_peek_variant (param_values + 1),
1006s # data2);
1006s # }
1006s #
1006s # void
1006s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
1006s # GValue *return_value G_GNUC_UNUSED,
1006s # gpointer instance,
1006s # va_list args,
1006s # gpointer marshal_data,
1006s # int n_params,
1006s # GType *param_types)
1006s # {
1006s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
1006s # gpointer arg1,
1006s # gpointer data2);
1006s # GCClosure *cc = (GCClosure *) closure;
1006s # gpointer data1, data2;
1006s # GMarshalFunc_VOID__VARIANT callback;
1006s # gpointer arg0;
1006s # va_list args_copy;
1006s #
1006s # va_copy (args_copy, args);
1006s # arg0 = (gpointer) va_arg (args_copy, gpointer);
1006s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1006s # arg0 = g_variant_ref_sink (arg0);
1006s # va_end (args_copy);
1006s #
1006s #
1006s # if (G_CCLOSURE_SWAP_DATA (closure))
1006s # {
1006s # data1 = closure->data;
1006s # data2 = instance;
1006s # }
1006s # else
1006s # {
1006s # data1 = instance;
1006s # data2 = closure->data;
1006s # }
1006s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
1006s #
1006s # callback (data1,
1006s # arg0,
1006s # data2);
1006s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
1006s # g_variant_unref (arg0);
1006s # }
1006s # Error:
1006s 1..8
1006s ok - glib/genmarshal.py.test
1006s # Running test: glib/shell.test
1006s ok - glib/shell.test
1006s TAP version 14
1006s # random seed: R02Sd0ec3a5b760ecf3a9c1ad146668245bb
1006s 1..52
1006s # Start of shell tests
1006s # Start of cmdline tests
1006s test cmdline: foo bar
1006s ok 1 /shell/cmdline/0
1006s test cmdline: foo 'bar'
1006s ok 2 /shell/cmdline/1
1006s test cmdline: foo "bar"
1006s ok 3 /shell/cmdline/2
1006s test cmdline: foo '' 'bar'
1006s ok 4 /shell/cmdline/3
1006s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo"
1006s ok 5 /shell/cmdline/4
1006s test cmdline: foo blah foo bar baz
1006s ok 6 /shell/cmdline/5
1006s test cmdline: foo ' spaces more spaces lots of spaces in this '
1006s ok 7 /shell/cmdline/6
1006s test cmdline: foo \
1006s bar
1006s ok 8 /shell/cmdline/7
1006s test cmdline: foo '' ''
1006s ok 9 /shell/cmdline/8
1006s test cmdline: foo \" la la la
1006s ok 10 /shell/cmdline/9
1006s test cmdline: foo \ foo woo woo\
1006s ok 11 /shell/cmdline/10
1006s test cmdline: foo "yada yada \$\""
1006s ok 12 /shell/cmdline/11
1006s test cmdline: foo "c:\\"
1006s ok 13 /shell/cmdline/12
1006s test cmdline: foo # bla bla bla
1006s bar
1006s ok 14 /shell/cmdline/13
1006s test cmdline: foo a#b
1006s ok 15 /shell/cmdline/14
1006s test cmdline: #foo
1006s ok 16 /shell/cmdline/15
1006s test cmdline: foo bar \
1006s ok 17 /shell/cmdline/16
1006s test cmdline: foo 'bar baz
1006s ok 18 /shell/cmdline/17
1006s test cmdline: foo '"bar" baz
1006s ok 19 /shell/cmdline/18
1006s test cmdline:
1006s ok 20 /shell/cmdline/19
1006s test cmdline:
1006s ok 21 /shell/cmdline/20
1006s test cmdline: # foo bar
1006s ok 22 /shell/cmdline/21
1006s test cmdline: #
1006s ok 23 /shell/cmdline/22
1006s test cmdline: foo '/bar/summer'\''09 tours.pdf'
1006s ok 24 /shell/cmdline/23
1006s # End of cmdline tests
1006s # Start of quote tests
1006s ok 25 /shell/quote/0
1006s ok 26 /shell/quote/1
1006s ok 27 /shell/quote/2
1006s ok 28 /shell/quote/3
1006s ok 29 /shell/quote/4
1006s ok 30 /shell/quote/5
1006s ok 31 /shell/quote/6
1006s # End of quote tests
1006s # Start of unquote tests
1006s ok 32 /shell/unquote/0
1006s ok 33 /shell/unquote/1
1006s ok 34 /shell/unquote/2
1006s ok 35 /shell/unquote/3
1006s ok 36 /shell/unquote/4
1006s ok 37 /shell/unquote/5
1006s ok 38 /shell/unquote/6
1006s ok 39 /shell/unquote/7
1006s ok 40 /shell/unquote/8
1006s ok 41 /shell/unquote/9
1006s ok 42 /shell/unquote/10
1006s ok 43 /shell/unquote/11
1006s ok 44 /shell/unquote/12
1006s ok 45 /shell/unquote/13
1006s ok 46 /shell/unquote/14
1006s ok 47 /shell/unquote/15
1006s ok 48 /shell/unquote/16
1006s ok 49 /shell/unquote/17
1006s ok 50 /shell/unquote/18
1006s ok 51 /shell/unquote/19
1006s ok 52 /shell/unquote/20
1006s # End of unquote tests
1006s # End of shell tests
1006s # Running test: glib/print.test
1006s ok - glib/print.test
1006s TAP version 14
1006s # random seed: R02S5a8df14a100b43e3bdd09f9c16bed79a
1006s 1..1
1006s ok 1 /print-console # SKIP Testing console output only supported on Windows
1006s # Running test: glib/unix-fd.test
1006s ok - glib/unix-fd.test
1006s TAP version 14
1006s # random seed: R02S69cf2aa6b228b720f6849503369162a7
1006s 1..2
1006s # Start of unix-fd tests
1006s ok 1 /unix-fd/fd-list
1006s ok 2 /unix-fd/scm
1006s # End of unix-fd tests
1006s # Running test: glib/utf8-private.test
1006s ok - glib/utf8-private.test
1006s TAP version 14
1006s # random seed: R02S53a27d6a40e7048d05e56922e93eb559
1006s 1..2
1006s # Start of utf8 tests
1006s ok 1 /utf8/utf8-to-utf16-make-valid
1006s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack
1006s # End of utf8 tests
1006s # Running test: glib/memory-monitor.test
1006s TAP version 14
1006s # random seed: R02S46fcd6ae565cec699e05a619a9a5e0ca
1006s 1..1
1006s # Start of memory-monitor tests
1006s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals
1006s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’
1006s ok 1 /memory-monitor/default
1006s # End of memory-monitor tests
1006s ok - glib/memory-monitor.test
1006s # Running test: glib/async-splice-output-stream.test
1006s TAP version 14
1006s # random seed: R02S3b5be9b69b2a30837d1b4e6fb9990039
1006s 1..5
1006s # Start of async-splice tests
1006s ok 1 /async-splice/copy-chunks
1006s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1006s ok 2 /async-splice/copy-chunks-threaded-input
1006s ok 3 /async-splice/copy-chunks-threaded-output
1006s ok - glib/async-splice-output-stream.test
1006s ok 4 /async-splice/copy-chunks-threaded
1006s ok 5 /async-splice/cancelled
1006s # End of async-splice tests
1006s # Running test: glib/async-close-output-stream.test
1006s TAP version 14
1006s # random seed: R02S25a5d56472bff91d529ffcd28f7ae6a4
1006s 1..3
1006s # Start of close-async tests
1006s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
1006s ok 1 /close-async/without-flush
1006s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
1006s ok 2 /close-async/with-flush
1006s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
1006s ok 3 /close-async/with-async-flush
1006s # End of close-async tests
1006s ok - glib/async-close-output-stream.test
1006s TAP version 14
1006s # random seed: R02S4932465cb59bbbc6d758d5a158965145
1006s 1..3
1006s # Start of static-proxy tests
1006s ok 1 /static-proxy/uri
1006s # Running test: glib/simple-proxy.test
1006s ok 2 /static-proxy/socks
1006s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000
1006s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000
1006s ok 3 /static-proxy/ignore
1006s # End of static-proxy tests
1006s ok - glib/simple-proxy.test
1006s # Running test: glib/relation.test
1006s TAP version 14
1006s # random seed: R02Scc3a795a57dcee6c87e5ba28d7038801
1006s 1..1
1006s # Start of glib tests
1006s ok - glib/relation.test
1006s ok 1 /glib/relation
1006s # End of glib tests
1006s # Running test: glib/gdbus-exit-on-close.test
1006s TAP version 14
1006s # random seed: R02S652295b42e6961562a9f031e21a38764
1006s 1..4
1006s # Start of gdbus tests
1006s # Start of exit-on-close tests
1006s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/home
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/cache
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/system-config2
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/config
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/system-data2
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/data
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/state
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/default/.dirs/runtime
1006s ok 1 /gdbus/exit-on-close/default
1006s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/home
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/cache
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/system-config2
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/config
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/system-data2
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/data
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/state
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/true/.dirs/runtime
1006s ok 2 /gdbus/exit-on-close/true
1006s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/home
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/cache
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/system-config2
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/config
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/system-data2
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/data
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/state
1006s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/false/.dirs/runtime
1007s ok 3 /gdbus/exit-on-close/false
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_IQ3LK3/gdbus/exit-on-close/we-close/.dirs/runtime
1007s # Executing: glib/gdbus-exit-on-close.test
1007s ok 4 /gdbus/exit-on-close/we-close
1007s # Start of default tests
1007s # End of default tests
1007s # Start of true tests
1007s # End of true tests
1007s # Start of false tests
1007s # End of false tests
1007s # Start of we-close tests
1007s # End of we-close tests
1007s # End of exit-on-close tests
1007s # End of gdbus tests
1007s ok - glib/gdbus-exit-on-close.test
1007s # Running test: glib/onceinit.test
1007s TAP version 14
1007s # random seed: R02S8615be386823935d291c810365ccf5a7
1007s 1..1
1007s # Start of thread tests
1007s ok 1 /thread/onceinit
1007s # End of thread tests
1007s ok - glib/onceinit.test
1007s # Running test: glib/utils-isolated.test
1007s TAP version 14
1007s # random seed: R02Sc1da389a33e0438306567125cc0c0d67
1007s 1..11
1007s # Start of utils-isolated tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/tmp-dir/.dirs/runtime
1007s ok 1 /utils-isolated/tmp-dir
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/home-dir/.dirs/runtime
1007s ok 2 /utils-isolated/home-dir
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-cache-dir/.dirs/runtime
1007s ok 3 /utils-isolated/user-cache-dir
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-config-dirs/.dirs/runtime
1007s ok 4 /utils-isolated/system-config-dirs
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-config-dir/.dirs/runtime
1007s ok 5 /utils-isolated/user-config-dir
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/system-data-dirs/.dirs/runtime
1007s ok 6 /utils-isolated/system-data-dirs
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-data-dir/.dirs/runtime
1007s ok 7 /utils-isolated/user-data-dir
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-state-dir/.dirs/runtime
1007s ok 8 /utils-isolated/user-state-dir
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/user-runtime-dir/.dirs/runtime
1007s ok 9 /utils-isolated/user-runtime-dir
1007s # Start of cleanup tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/runtime
1007s Unable to clean up temporary directory /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty
1007s Unable to clean up temporary directory /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty
1007s Unable to clean up temporary directory /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/handles-errors: Directory not empty
1007s ok 10 /utils-isolated/cleanup/handles-errors
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime
1007s Unable to clean up temporary directory /tmp/test_utils-isolated_T9J9J3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory
1007s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks
1007s # End of cleanup tests
1007s # End of utils-isolated tests
1007s ok - glib/utils-isolated.test
1007s # Running test: glib/utf8-misc.test
1007s TAP version 14
1007s # random seed: R02S0c0e2027b1e9c1958e46ea74239f6c3f
1007s 1..7
1007s # Start of utf8 tests
1007s ok 1 /utf8/strlen
1007s ok 2 /utf8/strncpy
1007s ok 3 /utf8/strrchr
1007s ok 4 /utf8/reverse
1007s ok 5 /utf8/substring
1007s ok 6 /utf8/make-valid
1007s ok 7 /utf8/truncate-middle
1007s # End of utf8 tests
1007s ok - glib/utf8-misc.test
1007s # Running test: glib/null-settings-backend.test
1007s TAP version 14
1007s # random seed: R02Se5f5d537b740004170de382cb1bdc93b
1007s 1..1
1007s # Start of null-settings-backend tests
1007s ok 1 /null-settings-backend/extension-point-registered
1007s # End of null-settings-backend tests
1007s ok - glib/null-settings-backend.test
1007s # Running test: glib/defaultvalue.test
1007s TAP version 14
1007s # random seed: R02S63f7977585400ba4fc85409c7594ca95
1007s 1..84
1007s # Start of Default Values tests
1007s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton
1007s ok 2 /Default Values/GAppLaunchContext
1007s ok 3 /Default Values/GApplicationCommandLine
1007s # skipping GApplication:is-remote
1007s ok 4 /Default Values/GApplication
1007s ok 5 /Default Values/GBinding # SKIP mandatory construct params
1007s ok 6 /Default Values/GBindingGroup
1007s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params
1007s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params
1007s ok 9 /Default Values/GBytesIcon
1007s ok 10 /Default Values/GCancellable
1007s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params
1007s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params
1007s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params
1007s ok 14 /Default Values/GCredentials
1007s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params
1007s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params
1007s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params
1007s ok 18 /Default Values/GDBusAuthObserver
1007s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params
1007s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize
1007s ok 21 /Default Values/GDBusMessage
1007s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize
1007s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params
1007s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params
1007s ok 25 /Default Values/GDBusObjectProxy
1007s ok 26 /Default Values/GDBusObjectSkeleton
1007s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params
1007s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params
1007s ok 29 /Default Values/GEmblem
1007s ok 30 /Default Values/GEmblemedIcon
1007s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract
1007s ok 32 /Default Values/GFileInfo
1007s ok 33 /Default Values/GFileInputStream
1007s ok 34 /Default Values/GFileIOStream # SKIP should be abstract
1007s ok 35 /Default Values/GFileOutputStream
1007s ok 36 /Default Values/GFilenameCompleter
1007s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params
1007s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed
1007s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params
1007s ok 40 /Default Values/GInitiallyUnowned
1007s ok 41 /Default Values/GIOModule
1007s ok 42 /Default Values/GListStore
1007s ok 43 /Default Values/GMemoryInputStream
1007s ok 44 /Default Values/GMemoryOutputStream
1007s ok 45 /Default Values/GMenu
1007s ok 46 /Default Values/GMenuItem
1007s ok 47 /Default Values/GMountOperation
1007s ok 48 /Default Values/GNativeSocketAddress
1007s ok 49 /Default Values/GNetworkAddress
1007s ok 50 /Default Values/GNetworkService
1007s ok 51 /Default Values/GNotification
1007s ok 52 /Default Values/GObject
1007s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params
1007s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
1007s # skipping GProxyAddressEnumerator:proxy-resolver
1007s ok 54 /Default Values/GProxyAddressEnumerator
1007s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params
1007s ok 56 /Default Values/GSettings # SKIP mandatory construct params
1007s ok 57 /Default Values/GSignalGroup
1007s ok 58 /Default Values/GSimpleAction
1007s ok 59 /Default Values/GSimpleActionGroup
1007s ok 60 /Default Values/GSimpleAsyncResult
1007s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params
1007s ok 62 /Default Values/GSimplePermission
1007s ok 63 /Default Values/GSimpleProxyResolver
1007s # skipping GSocketClient:proxy-resolver
1007s ok 64 /Default Values/GSocketClient
1007s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params
1007s ok 66 /Default Values/GSocket # SKIP initialization failed
1007s ok 67 /Default Values/GSocketListener
1007s ok 68 /Default Values/GSocketService
1007s ok 69 /Default Values/GSubprocess # SKIP initialization failed
1007s ok 70 /Default Values/GSubprocessLauncher
1007s # GLib-GIO-DEBUG: GTask 0x616844cb2b00 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1007s ok 71 /Default Values/GTask
1007s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params
1007s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params
1007s ok 74 /Default Values/GTestDBus
1007s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params
1007s ok 76 /Default Values/GThreadedSocketService
1007s ok 77 /Default Values/GTlsInteraction
1007s ok 78 /Default Values/GTlsPassword
1007s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params
1007s ok 80 /Default Values/GUnixFDList
1007s ok 81 /Default Values/GVfs
1007s ok 82 /Default Values/GVolumeMonitor
1007s ok 83 /Default Values/GZlibCompressor
1007s ok 84 /Default Values/GZlibDecompressor
1007s # End of Default Values tests
1007s ok - glib/defaultvalue.test
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # Running test: glib/union-info.test
1007s TAP version 14
1007s # random seed: R02Sb762017ba52853183e8430e3d80d17ea
1007s 1..2
1007s # Start of union-info tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_87W9J3/union-info/basic/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_87W9J3/union-info/basic/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_87W9J3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_87W9J3/union-info/basic/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_87W9J3/union-info/basic/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_87W9J3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_87W9J3/union-info/basic/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_87W9J3/union-info/basic/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_87W9J3/union-info/basic/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_87W9J3/union-info/basic/.dirs/runtime
1007s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1007s # /union-info/basic summary: Test basic properties of GIUnionInfo
1007s ok 1 /union-info/basic
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_87W9J3/union-info/methods/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_87W9J3/union-info/methods/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_87W9J3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_87W9J3/union-info/methods/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_87W9J3/union-info/methods/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_87W9J3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_87W9J3/union-info/methods/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_87W9J3/union-info/methods/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_87W9J3/union-info/methods/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_87W9J3/union-info/methods/.dirs/runtime
1007s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1007s # /union-info/methods summary: Test retrieving methods from GIUnionInfo
1007s ok 2 /union-info/methods
1007s # End of union-info tests
1007s ok - glib/union-info.test
1007s # Running test: glib/queue.test
1007s TAP version 14
1007s # random seed: R02S3ee00cd00aeae04eda7872d5b0ca956c
1007s 1..12
1007s # Start of queue tests
1007s ok 1 /queue/basic
1007s ok 2 /queue/copy
1007s ok 3 /queue/off-by-one
1007s ok 4 /queue/find-custom
1007s ok 5 /queue/static
1007s ok 6 /queue/clear
1007s ok 7 /queue/free-full
1007s ok 8 /queue/clear-full
1007s ok 9 /queue/insert-sibling-link
1007s ok 10 /queue/push-nth-link
1007s # Start of clear-full tests
1007s ok 11 /queue/clear-full/noop
1007s # End of clear-full tests
1007s # Start of random tests
1007s ok 12 /queue/random/seed:1247946109
1007s # End of random tests
1007s # End of queue tests
1007s ok - glib/queue.test
1007s # Running test: glib/file-enumerator.test
1007s ok - glib/file-enumerator.test
1007s # Running test: glib/uri.test
1007s TAP version 14
1007s # random seed: R02S048d0a0cb06bf65d715f3589d554af18
1007s 1..1
1007s # Start of file-enumerator tests
1007s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1007s ok 1 /file-enumerator/close-on-dispose
1007s # End of file-enumerator tests
1007s TAP version 14
1007s # random seed: R02Sa0310304ccbc63456d14b4e5e89acb1f
1007s 1..24
1007s # Start of uri tests
1007s ok 1 /uri/file-to-uri
1007s ok 2 /uri/file-from-uri
1007s ok 3 /uri/file-roundtrip
1007s ok 4 /uri/list
1007s # Test 0: %2Babc %4F
1007s # Test 1: %2Babc %4F
1007s # Test 2: %00abc %4F
1007s # Test 3: /cursors/none.png
1007s # Test 4: /cursors%2fbad-subdir/none.png
1007s # Test 5: %0
1007s # Test 6: %ra
1007s # Test 7: %2r
1007s # Test 8: Timm Bäder
1007s # Test 9: (null)
1007s ok 5 /uri/unescape-string
1007s ok 6 /uri/unescape-segment
1007s # Test 0: abcdefgABCDEFG._~
1007s # Test 1: :+ \\?#
1007s # Test 2: a+b:c
1007s # Test 3: a+b:c\303\234
1007s # Test 4: \374;\322
1007s # Test 5: \303\261\303(
1007s ok 7 /uri/escape-string
1007s ok 8 /uri/escape-bytes
1007s ok 9 /uri/scheme
1007s ok 10 /uri/build
1007s ok 11 /uri/split
1007s ok 12 /uri/is_valid
1007s ok 13 /uri/to-string
1007s ok 14 /uri/join
1007s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip
1007s # Combination 0
1007s # Combination 1
1007s # Combination 2
1007s # Combination 3
1007s # Combination 4
1007s # Combination 5
1007s # Combination 6
1007s # Combination 7
1007s # Combination 8
1007s # Combination 9
1007s # Combination 10
1007s # Combination 11
1007s # Combination 12
1007s # Combination 13
1007s # Combination 14
1007s # Combination 15
1007s # Combination 16
1007s # Combination 17
1007s # Combination 18
1007s # Combination 19
1007s # Combination 20
1007s # Combination 21
1007s # Combination 22
1007s # Combination 23
1007s # Combination 24
1007s # Combination 25
1007s # Combination 26
1007s # Combination 27
1007s # Combination 28
1007s # Combination 29
1007s # Combination 30
1007s # Combination 31
1007s # Combination 32
1007s # Combination 33
1007s # Combination 34
1007s # Combination 35
1007s # Combination 36
1007s # Combination 37
1007s # Combination 38
1007s # Combination 39
1007s # Combination 40
1007s # Combination 41
1007s # Combination 42
1007s # Combination 43
1007s # Combination 44
1007s # Combination 45
1007s # Combination 46
1007s # Combination 47
1007s # Combination 48
1007s # Combination 49
1007s # Combination 50
1007s # Combination 51
1007s # Combination 52
1007s # Combination 53
1007s # Combination 54
1007s # Combination 55
1007s # Combination 56
1007s # Combination 57
1007s # Combination 58
1007s # Combination 59
1007s # Combination 60
1007s ok - glib/uri.test
1007s # Combination 61
1007s # Combination 62
1007s # Combination 63
1007s # Combination 64
1007s # Combination 65
1007s # Combination 66
1007s # Combination 67
1007s # Combination 68
1007s # Combination 69
1007s # Combination 70
1007s # Combination 71
1007s # Combination 72
1007s # Combination 73
1007s # Combination 74
1007s # Combination 75
1007s # Combination 76
1007s # Combination 77
1007s # Combination 78
1007s # Combination 79
1007s # Combination 80
1007s # Combination 81
1007s # Combination 82
1007s # Combination 83
1007s # Combination 84
1007s # Combination 85
1007s # Combination 86
1007s # Combination 87
1007s # Combination 88
1007s # Combination 89
1007s # Combination 90
1007s # Combination 91
1007s # Combination 92
1007s # Combination 93
1007s # Combination 94
1007s # Combination 95
1007s # Combination 96
1007s # Combination 97
1007s # Combination 98
1007s # Combination 99
1007s # Combination 100
1007s # Combination 101
1007s # Combination 102
1007s # Combination 103
1007s # Combination 104
1007s # Combination 105
1007s # Combination 106
1007s # Combination 107
1007s # Combination 108
1007s # Combination 109
1007s # Combination 110
1007s # Combination 111
1007s # Combination 112
1007s # Combination 113
1007s # Combination 114
1007s # Combination 115
1007s # Combination 116
1007s # Combination 117
1007s # Combination 118
1007s # Combination 119
1007s # Combination 120
1007s # Combination 121
1007s # Combination 122
1007s # Combination 123
1007s # Combination 124
1007s # Combination 125
1007s # Combination 126
1007s # Combination 127
1007s # Combination 128
1007s # Combination 129
1007s # Combination 130
1007s # Combination 131
1007s # Combination 132
1007s # Combination 133
1007s # Combination 134
1007s # Combination 135
1007s # Combination 136
1007s # Combination 137
1007s # Combination 138
1007s # Combination 139
1007s # Combination 140
1007s # Combination 141
1007s # Combination 142
1007s # Combination 143
1007s # Combination 144
1007s # Combination 145
1007s # Combination 146
1007s # Combination 147
1007s # Combination 148
1007s # Combination 149
1007s # Combination 150
1007s # Combination 151
1007s # Combination 152
1007s # Combination 153
1007s # Combination 154
1007s # Combination 155
1007s # Combination 156
1007s # Combination 157
1007s # Combination 158
1007s # Combination 159
1007s # Combination 160
1007s # Combination 161
1007s # Combination 162
1007s # Combination 163
1007s # Combination 164
1007s # Combination 165
1007s # Combination 166
1007s # Combination 167
1007s # Combination 168
1007s # Combination 169
1007s # Combination 170
1007s # Combination 171
1007s # Combination 172
1007s # Combination 173
1007s # Combination 174
1007s # Combination 175
1007s # Combination 176
1007s # Combination 177
1007s # Combination 178
1007s # Combination 179
1007s # Combination 180
1007s # Combination 181
1007s # Combination 182
1007s # Combination 183
1007s # Combination 184
1007s # Combination 185
1007s # Combination 186
1007s # Combination 187
1007s # Combination 188
1007s # Combination 189
1007s # Combination 190
1007s # Combination 191
1007s # Combination 192
1007s # Combination 193
1007s # Combination 194
1007s # Combination 195
1007s # Combination 196
1007s # Combination 197
1007s # Combination 198
1007s # Combination 199
1007s # Combination 200
1007s # Combination 201
1007s # Combination 202
1007s # Combination 203
1007s # Combination 204
1007s # Combination 205
1007s # Combination 206
1007s # Combination 207
1007s # Combination 208
1007s # Combination 209
1007s # Combination 210
1007s # Combination 211
1007s # Combination 212
1007s # Combination 213
1007s # Combination 214
1007s # Combination 215
1007s # Combination 216
1007s # Combination 217
1007s # Combination 218
1007s # Combination 219
1007s # Combination 220
1007s # Combination 221
1007s # Combination 222
1007s # Combination 223
1007s # Combination 224
1007s # Combination 225
1007s # Combination 226
1007s # Combination 227
1007s # Combination 228
1007s # Combination 229
1007s # Combination 230
1007s # Combination 231
1007s # Combination 232
1007s # Combination 233
1007s # Combination 234
1007s # Combination 235
1007s # Combination 236
1007s # Combination 237
1007s # Combination 238
1007s # Combination 239
1007s # Combination 240
1007s # Combination 241
1007s # Combination 242
1007s # Combination 243
1007s # Combination 244
1007s # Combination 245
1007s # Combination 246
1007s # Combination 247
1007s # Combination 248
1007s # Combination 249
1007s # Combination 250
1007s # Combination 251
1007s # Combination 252
1007s # Combination 253
1007s # Combination 254
1007s # Combination 255
1007s ok 15 /uri/join-split-round-trip
1007s ok 16 /uri/normalize
1007s # Start of unescape-bytes tests
1007s # Test 0: %00%00
1007s # Test 1: /cursors/none.png
1007s # Test 2: /cursors%2fbad-subdir/none.png
1007s # Test 3: %%
1007s # Test 4: %
1007s ok 17 /uri/unescape-bytes/nul-terminated
1007s # Test 0: %00%00
1007s # Test 1: /cursors/none.png
1007s # Test 2: /cursors%2fbad-subdir/none.png
1007s # Test 3: %%
1007s # Test 4: %
1007s ok 18 /uri/unescape-bytes/length
1007s # End of unescape-bytes tests
1007s # Start of parsing tests
1007s # Test 0: foo:
1007s # Test 1: file:/dev/null
1007s # Test 2: file:///dev/null
1007s # Test 3: ftp://user@host/path
1007s # Test 4: ftp://user@host:9999/path
1007s # Test 5: ftp://user:password@host/path
1007s # Test 6: ftp://user:password@host:9999/path
1007s # Test 7: ftp://user:password@host
1007s # Test 8: http://us%65r@host
1007s # Test 9: http://us%40r@host
1007s # Test 10: http://us%3ar@host
1007s # Test 11: http://us%2fr@host
1007s # Test 12: http://us%3fr@host
1007s # Test 13: http://host?query
1007s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value
1007s # 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
1007s # Test 16: http://space/%20
1007s # Test 17: http://delims/%3C%3E%23%25%22
1007s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60
1007s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
1007s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html
1007s # Test 21: http://[3ffe:2a00:100:7031::1]
1007s # Test 22: http://[1080::8:800:200C:417A]/foo
1007s # Test 23: http://[::192.9.5.5]/ipng
1007s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html
1007s # Test 25: http://[2010:836B:4179::836B:4179]
1007s # Test 26: http://host/path with spaces
1007s # Test 27: http://host/path
1007s # Test 28: http://host/path
1007s # Test 29: http://host
1007s # Test 30: http://host:999
1007s # Test 31: http://host/pa
1007s # th
1007s # Test 32: http:
1007s # //host/path
1007s # Test 33: http:// host/path
1007s # Test 34: http://host/path?
1007s # Test 35: http://host/path#
1007s # Test 36: http://host/path%
1007s # Test 37: http://h%ost/path
1007s # Test 38: http://host/path%%
1007s # Test 39: http://host/path%%%
1007s # Test 40: http://host/path%/x/
1007s # Test 41: http://host/path%0x/
1007s # Test 42: http://host/path%ax
1007s # Test 43: http://host/päth/
1007s # Test 44: HTTP:////////////////
1007s # Test 45: http://@host
1007s # Test 46: http://:@host
1007s # Test 47: scheme://foo%3Abar._webdav._tcp.local
1007s # Test 48: http://example.com/..
1007s # Test 49: foo0://host/path
1007s # Test 50: f0.o://host/path
1007s # Test 51: http++://host/path
1007s # Test 52: http-ish://host/path
1007s # Test 53: http://[fe80::dead:beef%]/
1007s # Test 54: http://[fe80::dead:beef%em1]/
1007s # Test 55: http://[fe80::dead:beef%em1]/
1007s # Test 56: http://[fe80::dead:beef%25em1]/
1007s # Test 57: http://[fe80::dead:beef%25em1%20]/
1007s # Test 58: http://[fe80::dead:beef%25em%31]/
1007s # Test 59: http://[fe80::dead:beef%10]/
1007s # Test 60: http://[fe80::dead:beef%10]/
1007s # Test 61: http://[fe80::dead:beef%25]/
1007s # Test 62: http://[fe80::dead:beef%25]/
1007s # Test 63: http://[192.168.0.1%25em1]/
1007s # Test 64: http://[fe80::dead:beef%2em1]/
1007s # Test 65: http://[fe80::dead:beef%2em1]/
1007s # Test 66: http://[fe80::dead:beef%25em1%00]/
1007s # Test 67: http://[fe80::dead:beef%25em1%00]/
1007s # Test 68: http://xn--mixed-üp/
1007s # Test 69: data:.///
1007s # Test 70: data:/.//
1007s ok 19 /uri/parsing/absolute
1007s ok 20 /uri/parsing/relative
1007s # End of parsing tests
1007s # Start of iter-params tests
1007s # URI 0: p1=foo&p2=bar;p3=baz
1007s # URI 1: p1=foo&p2=bar
1007s # URI 2: p1=foo&&P1=bar
1007s # URI 3: %00=foo
1007s # URI 4: p1=%00
1007s # URI 5: p1=foo&p1=bar
1007s # URI 6: p1=foo&P1=bar
1007s # URI 7: =%
1007s # URI 8: =
1007s # URI 9: foo
1007s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1007s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1007s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
1007s ok 21 /uri/iter-params/nul-terminated
1007s # URI 0: p1=foo&p2=bar;p3=baz
1007s # URI 1: p1=foo&p2=bar
1007s # URI 2: p1=foo&&P1=bar
1007s # URI 3: %00=foo
1007s # URI 4: p1=%00
1007s # URI 5: p1=foo&p1=bar
1007s # URI 6: p1=foo&P1=bar
1007s # URI 7: =%
1007s # URI 8: =
1007s # URI 9: foo
1007s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1007s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1007s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
1007s ok 22 /uri/iter-params/length
1007s # End of iter-params tests
1007s # Start of parse-params tests
1007s # URI 0: p1=foo&p2=bar;p3=baz
1007s # URI 1: p1=foo&p2=bar
1007s # URI 2: p1=foo&&P1=bar
1007s # URI 3: %00=foo
1007s # URI 4: p1=%00
1007s # URI 5: p1=foo&p1=bar
1007s # URI 6: p1=foo&P1=bar
1007s # URI 7: =%
1007s # URI 8: =
1007s # URI 9: foo
1007s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1007s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1007s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
1007s ok 23 /uri/parse-params/nul-terminated
1007s # URI 0: p1=foo&p2=bar;p3=baz
1007s # URI 1: p1=foo&p2=bar
1007s # URI 2: p1=foo&&P1=bar
1007s # URI 3: %00=foo
1007s # URI 4: p1=%00
1007s # URI 5: p1=foo&p1=bar
1007s # URI 6: p1=foo&P1=bar
1007s # URI 7: =%
1007s # URI 8: =
1007s # URI 9: foo
1007s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1007s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
1007s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
1007s ok 24 /uri/parse-params/length
1007s # End of parse-params tests
1007s # End of uri tests
1007s # Running test: glib/g-file-info-filesystem-readonly.test
1007s TAP version 14
1007s ok - glib/g-file-info-filesystem-readonly.test
1007s # Running test: glib/g-icon.test
1007s # random seed: R02S0d5273bbf359fc7a2335294e2e17eb45
1007s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731
1007s 1..2
1007s # Start of g-file-info-filesystem-readonly tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime
1007s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_F3PBK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime
1007s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
1007s # End of g-file-info-filesystem-readonly tests
1007s TAP version 14
1007s # random seed: R02S8e512ff978e12e4b4d928c588f9bd174
1007s 1..6
1007s # Start of icons tests
1007s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1007s ok 1 /icons/to-string
1007s ok 2 /icons/serialize
1007s ok 3 /icons/themed
1007s ok 4 /icons/emblemed
1007s ok 5 /icons/file
1007s ok 6 /icons/bytes
1007s # End of icons tests
1007s ok - glib/g-icon.test
1007s # Running test: glib/function-info.test
1007s TAP version 14
1007s # random seed: R02S052e1262b9601e3c640369d509a83eb2
1007s 1..1
1007s # Start of function-info tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_DALBK3/function-info/invoker/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_DALBK3/function-info/invoker/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_DALBK3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_DALBK3/function-info/invoker/.dirs/system-config2
1007s ok - glib/function-info.test
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_DALBK3/function-info/invoker/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_DALBK3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_DALBK3/function-info/invoker/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_DALBK3/function-info/invoker/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_DALBK3/function-info/invoker/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_DALBK3/function-info/invoker/.dirs/runtime
1007s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1007s # /function-info/invoker summary: Test preparing a function invoker
1007s ok 1 /function-info/invoker
1007s # End of function-info tests
1007s # Running test: glib/gdbus-test-codegen.test
1007s TAP version 14
1007s # random seed: R02S43d205313abcefe32919cd19c2dae678
1007s 1..8
1007s # Start of gdbus tests
1007s # Start of codegen tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/annotations/.dirs/runtime
1007s ok 1 /gdbus/codegen/annotations
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/interface_stability/.dirs/runtime
1007s ok 2 /gdbus/codegen/interface_stability
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/object-manager/.dirs/runtime
1007s ok - glib/gdbus-test-codegen.test
1007s ok 3 /gdbus/codegen/object-manager
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/property-naming/.dirs/runtime
1007s ok 4 /gdbus/codegen/property-naming
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/autocleanups/.dirs/runtime
1007s ok 5 /gdbus/codegen/autocleanups
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/deprecations/.dirs/runtime
1007s ok 6 /gdbus/codegen/deprecations
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/standalone-interface-info/.dirs/runtime
1007s ok 7 /gdbus/codegen/standalone-interface-info
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R1JBK3/gdbus/codegen/unix-fd-list/.dirs/runtime
1007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
1007s ok 8 /gdbus/codegen/unix-fd-list
1007s # End of codegen tests
1007s # End of gdbus tests
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # Running test: glib/cxx-17.test
1007s TAP version 14
1007s # random seed: R02S47d33abfe8c818fbad0450ab5dab528b
1007s 1..2
1007s # Start of gtask tests
1007s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1007s ok 1 /gtask/name
1007s # Start of name tests
1007s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
1007s ok 2 /gtask/name/macro-wrapper
1007s # End of name tests
1007s # End of gtask tests
1007s ok - glib/cxx-17.test
1007s # Running test: glib/signal-handler.test
1007s TAP version 14
1007s # random seed: R02Sb7e503f9214c288ec8423956e093c9fd
1007s 1..7
1007s # Start of signal tests
1007s # Start of handler tests
1007s # min perf: connected 1 handlers in 0.000 seconds
1007s ok 1 /signal/handler/connect-many
1007s # min perf: disconnected 1 handlers in 0.000 seconds
1007s ok 2 /signal/handler/disconnect-many-ordered
1007s # min perf: disconnected 1 handlers in 0.000 seconds
1007s ok 3 /signal/handler/disconnect-many-inverse
1007s # min perf: disconnected 1 handlers in 0.000 seconds
1007s ok 4 /signal/handler/disconnect-many-random
1007s # min perf: disconnected 1 handlers in 0.000 seconds
1007s ok 5 /signal/handler/disconnect-2-signals
1007s # min perf: disconnected 1 handlers in 0.000 seconds
1007s ok 6 /signal/handler/disconnect-2-objects
1007s # min perf: blocked and unblocked 1 handlers in 0.000 seconds
1007s ok 7 /signal/handler/block-many
1007s # End of handler tests
1007s # End of signal tests
1007s ok - glib/signal-handler.test
1007s # Running test: glib/memchunk.test
1007s TAP version 14
1007s # random seed: R02S16de7ff8efe5855f66916cb978b74e69
1007s 1..1
1007s # Start of memchunk tests
1007s ok 1 /memchunk/basic
1007s # End of memchunk tests
1007s ok - glib/memchunk.test
1007s # Running test: glib/basics-gobject.test
1007s TAP version 14
1007s # random seed: R02Sde5531a25586f439885136b3451d384a
1007s 1..1
1007s # Start of gobject tests
1007s # private data during initialization: 54321 == 54321
1007s # MAIN: emit test-signal:
1007s # ::test_signal default_handler called
1007s # ::test_signal default_handler called
1007s # ::test_signal default_handler called
1007s # signal return: ""
1007s # MAIN: call iface print-string on test and derived object:
1007s # Iface-FOO: "iface-string-from-test-type" from 0x5ad85ceee870
1007s # Iface-BAR: "iface-string-from-derived-type" from 0x5ad85ceee720
1007s # chaining:
1007s # Iface-FOO: "iface-string-from-derived-type" from 0x5ad85ceee720
1007s # private data after initialization: 54321 == 54321
1007s ok 1 /gobject/basics
1007s # End of gobject tests
1007s ok - glib/basics-gobject.test
1007s # Running test: glib/atomic-c-17.test
1007s TAP version 14
1007s # random seed: R02See31d4431ad94780c652e5693da40fb0
1007s 1..2
1007s # Start of atomic tests
1007s ok 1 /atomic/types
1007s ok 2 /atomic/threaded
1007s # End of atomic tests
1007s ok - glib/atomic-c-17.test
1007s # Running test: glib/gdbus-names.test
1007s TAP version 14
1007s # random seed: R02S04508d4ac983ec031db5e8b7b87a6649
1007s 1..10
1007s # Start of gdbus tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/validate-names/.dirs/runtime
1007s ok 1 /gdbus/validate-names
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-own-name/.dirs/runtime
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 2 /gdbus/bus-own-name
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name/.dirs/runtime
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 3 /gdbus/bus-watch-name
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start/.dirs/runtime
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 4 /gdbus/bus-watch-name-auto-start
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1007s dbus-daemon[30935]: [session uid=1000 pid=30935 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=30926 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined")
1007s # Acquired a message bus connection
1007s dbus-daemon[30935]: [session uid=1000 pid=30935 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService'
1007s # Acquired the name org.gtk.GDBus.FakeService
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 5 /gdbus/bus-watch-name-auto-start-service-exist
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures/.dirs/runtime
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 6 /gdbus/bus-watch-name-closures
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 7 /gdbus/bus-watch-name-closures-auto-start
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-watch-different-context/.dirs/runtime
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 8 /gdbus/bus-watch-different-context
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/bus-unwatch-early/.dirs/runtime
1007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 9 /gdbus/bus-unwatch-early
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_H0O7J3/gdbus/escape-object-path/.dirs/runtime
1007s ok 10 /gdbus/escape-object-path
1007s # End of gdbus tests
1007s ok - glib/gdbus-names.test
1007s # Running test: glib/mapping.test
1007s TAP version 14
1007s # random seed: R02S5bd69d5505d402bfb1aafa2eeac2a2f7
1007s 1..3
1007s # Start of mapping tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_37I8J3/mapping/flags/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_37I8J3/mapping/flags/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_37I8J3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_37I8J3/mapping/flags/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_37I8J3/mapping/flags/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_37I8J3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_37I8J3/mapping/flags/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_37I8J3/mapping/flags/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_37I8J3/mapping/flags/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_37I8J3/mapping/flags/.dirs/runtime
1007s # test_mapping: ok
1007s ok 1 /mapping/flags
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_37I8J3/mapping/private/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_37I8J3/mapping/private/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_37I8J3/mapping/private/.dirs/system-config1:/tmp/test_mapping_37I8J3/mapping/private/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_37I8J3/mapping/private/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_37I8J3/mapping/private/.dirs/system-data1:/tmp/test_mapping_37I8J3/mapping/private/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_37I8J3/mapping/private/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_37I8J3/mapping/private/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_37I8J3/mapping/private/.dirs/runtime
1007s ok 2 /mapping/private
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_37I8J3/mapping/private-child/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_37I8J3/mapping/private-child/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_37I8J3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_37I8J3/mapping/private-child/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_37I8J3/mapping/private-child/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_37I8J3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_37I8J3/mapping/private-child/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_37I8J3/mapping/private-child/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_37I8J3/mapping/private-child/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_37I8J3/mapping/private-child/.dirs/runtime
1007s # test_child_private: child spawned
1007s # Subtest: /usr/libexec/installed-tests/glib/mapping
1007s # random seed: R02S56b0ea5dec781d7dd99510f968ca351c
1007s # test_child_private: received first child signal
1007s # test_child_private: received parent signal
1007s # Child exited with status 0
1007s # test_child_private: received second child signal
1007s ok 3 /mapping/private-child
1007s # End of mapping tests
1007s ok - glib/mapping.test
1007s # Running test: glib/fdo-notification-backend.test
1007s TAP version 14
1007s # random seed: R02S1fd4485234be8fd1ea090952891a5e07
1007s 1..2
1007s # Start of fdo-notification-backend tests
1007s # Test constructing a GFdoNotificationBackend
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 1 /fdo-notification-backend/construction
1007s # Start of dbus tests
1007s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1007s ok 2 /fdo-notification-backend/dbus/activate-action
1007s # End of dbus tests
1007s # End of fdo-notification-backend tests
1007s ok - glib/fdo-notification-backend.test
1007s # Running test: glib/utils-c-17.test
1007s TAP version 14
1007s # random seed: R02S0db2a81f19fa90d357419edfdf2439c3
1007s 1..41
1007s # Start of utils tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/language-names/.dirs/runtime
1007s ok 1 /utils/language-names
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/locale-variants/.dirs/runtime
1007s # Testing locale ‘en’
1007s # Testing locale ‘sr@latin’
1007s # Testing locale ‘fr_BE’
1007s # Testing locale ‘sr_SR@latin’
1007s # Testing locale ‘sr_SR@latin.UTF-8’
1007s # Testing locale ‘sr@latin_invalid’
1007s # Testing locale ‘sr.UTF-8@latin’
1007s # Testing locale ‘sr.UTF-8_latin’
1007s # Testing locale ‘sr.UTF-8@latin_invalid’
1007s ok 2 /utils/locale-variants
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/version/.dirs/runtime
1007s ok 3 /utils/version
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/appname/.dirs/runtime
1007s ok 4 /utils/appname
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/prgname-thread-safety/.dirs/runtime
1007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1007s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1007s ok 5 /utils/prgname-thread-safety
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/tmpdir/.dirs/runtime
1007s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1007s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1007s Unable to clean up temporary directory /tmp/test_utils-c-17_E7Y8J3/utils/tmpdir: No such file or directory
1007s ok 6 /utils/tmpdir
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/basic_bits/.dirs/runtime
1007s ok 7 /utils/basic_bits
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/bits/.dirs/runtime
1007s ok 8 /utils/bits
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/swap/.dirs/runtime
1007s ok 9 /utils/swap
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/find-program/.dirs/runtime
1007s ok 10 /utils/find-program
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/find-program-for-path/.dirs/runtime
1007s ok 11 /utils/find-program-for-path
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/debug/.dirs/runtime
1007s Unable to clean up temporary directory /tmp/test_utils-c-17_E7Y8J3/utils/debug: No such file or directory
1007s ok 12 /utils/debug
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/codeset/.dirs/runtime
1007s ok 13 /utils/codeset
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/codeset2/.dirs/runtime
1007s Unable to clean up temporary directory /tmp/test_utils-c-17_E7Y8J3/utils/codeset2: No such file or directory
1007s ok 14 /utils/codeset2
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/console-charset/.dirs/runtime
1007s ok 15 /utils/console-charset
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/gettext/.dirs/runtime
1007s ok 16 /utils/gettext
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/username/.dirs/runtime
1007s ok 17 /utils/username
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/realname/.dirs/runtime
1007s ok 18 /utils/realname
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/hostname/.dirs/runtime
1007s ok 19 /utils/hostname
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/os-info/.dirs/runtime
1007s # NAME: Ubuntu
1007s ok 20 /utils/os-info
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/.dirs/runtime
1007s ok 21 /utils/clear-pointer
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer-cast/.dirs/runtime
1007s ok 22 /utils/clear-pointer-cast
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/take-pointer/.dirs/runtime
1007s ok 23 /utils/take-pointer
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/clear-source/.dirs/runtime
1007s ok 24 /utils/clear-source
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/misc-mem/.dirs/runtime
1007s ok 25 /utils/misc-mem
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/.dirs/runtime
1007s # /utils/aligned-mem summary: Aligned memory allocator
1007s # Alignment must not be zero
1007s # Alignment must be a power of two
1007s # Alignment must be a multiple of sizeof(void*)
1007s ok 26 /utils/aligned-mem
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/free-sized/.dirs/runtime
1007s # /utils/free-sized summary: Check that g_free_sized() works
1007s ok 27 /utils/free-sized
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/nullify/.dirs/runtime
1007s ok 28 /utils/nullify
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/atexit/.dirs/runtime
1007s Unable to clean up temporary directory /tmp/test_utils-c-17_E7Y8J3/utils/atexit: No such file or directory
1007s ok 29 /utils/atexit
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/check-setuid/.dirs/runtime
1007s ok 30 /utils/check-setuid
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/int-limits/.dirs/runtime
1007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1007s ok 31 /utils/int-limits
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/clear-list/.dirs/runtime
1007s ok 32 /utils/clear-list
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/clear-slist/.dirs/runtime
1007s ok 33 /utils/clear-slist
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/steal-handle-id/.dirs/runtime
1007s ok 34 /utils/steal-handle-id
1007s # Start of user-special-dirs tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/desktop/.dirs/runtime
1007s ok 35 /utils/user-special-dirs/desktop
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked/.dirs/runtime
1007s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content.
1007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800
1007s Unable to clean up temporary directory /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/load-unlocked: No such file or directory
1007s ok 36 /utils/user-special-dirs/load-unlocked
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks/.dirs/runtime
1007s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload.
1007s ok - glib/utils-c-17.test
1007s Unable to clean up temporary directory /tmp/test_utils-c-17_E7Y8J3/utils/user-special-dirs/reload-leaks: No such file or directory
1007s ok 37 /utils/user-special-dirs/reload-leaks
1007s # End of user-special-dirs tests
1007s # Start of clear-pointer tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/clear-pointer/side-effects/.dirs/runtime
1007s ok 38 /utils/clear-pointer/side-effects
1007s # End of clear-pointer tests
1007s # Start of aligned-mem tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/alignment/.dirs/runtime
1007s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1007s ok 39 /utils/aligned-mem/alignment
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/zeroed/.dirs/runtime
1007s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1007s ok 40 /utils/aligned-mem/zeroed
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_E7Y8J3/utils/aligned-mem/free-sized/.dirs/runtime
1007s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1007s ok 41 /utils/aligned-mem/free-sized
1007s # Start of subprocess tests
1007s # End of subprocess tests
1007s # End of aligned-mem tests
1007s # End of utils tests
1007s # Running test: glib/gdbus-connection-flush.test
1007s TAP version 14
1007s # random seed: R02S85d86a34585995fd6a58e9ffecec32e7
1007s 1..2
1007s # Start of gdbus tests
1007s # Start of connection tests
1007s # Start of flush tests
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/busy/.dirs/runtime
1007s ok 1 /gdbus/connection/flush/busy
1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/home
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/cache
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/system-config2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/config
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/system-data2
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/data
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/state
1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_U543J3/gdbus/connection/flush/idle/.dirs/runtime
1007s ok 2 /gdbus/connection/flush/idle
1007s # End of flush tests
1007s # End of connection tests
1007s # End of gdbus tests
1007s ok - glib/gdbus-connection-flush.test
1007s # Running test: glib/sort.test
1007s TAP version 14
1007s # random seed: R02S0e5098a6a79f801d8bcca711e1f6402c
1007s 1..5
1007s # Start of sort tests
1007s ok 1 /sort/basic
1007s ok 2 /sort/zero-elements
1007s ok 3 /sort/stable
1007s ok 4 /sort/big
1007s ok - glib/sort.test
1007s ok 5 /sort/deprecated
1007s # End of sort tests
1007s # Running test: glib/signals-refcount2.test
1007s TAP version 14
1007s # random seed: R02Sbf834c942bd7bb89800503f378c49466
1007s 1..1
1007s # Start of gobject tests
1007s # Start of refcount tests
1007s # init 0x5cb18c9ad4a0
1007s #
1007s # init 0x5cb18c9a5580
1007s #
1012s # Executing: glib/signals-refcount2.test
1012s # dispose 0x5cb18c9ad4a0!
1012s #
1012s # dispose 0x5cb18c9a5580!
1012s #
1012s ok 1 /gobject/refcount/signals
1012s # slow test /gobject/refcount/signals executed in 5.00 secs
1012s # End of refcount tests
1012s # End of gobject tests
1012s ok - glib/signals-refcount2.test
1012s # Running test: glib/refcount-macro.test
1012s TAP version 14
1012s # random seed: R02S6a60deef780c4bf5e8d7ef0fcab076f5
1012s 1..4
1012s # Start of refcount tests
1012s ok 1 /refcount/grefcount
1012s ok 2 /refcount/gatomicrefcount
1012s # Start of grefcount tests
1012s ok 3 /refcount/grefcount/saturation
1012s # End of grefcount tests
1012s # Start of gatomicrefcount tests
1012s ok 4 /refcount/gatomicrefcount/saturation
1012s # End of gatomicrefcount tests
1012s # End of refcount tests
1012s TAP version 14
1012s # random seed: R02See4ad07a1882e9f4ac9f06c3dd7c4732
1012s 1..25
1012s # Start of string tests
1012s ok - glib/refcount-macro.test
1012s # Running test: glib/string.test
1012s ok 1 /string/chunks
1012s ok 2 /string/chunk-insert
1012s ok 3 /string/new
1012s ok 4 /string/printf
1012s ok 5 /string/assign
1012s ok 6 /string/append-c
1012s ok 7 /string/append
1012s ok 8 /string/append-vprintf
1012s ok 9 /string/prepend-c
1012s ok 10 /string/prepend
1012s ok 11 /string/insert
1012s ok 12 /string/insert-unichar
1012s ok 13 /string/equal
1012s ok 14 /string/truncate
1012s ok 15 /string/overwrite
1012s ok 16 /string/nul-handling
1012s ok 17 /string/up-down
1012s ok 18 /string/set-size
1012s ok 19 /string/to-bytes
1012s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz"
1012s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz"
1012s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz"
1012s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz"
1012s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz"
1012s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz"
1012s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa"
1012s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl"
1012s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so"
1012s # -> 1 replacements, "/usr/lib32/libMangoHud.so"
1012s # 5: Replacing "o" with "" (limit 0) in "food for foals"
1012s # -> 4 replacements, "fd fr fals"
1012s # 6: Replacing "a" with "aaa" (limit 0) in "aaa"
1012s # -> 3 replacements, "aaaaaaaaa"
1012s # 7: Replacing "a" with "" (limit 0) in "aaa"
1012s # -> 3 replacements, ""
1012s # 8: Replacing "aa" with "bb" (limit 0) in "aaa"
1012s ok - glib/string.test
1012s # Running test: glib/markup-collect.test
1012s # -> 1 replacements, "bba"
1012s # 9: Replacing "" with "bar" (limit 0) in "foo"
1012s # -> 4 replacements, "barfbarobarobar"
1012s # 10: Replacing "" with "bar" (limit 1) in "foo"
1012s # -> 1 replacements, "barfoo"
1012s # 11: Replacing "" with "bar" (limit 2) in "foo"
1012s # -> 2 replacements, "barfbaroo"
1012s # 12: Replacing "" with "bar" (limit 3) in "foo"
1012s # -> 3 replacements, "barfbarobaro"
1012s # 13: Replacing "" with "bar" (limit 4) in "foo"
1012s # -> 4 replacements, "barfbarobarobar"
1012s # 14: Replacing "" with "bar" (limit 5) in "foo"
1012s # -> 4 replacements, "barfbarobarobar"
1012s # 15: Replacing "" with "x" (limit 0) in ""
1012s # -> 1 replacements, "x"
1012s # 16: Replacing "" with "" (limit 0) in ""
1012s # -> 1 replacements, ""
1012s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb"
1012s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa"
1012s ok 20 /string/replace
1012s ok 21 /string/steal
1012s ok 22 /string/new-take
1012s ok 23 /string/copy
1012s ok 24 /string/sized-new
1012s # Start of new-take tests
1012s ok 25 /string/new-take/null
1012s # End of new-take tests
1012s # End of string tests
1012s TAP version 14
1012s # random seed: R02S6e65ee4e04037163e0316a4d61ddd574
1012s 1..21
1012s # Start of markup tests
1012s # Start of collect tests
1012s ok 1 /markup/collect/0
1012s ok 2 /markup/collect/1
1012s ok 3 /markup/collect/2
1012s ok 4 /markup/collect/3
1012s ok 5 /markup/collect/4
1012s ok 6 /markup/collect/5
1012s ok 7 /markup/collect/6
1012s ok 8 /markup/collect/7
1012s ok - glib/markup-collect.test
1012s # Running test: glib/actions.test
1012s ok 9 /markup/collect/8
1012s ok 10 /markup/collect/9
1012s ok 11 /markup/collect/10
1012s ok 12 /markup/collect/11
1012s ok 13 /markup/collect/12
1012s ok 14 /markup/collect/13
1012s ok 15 /markup/collect/14
1012s ok 16 /markup/collect/15
1012s ok 17 /markup/collect/16
1012s ok 18 /markup/collect/17
1012s ok 19 /markup/collect/18
1012s ok 20 /markup/collect/19
1012s ok 21 /markup/collect/cleanup
1012s # End of collect tests
1012s # End of markup tests
1012s TAP version 14
1012s # random seed: R02S9a6d2e9987ebb6bdffc0589f80d73906
1012s 1..13
1012s # Start of actions tests
1012s ok 1 /actions/basic
1012s ok 2 /actions/name
1012s ok 3 /actions/simplegroup
1012s ok 4 /actions/stateful
1012s ok 5 /actions/default-activate
1012s ok 6 /actions/entries
1012s ok 7 /actions/parse-detailed
1012s ok 8 /actions/property
1012s ok 9 /actions/no-properties
1012s # Start of dbus 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 ok 10 /actions/dbus/export
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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s ok 11 /actions/dbus/threaded
1013s # slow test /actions/dbus/threaded executed in 0.55 secs
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1013s ok - glib/actions.test
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s ok 12 /actions/dbus/bug679509
1013s # Start of export tests
1013s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works
1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s ok 13 /actions/dbus/export/error-handling
1013s # End of export tests
1013s # End of dbus tests
1013s # End of actions tests
1013s # Running test: glib/properties.test
1013s TAP version 14
1013s # random seed: R02S3513bea196843b9d37f54ea8d237ac30
1013s 1..14
1013s # Start of properties tests
1013s ok 1 /properties/install
1013s ok 2 /properties/install-many
1013s ok 3 /properties/notify
1013s ok 4 /properties/notify-queue
1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357
1013s ok 5 /properties/construct
1013s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values
1013s # Test g_object_get_property with an initialized value
1013s # Test g_object_get_property with an uninitialized value
1013s # Test g_object_get_property with a transformable value
1013s ok - glib/properties.test
1013s # Running test: glib/list.test
1013s ok - glib/list.test
1013s # Running test: glib/permission.test
1013s ok - glib/permission.test
1013s # Running test: glib/unicode.test
1013s ok 6 /properties/get-property
1013s ok 7 /properties/testv_with_no_properties
1013s ok 8 /properties/testv_with_valid_properties
1013s ok 9 /properties/testv_with_invalid_property_type
1013s ok 10 /properties/testv_with_invalid_property_names
1013s ok 11 /properties/testv_getv
1013s ok 12 /properties/testv_notify_queue
1013s # Start of notify tests
1013s ok 13 /properties/notify/too-many-freezes
1013s # End of notify tests
1013s # Start of set-property tests
1013s # Start of variant tests
1013s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference
1013s ok 14 /properties/set-property/variant/floating
1013s # End of variant tests
1013s # End of set-property tests
1013s # End of properties tests
1013s TAP version 14
1013s # random seed: R02S609216e37417f5cf0260cc4af6e052e3
1013s 1..20
1013s # Start of list tests
1013s ok 1 /list/sort
1013s ok 2 /list/sort-with-data
1013s ok 3 /list/insert-before-link
1013s ok 4 /list/insert-sorted
1013s ok 5 /list/insert-sorted-with-data
1013s ok 6 /list/reverse
1013s ok 7 /list/nth
1013s ok 8 /list/concat
1013s ok 9 /list/remove
1013s ok 10 /list/remove-all
1013s ok 11 /list/first-last
1013s ok 12 /list/insert
1013s ok 13 /list/free-full
1013s ok 14 /list/copy
1013s ok 15 /list/copy-deep
1013s ok 16 /list/delete-link
1013s ok 17 /list/prepend
1013s ok 18 /list/position
1013s ok 19 /list/double-free
1013s # Start of sort tests
1013s ok 20 /list/sort/stable
1013s # End of sort tests
1013s # End of list tests
1013s TAP version 14
1013s # random seed: R02S86f7adabea07a0b265519707573f9c60
1013s 1..1
1013s # Start of permission tests
1013s ok 1 /permission/simple
1013s # End of permission tests
1013s TAP version 14
1013s # random seed: R02Sf70f8abb35bb6fa3338fa523eda1fe72
1013s 1..39
1013s # Start of unicode tests
1013s ok 1 /unicode/alnum
1013s ok 2 /unicode/alpha
1013s ok 3 /unicode/break-type
1013s ok 4 /unicode/canonical-decomposition
1013s ok 5 /unicode/casefold
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s # Cannot set locale to lt_LT, skipping
1013s ok 6 /unicode/casemap_and_casefold
1013s ok 7 /unicode/cases
1013s ok 8 /unicode/character-type
1013s ok 9 /unicode/cntrl
1013s ok 10 /unicode/combining-class
1013s # Composing U+000041 and U+000042; expecting U+000000
1013s # Composing U+000041 and U+000000; expecting U+000000
1013s # Composing U+000066 and U+000069; expecting U+000000
1013s # Composing U+000308 and U+000301; expecting U+000000
1013s # Composing U+000f71 and U+000f72; expecting U+000000
1013s # Composing U+00212b and U+000000; expecting U+000000
1013s # Composing U+0000c5 and U+000000; expecting U+000000
1013s # Composing U+002126 and U+000000; expecting U+000000
1013s # Composing U+0003a9 and U+000000; expecting U+000000
1013s # Composing U+000041 and U+00030a; expecting U+0000c5
1013s # Composing U+00006f and U+000302; expecting U+0000f4
1013s # Composing U+001e63 and U+000307; expecting U+001e69
1013s # Composing U+000073 and U+000323; expecting U+001e63
1013s # Composing U+000064 and U+000307; expecting U+001e0b
1013s # Composing U+000064 and U+000323; expecting U+001e0d
1013s # Composing U+00d4cc and U+0011b6; expecting U+00d4db
1013s # Composing U+001111 and U+001171; expecting U+00d4cc
1013s # Composing U+00ce20 and U+0011b8; expecting U+00ce31
1013s # Composing U+00110e and U+001173; expecting U+00ce20
1013s # Composing U+001100 and U+001160; expecting U+000000
1013s # Composing U+001100 and U+001177; expecting U+000000
1013s # Composing U+00abff and U+0011b6; expecting U+000000
1013s # Composing U+00d7a5 and U+0011b6; expecting U+000000
1013s # Composing U+00ac01 and U+0011b6; expecting U+000000
1013s # Composing U+00d4cc and U+0011a6; expecting U+000000
1013s # Composing U+00d4cc and U+0011c4; expecting U+000000
1013s # Composing U+01611e and U+01611e; expecting U+016121
1013s # Composing U+01611e and U+01611f; expecting U+016123
1013s # Composing U+0000f6 and U+000304; expecting U+00022b
1013s # Composing U+000b47 and U+000b57; expecting U+000b4c
1013s # Composing U+0000a0 and U+000b57; expecting U+000000
1013s # Composing U+016e00 and U+00030a; expecting U+000000
1013s # Composing U+00212b and U+016e00; expecting U+000000
1013s # Composing U+001e63 and U+000306; expecting U+000000
1013s # Composing U+001e63 and U+000304; expecting U+000000
1013s # Composing U+001e63 and U+000b57; expecting U+000000
1013s # Composing U+001e63 and U+000000; expecting U+000000
1013s # Composing U+001e63 and U+0113c2; expecting U+000000
1013s # Composing U+001f01 and U+0113c2; expecting U+000000
1013s # Composing U+00006e and U+000302; expecting U+000000
1013s # Composing U+001e63 and U+01611f; expecting U+000000
1013s # Composing U+01138e and U+0113b8; expecting U+000000
1013s # Composing U+01611e and U+000000; expecting U+000000
1013s # Composing U+000000 and U+01611f; expecting U+000000
1013s # Composing U+011390 and U+0113c2; expecting U+000000
1013s ok 11 /unicode/compose
1013s ok 12 /unicode/decompose
1013s ok 13 /unicode/decompose-tail
1013s ok 14 /unicode/defined
1013s ok 15 /unicode/digit
1013s ok 16 /unicode/digit-value
1013s # Fully decomposing U+000041; expecting 1 codepoints
1013s # Fully decomposing U+00fb01; expecting 1 codepoints
1013s # Fully decomposing U+00212b; expecting 2 codepoints
1013s # Fully decomposing U+002126; expecting 1 codepoints
1013s # Fully decomposing U+000344; expecting 2 codepoints
1013s # Fully decomposing U+000f73; expecting 2 codepoints
1013s # Fully decomposing U+0000c5; expecting 2 codepoints
1013s # Fully decomposing U+0000f4; expecting 2 codepoints
1013s # Fully decomposing U+001e69; expecting 3 codepoints
1013s # Fully decomposing U+001e63; expecting 2 codepoints
1013s # Fully decomposing U+001e0b; expecting 2 codepoints
1013s # Fully decomposing U+001e0d; expecting 2 codepoints
1013s # Fully decomposing U+00d4db; expecting 3 codepoints
1013s # Fully decomposing U+00d4cc; expecting 2 codepoints
1013s # Fully decomposing U+00ce31; expecting 3 codepoints
1013s # Fully decomposing U+00ce20; expecting 2 codepoints
1013s ok 17 /unicode/fully-decompose-canonical
1013s ok 18 /unicode/fully-decompose-len
1013s ok 19 /unicode/normalization
1013s ok 20 /unicode/graph
1013s # Testing script Zyyy (code 1517910393)
1013s # Testing script Zinh (code 1516858984)
1013s # Testing script Zmth (code 1517122664)
1013s # Testing script Arab (code 1098015074)
1013s ok - glib/unicode.test
1013s # Running test: glib/properties-introspection.test
1013s # Testing script Armn (code 1098018158)
1013s # Testing script Beng (code 1113943655)
1013s # Testing script Bopo (code 1114599535)
1013s # Testing script Cher (code 1130915186)
1013s # Testing script Copt (code 1131376756)
1013s # Testing script Cyrl (code 1132032620)
1013s # Testing script Dsrt (code 1148416628)
1013s # Testing script Deva (code 1147500129)
1013s # Testing script Ethi (code 1165256809)
1013s # Testing script Geor (code 1197830002)
1013s # Testing script Goth (code 1198486632)
1013s # Testing script Grek (code 1198679403)
1013s # Testing script Gujr (code 1198877298)
1013s # Testing script Guru (code 1198879349)
1013s # Testing script Hani (code 1214344809)
1013s # Testing script Hang (code 1214344807)
1013s # Testing script Hebr (code 1214603890)
1013s # Testing script Hira (code 1214870113)
1013s # Testing script Knda (code 1265525857)
1013s # Testing script Kana (code 1264676449)
1013s # Testing script Khmr (code 1265134962)
1013s # Testing script Laoo (code 1281453935)
1013s # Testing script Latn (code 1281455214)
1013s # Testing script Mlym (code 1298954605)
1013s # Testing script Mong (code 1299148391)
1013s # Testing script Mymr (code 1299803506)
1013s # Testing script Ogam (code 1332175213)
1013s # Testing script Ital (code 1232363884)
1013s # Testing script Orya (code 1332902241)
1013s # Testing script Runr (code 1383427698)
1013s # Testing script Sinh (code 1399418472)
1013s # Testing script Syrc (code 1400468067)
1013s # Testing script Taml (code 1415671148)
1013s # Testing script Telu (code 1415933045)
1013s # Testing script Thaa (code 1416126817)
1013s # Testing script Thai (code 1416126825)
1013s # Testing script Tibt (code 1416192628)
1013s # Testing script Cans (code 1130458739)
1013s # Testing script Yiii (code 1500080489)
1013s # Testing script Tglg (code 1416064103)
1013s # Testing script Hano (code 1214344815)
1013s # Testing script Buhd (code 1114990692)
1013s # Testing script Tagb (code 1415669602)
1013s # Testing script Brai (code 1114792297)
1013s # Testing script Cprt (code 1131442804)
1013s # Testing script Limb (code 1281977698)
1013s # Testing script Osma (code 1332964705)
1013s # Testing script Shaw (code 1399349623)
1013s # Testing script Linb (code 1281977954)
1013s # Testing script Tale (code 1415670885)
1013s # Testing script Ugar (code 1432838514)
1013s # Testing script Talu (code 1415670901)
1013s # Testing script Bugi (code 1114990441)
1013s # Testing script Glag (code 1198285159)
1013s # Testing script Tfng (code 1415999079)
1013s # Testing script Sylo (code 1400466543)
1013s # Testing script Xpeo (code 1483761007)
1013s # Testing script Khar (code 1265131890)
1013s # Testing script Zzzz (code 1517976186)
1013s # Testing script Bali (code 1113681001)
1013s # Testing script Xsux (code 1483961720)
1013s # Testing script Phnx (code 1349021304)
1013s # Testing script Phag (code 1349017959)
1013s # Testing script Nkoo (code 1315663727)
1013s # Testing script Kali (code 1264675945)
1013s # Testing script Lepc (code 1281716323)
1013s # Testing script Rjng (code 1382706791)
1013s # Testing script Sund (code 1400204900)
1013s # Testing script Saur (code 1398895986)
1013s # Testing script Cham (code 1130914157)
1013s # Testing script Olck (code 1332503403)
1013s # Testing script Vaii (code 1449224553)
1013s # Testing script Cari (code 1130459753)
1013s # Testing script Lyci (code 1283023721)
1013s # Testing script Lydi (code 1283023977)
1013s # Testing script Avst (code 1098281844)
1013s # Testing script Bamu (code 1113681269)
1013s # Testing script Egyp (code 1164409200)
1013s # Testing script Armi (code 1098018153)
1013s # Testing script Phli (code 1349020777)
1013s # Testing script Prti (code 1349678185)
1013s # Testing script Java (code 1247901281)
1013s # Testing script Kthi (code 1265920105)
1013s # Testing script Lisu (code 1281979253)
1013s # Testing script Mtei (code 1299473769)
1013s # Testing script Sarb (code 1398895202)
1013s # Testing script Orkh (code 1332898664)
1013s # Testing script Samr (code 1398893938)
1013s # Testing script Lana (code 1281453665)
1013s # Testing script Tavt (code 1415673460)
1013s # Testing script Batk (code 1113683051)
1013s # Testing script Brah (code 1114792296)
1013s # Testing script Mand (code 1298230884)
1013s # Testing script Cakm (code 1130457965)
1013s # Testing script Merc (code 1298494051)
1013s # Testing script Mero (code 1298494063)
1013s # Testing script Plrd (code 1349284452)
1013s # Testing script Shrd (code 1399353956)
1013s # Testing script Sora (code 1399812705)
1013s # Testing script Takr (code 1415670642)
1013s # Testing script Bass (code 1113682803)
1013s # Testing script Aghb (code 1097295970)
1013s # Testing script Dupl (code 1148547180)
1013s # Testing script Elba (code 1164730977)
1013s # Testing script Gran (code 1198678382)
1013s # Testing script Khoj (code 1265135466)
1013s # Testing script Sind (code 1399418468)
1013s # Testing script Lina (code 1281977953)
1013s # Testing script Mahj (code 1298229354)
1013s # Testing script Mani (code 1298230889)
1013s # Testing script Mend (code 1298493028)
1013s # Testing script Modi (code 1299145833)
1013s # Testing script Mroo (code 1299345263)
1013s # Testing script Nbat (code 1315070324)
1013s # Testing script Narb (code 1315009122)
1013s # Testing script Perm (code 1348825709)
1013s # Testing script Hmng (code 1215131239)
1013s # Testing script Palm (code 1348562029)
1013s # Testing script Pauc (code 1348564323)
1013s # Testing script Phlp (code 1349020784)
1013s # Testing script Sidd (code 1399415908)
1013s # Testing script Tirh (code 1416196712)
1013s # Testing script Wara (code 1466004065)
1013s # Testing script Ahom (code 1097363309)
1013s # Testing script Hluw (code 1215067511)
1013s # Testing script Hatr (code 1214346354)
1013s # Testing script Mult (code 1299541108)
1013s # Testing script Hung (code 1215655527)
1013s # Testing script Sgnw (code 1399287415)
1013s # Testing script Adlm (code 1097100397)
1013s # Testing script Bhks (code 1114139507)
1013s # Testing script Marc (code 1298231907)
1013s # Testing script Newa (code 1315272545)
1013s # Testing script Osge (code 1332963173)
1013s # Testing script Tang (code 1415671399)
1013s # Testing script Gonm (code 1198485101)
1013s # Testing script Nshu (code 1316186229)
1013s # Testing script Soyo (code 1399814511)
1013s # Testing script Zanb (code 1516334690)
1013s # Testing script Dogr (code 1148151666)
1013s # Testing script Gong (code 1198485095)
1013s # Testing script Rohg (code 1383032935)
1013s # Testing script Maka (code 1298230113)
1013s # Testing script Medf (code 1298490470)
1013s # Testing script Sogo (code 1399809903)
1013s # Testing script Sogd (code 1399809892)
1013s # Testing script Elym (code 1164736877)
1013s # Testing script Nand (code 1315008100)
1013s # Testing script Hmnp (code 1215131248)
1013s # Testing script Wcho (code 1466132591)
1013s # Testing script Chrs (code 1130918515)
1013s # Testing script Diak (code 1147756907)
1013s # Testing script Kits (code 1265202291)
1013s # Testing script Yezi (code 1499822697)
1013s # Testing script Cpmn (code 1131441518)
1013s # Testing script Ougr (code 1333094258)
1013s # Testing script Tnsa (code 1416524641)
1013s # Testing script Toto (code 1416590447)
1013s # Testing script Vith (code 1449751656)
1013s # Testing script Kawi (code 1264678761)
1013s # Testing script Nagm (code 1315006317)
1013s # Testing script Todr (code 1416586354)
1013s # Testing script Gara (code 1197568609)
1013s # Testing script Tutg (code 1416983655)
1013s # Testing script Sunu (code 1400204917)
1013s # Testing script Gukh (code 1198877544)
1013s # Testing script Krai (code 1265787241)
1013s # Testing script Onao (code 1332633967)
1013s ok 21 /unicode/iso15924
1013s ok 22 /unicode/lower
1013s ok 23 /unicode/mark
1013s ok 24 /unicode/mirror
1013s ok 25 /unicode/print
1013s ok 26 /unicode/punctuation
1013s ok 27 /unicode/script
1013s ok 28 /unicode/space
1013s ok 29 /unicode/strdown
1013s ok 30 /unicode/strup
1013s ok 31 /unicode/turkish-strupdown
1013s ok 32 /unicode/title
1013s ok 33 /unicode/upper
1013s ok 34 /unicode/validate
1013s ok 35 /unicode/wide
1013s ok 36 /unicode/xdigit
1013s ok 37 /unicode/xdigit-value
1013s ok 38 /unicode/zero-width
1013s ok 39 /unicode/normalize
1013s # End of unicode tests
1013s TAP version 14
1013s # random seed: R02S0df3b1bf707cab2df0b8acd4a2fe7406
1013s 1..2
1013s # Start of properties tests
1013s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool.
1013s ok 1 /properties/introspection
1013s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool.
1013s ok 2 /properties/collision
1013s # End of properties tests
1013s ok - glib/properties-introspection.test
1013s # Running test: glib/sandbox.test
1013s ok - glib/sandbox.test
1013s # Running test: glib/tls-database.test
1013s ok - glib/tls-database.test
1013s # Running test: glib/mkenums.py.test
1013s TAP version 14
1013s # random seed: R02S16e3cacafc57e403c191d3d42e7af14c
1013s 1..4
1013s # Start of sandbox tests
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_6X98J3/sandbox/none/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_6X98J3/sandbox/none/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_6X98J3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_6X98J3/sandbox/none/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_6X98J3/sandbox/none/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_6X98J3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_6X98J3/sandbox/none/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_6X98J3/sandbox/none/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_6X98J3/sandbox/none/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_6X98J3/sandbox/none/.dirs/runtime
1013s ok 1 /sandbox/none
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_6X98J3/sandbox/snap/.dirs/runtime
1013s # Created snap.yaml in /tmp/test_sandbox_6X98J3/snap/current/meta/snap.yaml
1013s ok 2 /sandbox/snap
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_6X98J3/sandbox/classic-snap/.dirs/runtime
1013s # Created snap.yaml in /tmp/test_sandbox_6X98J3/snap/current/meta/snap.yaml
1013s ok 3 /sandbox/classic-snap
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/runtime
1013s # Creating .flatpak-info in /tmp/test_sandbox_6X98J3/sandbox/flatpak/.dirs/runtime/.flatpak-info
1013s ok 4 /sandbox/flatpak
1013s # End of sandbox tests
1013s TAP version 14
1013s # random seed: R02Sd25e1eed8d211ad60b82c8246e1cba7a
1013s 1..1
1013s # Start of tls-backend tests
1013s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’
1013s ok 1 /tls-backend/set-default-database
1013s # End of tls-backend tests
1013s TAP version 13
1013s ok 1 __main__.TestMkenums.test_available_in
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpcrubmy9k
1013s # rspfile: False
1013s # /tmp/tmpcrubmy9k/tmp8bnueuxa.h:
1013s # typedef enum {
1013s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
1013s # } GDBusServerFlags;
1013s #
1013s # /tmp/tmpcrubmy9k/tmpy9a7a8hj.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcrubmy9k/tmpy9a7a8hj.template', '/tmp/tmpcrubmy9k/tmp8bnueuxa.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmpcrubmy9k/tmp8bnueuxa.h
1013s # basename: tmp8bnueuxa.h
1013s # enumeration-production
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-header
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-production
1013s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1013s # valuenick: user
1013s # valuenum: 4
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-tail
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 2 __main__.TestMkenums.test_comma_in_enum_value
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp94vzwc57
1013s # rspfile: False
1013s # /tmp/tmp94vzwc57/tmptenbz93r.h:
1013s # typedef enum {
1013s # ENUM_VALUE_WITH_COMMA = ',',
1013s # } TestCommaEnum;
1013s #
1013s # /tmp/tmp94vzwc57/tmpnzmcp0v9.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp94vzwc57/tmpnzmcp0v9.template', '/tmp/tmp94vzwc57/tmptenbz93r.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp94vzwc57/tmptenbz93r.h
1013s # basename: tmptenbz93r.h
1013s # enumeration-production
1013s # EnumName: TestCommaEnum
1013s # enum_name: test_comma_enum
1013s # ENUMNAME: TEST_COMMA_ENUM
1013s # ENUMSHORT: COMMA_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: TestCommaEnum
1013s # enum_name: test_comma_enum
1013s # ENUMNAME: TEST_COMMA_ENUM
1013s # ENUMSHORT: COMMA_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE_WITH_COMMA
1013s # valuenick: comma
1013s # valuenum: 44
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: TestCommaEnum
1013s # enum_name: test_comma_enum
1013s # ENUMNAME: TEST_COMMA_ENUM
1013s # ENUMSHORT: COMMA_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 3 __main__.TestMkenums.test_deprecated_in
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpnpugjvr2
1013s # rspfile: False
1013s # /tmp/tmpnpugjvr2/tmp6egalogp.h:
1013s # typedef enum {
1013s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
1013s # } GDBusServerFlags;
1013s #
1013s # /tmp/tmpnpugjvr2/tmpgak94md2.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnpugjvr2/tmpgak94md2.template', '/tmp/tmpnpugjvr2/tmp6egalogp.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmpnpugjvr2/tmp6egalogp.h
1013s # basename: tmp6egalogp.h
1013s # enumeration-production
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-header
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-production
1013s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1013s # valuenick: user
1013s # valuenum: 4
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-tail
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 4 __main__.TestMkenums.test_deprecated_in_for
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp0jsylod9
1013s # rspfile: False
1013s # /tmp/tmp0jsylod9/tmpvamnyvzm.h:
1013s # typedef enum {
1013s # 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)
1013s # } GDBusServerFlags;
1013s #
1013s # /tmp/tmp0jsylod9/tmppzwbxdr0.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0jsylod9/tmppzwbxdr0.template', '/tmp/tmp0jsylod9/tmpvamnyvzm.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp0jsylod9/tmpvamnyvzm.h
1013s # basename: tmpvamnyvzm.h
1013s # enumeration-production
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-header
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-production
1013s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1013s # valuenick: user
1013s # valuenum: 4
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-tail
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 5 __main__.TestMkenums.test_empty_header
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmphtdwybpl
1013s # rspfile: False
1013s # /tmp/tmphtdwybpl/tmpyrv3oh04.h:
1013s # /tmp/tmphtdwybpl/tmpzsmjrtx5.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphtdwybpl/tmpzsmjrtx5.template', '/tmp/tmphtdwybpl/tmpyrv3oh04.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 6 __main__.TestMkenums.test_empty_template
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp9xvc4wq7
1013s # rspfile: False
1013s # /tmp/tmp9xvc4wq7/tmp6imi6ig8.template:
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9xvc4wq7/tmp6imi6ig8.template']
1013s # Return code: 0
1013s # Output:
1013s # /* 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. */
1013s #
1013s #
1013s # /* Generated data ends here */
1013s # Error:
1013s ok 7 __main__.TestMkenums.test_enum_name
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpjjbi4jaz
1013s # rspfile: False
1013s # /tmp/tmpjjbi4jaz/tmp0afvd_ej.h:
1013s # typedef enum _SomeEnumIdentifier {
1013s # ENUM_VALUE
1013s # } SomeEnumIdentifier;
1013s #
1013s # /tmp/tmpjjbi4jaz/tmpjebua8yl.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjjbi4jaz/tmpjebua8yl.template', '/tmp/tmpjjbi4jaz/tmp0afvd_ej.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmpjjbi4jaz/tmp0afvd_ej.h
1013s # basename: tmp0afvd_ej.h
1013s # enumeration-production
1013s # EnumName: SomeEnumIdentifier
1013s # enum_name: some_enum_identifier
1013s # ENUMNAME: SOME_ENUM_IDENTIFIER
1013s # ENUMSHORT: ENUM_IDENTIFIER
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: SomeEnumIdentifier
1013s # enum_name: some_enum_identifier
1013s # ENUMNAME: SOME_ENUM_IDENTIFIER
1013s # ENUMSHORT: ENUM_IDENTIFIER
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE
1013s # valuenick: value
1013s # valuenum: 0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: SomeEnumIdentifier
1013s # enum_name: some_enum_identifier
1013s # ENUMNAME: SOME_ENUM_IDENTIFIER
1013s # ENUMSHORT: ENUM_IDENTIFIER
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 8 __main__.TestMkenums.test_enum_private_public
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpdix5593b
1013s # rspfile: False
1013s # /tmp/tmpdix5593b/tmp7r37ssen.h:
1013s # typedef enum {
1013s # ENUM_VALUE_PUBLIC1,
1013s # /*< private >*/
1013s # ENUM_VALUE_PRIVATE,
1013s # } SomeEnumA
1013s #
1013s # /tmp/tmpdix5593b/tmprkv7tn_f.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdix5593b/tmprkv7tn_f.template', '/tmp/tmpdix5593b/tmp7r37ssen.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmpdix5593b/tmp7r37ssen.h
1013s # basename: tmp7r37ssen.h
1013s # enumeration-production
1013s # EnumName: SomeEnumA
1013s # enum_name: some_enum_a
1013s # ENUMNAME: SOME_ENUM_A
1013s # ENUMSHORT: ENUM_A
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: SomeEnumA
1013s # enum_name: some_enum_a
1013s # ENUMNAME: SOME_ENUM_A
1013s # ENUMSHORT: ENUM_A
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE_PUBLIC1
1013s # valuenick: public1
1013s # valuenum: 0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: SomeEnumA
1013s # enum_name: some_enum_a
1013s # ENUMNAME: SOME_ENUM_A
1013s # ENUMSHORT: ENUM_A
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s #
1013s # /tmp/tmpdix5593b/tmpr5ryj_9m.h:
1013s # typedef enum {
1013s # /*< private >*/
1013s # ENUM_VALUE_PRIVATE,
1013s # /*< public >*/
1013s # ENUM_VALUE_PUBLIC2,
1013s # } SomeEnumB;
1013s #
1013s # /tmp/tmpdix5593b/tmp65czllxm.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdix5593b/tmp65czllxm.template', '/tmp/tmpdix5593b/tmpr5ryj_9m.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmpdix5593b/tmpr5ryj_9m.h
1013s # basename: tmpr5ryj_9m.h
1013s # enumeration-production
1013s # EnumName: SomeEnumB
1013s # enum_name: some_enum_b
1013s # ENUMNAME: SOME_ENUM_B
1013s # ENUMSHORT: ENUM_B
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: SomeEnumB
1013s # enum_name: some_enum_b
1013s # ENUMNAME: SOME_ENUM_B
1013s # ENUMSHORT: ENUM_B
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE_PUBLIC2
1013s # valuenick: public2
1013s # valuenum: 1
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: SomeEnumB
1013s # enum_name: some_enum_b
1013s # ENUMNAME: SOME_ENUM_B
1013s # ENUMSHORT: ENUM_B
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 9 __main__.TestMkenums.test_enum_symbolic_expression
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp9ic6h8h0
1013s # rspfile: False
1013s # /tmp/tmp9ic6h8h0/tmpr4b7ugy0.h:
1013s # typedef enum {
1013s # /*< private >*/
1013s # ENUM_VALUE_PRIVATE = 5,
1013s # /*< public >*/
1013s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
1013s # } TestSymbolicEnum;
1013s #
1013s # /tmp/tmp9ic6h8h0/tmpk2trcyrd.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9ic6h8h0/tmpk2trcyrd.template', '/tmp/tmp9ic6h8h0/tmpr4b7ugy0.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp9ic6h8h0/tmpr4b7ugy0.h
1013s # basename: tmpr4b7ugy0.h
1013s # enumeration-production
1013s # EnumName: TestSymbolicEnum
1013s # enum_name: test_symbolic_enum
1013s # ENUMNAME: TEST_SYMBOLIC_ENUM
1013s # ENUMSHORT: SYMBOLIC_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: TestSymbolicEnum
1013s # enum_name: test_symbolic_enum
1013s # ENUMNAME: TEST_SYMBOLIC_ENUM
1013s # ENUMSHORT: SYMBOLIC_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE_PUBLIC
1013s # valuenick: public
1013s # valuenum: 7
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: TestSymbolicEnum
1013s # enum_name: test_symbolic_enum
1013s # ENUMNAME: TEST_SYMBOLIC_ENUM
1013s # ENUMSHORT: SYMBOLIC_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpysnv1vf7
1013s # rspfile: False
1013s # /tmp/tmpysnv1vf7/tmpxmi_pyc9.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-tail ***/
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpysnv1vf7/tmpxmi_pyc9.template']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # filename: @filename@
1013s # basename: @basename@
1013s # file-tail
1013s # filename: @filename@
1013s # basename: @basename@
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s # WARNING: @filename@ used in file-header section.
1013s # WARNING: @basename@ used in file-header section.
1013s # WARNING: @filename@ used in file-tail section.
1013s # WARNING: @basename@ used in file-tail section.
1013s ok 11 __main__.TestMkenums.test_help
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpnsvzmx0x
1013s # rspfile: False
1013s # Running: ['/usr/bin/glib-mkenums', '--help']
1013s # Return code: 0
1013s # Output:
1013s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
1013s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
1013s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
1013s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
1013s # [--comments COMMENT_TMPL] [--template TEMPLATE]
1013s # [--output OUTPUT] [--version]
1013s # [args ...]
1013s #
1013s # positional arguments:
1013s # args One or more input files, or a single argument
1013s # @rspfile_path pointing to a file that contains the
1013s # actual arguments
1013s #
1013s # options:
1013s # -h, --help show this help message and exit
1013s # --identifier-prefix IDPREFIX
1013s # Identifier prefix
1013s # --symbol-prefix SYMPREFIX
1013s # Symbol prefix
1013s # --fhead FHEAD Output file header
1013s # --ftail FTAIL Output file footer
1013s # --fprod FPROD Put out TEXT every time a new input file is being
1013s # processed.
1013s # --eprod EPROD Per enum text, produced prior to value iterations
1013s # --vhead VHEAD Value header, produced before iterating over enum
1013s # values
1013s # --vprod VPROD Value text, produced for each enum value.
1013s # --vtail VTAIL Value tail, produced after iterating over enum values
1013s # --comments COMMENT_TMPL
1013s # Comment structure
1013s # --template TEMPLATE Template file
1013s # --output OUTPUT
1013s # --version, -v Print version information
1013s #
1013s # Production text substitutions:
1013s # @EnumName@ PrefixTheXEnum
1013s # @enum_name@ prefix_the_xenum
1013s # @ENUMNAME@ PREFIX_THE_XENUM
1013s # @ENUMSHORT@ THE_XENUM
1013s # @ENUMPREFIX@ PREFIX
1013s # @enumsince@ the user-provided since value given
1013s # @VALUENAME@ PREFIX_THE_XVALUE
1013s # @valuenick@ the-xvalue
1013s # @valuenum@ the integer value (limited support, Since: 2.26)
1013s # @type@ either enum or flags
1013s # @Type@ either Enum or Flags
1013s # @TYPE@ either ENUM or FLAGS
1013s # @filename@ name of current input file
1013s # @basename@ base name of the current input file (Since: 2.22)
1013s # Error:
1013s ok 12 __main__.TestMkenums.test_no_args
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmppagv8jhq
1013s # rspfile: False
1013s # Running: ['/usr/bin/glib-mkenums']
1013s # Return code: 0
1013s # Output:
1013s # /* 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. */
1013s #
1013s #
1013s # /* Generated data ends here */
1013s # Error:
1013s ok 13 __main__.TestMkenums.test_no_headers
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpnow84plo
1013s # rspfile: False
1013s # /tmp/tmpnow84plo/tmpbr3dp24t.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnow84plo/tmpbr3dp24t.template']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 14 __main__.TestMkenums.test_no_nick
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpi515azww
1013s # rspfile: False
1013s # /tmp/tmpi515azww/tmp4u_r4c4h.h:
1013s # typedef enum {
1013s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
1013s # } GeglSamplerType;
1013s #
1013s # /tmp/tmpi515azww/tmpzc550xzx.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi515azww/tmpzc550xzx.template', '/tmp/tmpi515azww/tmp4u_r4c4h.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmpi515azww/tmp4u_r4c4h.h
1013s # basename: tmp4u_r4c4h.h
1013s # enumeration-production
1013s # EnumName: GeglSamplerType
1013s # enum_name: gegl_sampler_type
1013s # ENUMNAME: GEGL_SAMPLER_TYPE
1013s # ENUMSHORT: SAMPLER_TYPE
1013s # ENUMPREFIX: GEGL
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: GeglSamplerType
1013s # enum_name: gegl_sampler_type
1013s # ENUMNAME: GEGL_SAMPLER_TYPE
1013s # ENUMSHORT: SAMPLER_TYPE
1013s # ENUMPREFIX: GEGL
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: GEGL_SAMPLER_NEAREST
1013s # valuenick: nearest
1013s # valuenum: 0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: GeglSamplerType
1013s # enum_name: gegl_sampler_type
1013s # ENUMNAME: GEGL_SAMPLER_TYPE
1013s # ENUMSHORT: SAMPLER_TYPE
1013s # ENUMPREFIX: GEGL
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 15 __main__.TestMkenums.test_non_utf8_encoding
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp7nxm9m95
1013s # rspfile: False
1013s # /tmp/tmp7nxm9m95/tmp0di72svo.h:
1013s # /* Copyright © La Peña */
1013s # typedef enum {
1013s # ENUM_VALUE
1013s # } SomeEnumIdentifier;
1013s #
1013s # /tmp/tmp7nxm9m95/tmp8k6wumgd.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7nxm9m95/tmp8k6wumgd.template', '/tmp/tmp7nxm9m95/tmp0di72svo.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp7nxm9m95/tmp0di72svo.h
1013s # basename: tmp0di72svo.h
1013s # enumeration-production
1013s # EnumName: SomeEnumIdentifier
1013s # enum_name: some_enum_identifier
1013s # ENUMNAME: SOME_ENUM_IDENTIFIER
1013s # ENUMSHORT: ENUM_IDENTIFIER
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: SomeEnumIdentifier
1013s # enum_name: some_enum_identifier
1013s # ENUMNAME: SOME_ENUM_IDENTIFIER
1013s # ENUMSHORT: ENUM_IDENTIFIER
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE
1013s # valuenick: value
1013s # valuenum: 0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: SomeEnumIdentifier
1013s # enum_name: some_enum_identifier
1013s # ENUMNAME: SOME_ENUM_IDENTIFIER
1013s # ENUMSHORT: ENUM_IDENTIFIER
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
1013s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
1013s ok 16 __main__.TestMkenums.test_reproducible
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmptsgsh5xn
1013s # rspfile: False
1013s # /tmp/tmptsgsh5xn/tmpjyr6v2e3.template: template
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptsgsh5xn/tmpjyr6v2e3.template', '/tmp/tmptsgsh5xn/tmpbi9rovs01.h', '/tmp/tmptsgsh5xn/tmpy3zjdk6j2.h']
1013s # Return code: 0
1013s # Output:
1013s # /* 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. */
1013s #
1013s #
1013s # /* Generated data ends here */
1013s # Error:
1013s #
1013s # /tmp/tmptsgsh5xn/tmpetxphf03.template: template
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptsgsh5xn/tmpetxphf03.template', '/tmp/tmptsgsh5xn/tmpy3zjdk6j2.h', '/tmp/tmptsgsh5xn/tmpbi9rovs01.h']
1013s # Return code: 0
1013s # Output:
1013s # /* 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. */
1013s #
1013s #
1013s # /* Generated data ends here */
1013s # Error:
1013s ok 17 __main__.TestMkenums.test_since
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp7gc85ofa
1013s # rspfile: False
1013s # /tmp/tmp7gc85ofa/tmpcg8tlih6.h:
1013s # typedef enum { /*< since=1.0 >*/
1013s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
1013s # } QmiWmsMessageProtocol;
1013s #
1013s # /tmp/tmp7gc85ofa/tmp78zzmvzt.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7gc85ofa/tmp78zzmvzt.template', '/tmp/tmp7gc85ofa/tmpcg8tlih6.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp7gc85ofa/tmpcg8tlih6.h
1013s # basename: tmpcg8tlih6.h
1013s # enumeration-production
1013s # EnumName: QmiWmsMessageProtocol
1013s # enum_name: qmi_wms_message_protocol
1013s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1013s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1013s # ENUMPREFIX: QMI
1013s # enumsince: 1.0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: QmiWmsMessageProtocol
1013s # enum_name: qmi_wms_message_protocol
1013s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1013s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1013s # ENUMPREFIX: QMI
1013s # enumsince: 1.0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
1013s # valuenick: cdma
1013s # valuenum: 0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: QmiWmsMessageProtocol
1013s # enum_name: qmi_wms_message_protocol
1013s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1013s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1013s # ENUMPREFIX: QMI
1013s # enumsince: 1.0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 18 __main__.TestMkenums.test_with_double_quotes
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpsp0fa97t
1013s # rspfile: False
1013s # /tmp/tmpsp0fa97t/tmpok4qvxrq.h:
1013s # typedef enum {
1013s # FOO_VALUE /*< nick="eek, a comma" >*/
1013s # } Foo;
1013s #
1013s # /tmp/tmpsp0fa97t/tmpjorgdnlu.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsp0fa97t/tmpjorgdnlu.template', '/tmp/tmpsp0fa97t/tmpok4qvxrq.h']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmpsp0fa97t/tmpok4qvxrq.h
1013s # basename: tmpok4qvxrq.h
1013s # enumeration-production
1013s # EnumName: Foo
1013s # enum_name: foo_
1013s # ENUMNAME: FOO_
1013s # ENUMSHORT:
1013s # ENUMPREFIX: FOO
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: Foo
1013s # enum_name: foo_
1013s # ENUMNAME: FOO_
1013s # ENUMSHORT:
1013s # ENUMPREFIX: FOO
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: FOO_VALUE
1013s # valuenick: eek, a comma
1013s # valuenum: 0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: Foo
1013s # enum_name: foo_
1013s # ENUMNAME: FOO_
1013s # ENUMSHORT:
1013s # ENUMPREFIX: FOO
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 19 __main__.TestRspMkenums.test_available_in
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp5cyjb054
1013s # rspfile: True
1013s # /tmp/tmp5cyjb054/tmpr11qdqcj.h:
1013s # typedef enum {
1013s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
1013s # } GDBusServerFlags;
1013s #
1013s # /tmp/tmp5cyjb054/tmpm34joj00.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Response file contains: --template /tmp/tmp5cyjb054/tmpm34joj00.template /tmp/tmp5cyjb054/tmpr11qdqcj.h
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5cyjb054/tmp90rkb56f']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp5cyjb054/tmpr11qdqcj.h
1013s # basename: tmpr11qdqcj.h
1013s # enumeration-production
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-header
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-production
1013s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1013s # valuenick: user
1013s # valuenum: 4
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-tail
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpe9e_50uu
1013s # rspfile: True
1013s # /tmp/tmpe9e_50uu/tmp3nzmf0yr.h:
1013s # typedef enum {
1013s # ENUM_VALUE_WITH_COMMA = ',',
1013s # } TestCommaEnum;
1013s #
1013s # /tmp/tmpe9e_50uu/tmpqj1mb1ja.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Response file contains: --template /tmp/tmpe9e_50uu/tmpqj1mb1ja.template /tmp/tmpe9e_50uu/tmp3nzmf0yr.h
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe9e_50uu/tmpidoqtklo']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmpe9e_50uu/tmp3nzmf0yr.h
1013s # basename: tmp3nzmf0yr.h
1013s # enumeration-production
1013s # EnumName: TestCommaEnum
1013s # enum_name: test_comma_enum
1013s # ENUMNAME: TEST_COMMA_ENUM
1013s # ENUMSHORT: COMMA_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: TestCommaEnum
1013s # enum_name: test_comma_enum
1013s # ENUMNAME: TEST_COMMA_ENUM
1013s # ENUMSHORT: COMMA_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE_WITH_COMMA
1013s # valuenick: comma
1013s # valuenum: 44
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: TestCommaEnum
1013s # enum_name: test_comma_enum
1013s # ENUMNAME: TEST_COMMA_ENUM
1013s # ENUMSHORT: COMMA_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 21 __main__.TestRspMkenums.test_deprecated_in
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp656qzljb
1013s # rspfile: True
1013s # /tmp/tmp656qzljb/tmpl_elvy3s.h:
1013s # typedef enum {
1013s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
1013s # } GDBusServerFlags;
1013s #
1013s # /tmp/tmp656qzljb/tmpzb1uotie.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Response file contains: --template /tmp/tmp656qzljb/tmpzb1uotie.template /tmp/tmp656qzljb/tmpl_elvy3s.h
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp656qzljb/tmpro6x9yl0']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp656qzljb/tmpl_elvy3s.h
1013s # basename: tmpl_elvy3s.h
1013s # enumeration-production
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-header
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-production
1013s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1013s # valuenick: user
1013s # valuenum: 4
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-tail
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 22 __main__.TestRspMkenums.test_deprecated_in_for
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp0nz4psma
1013s # rspfile: True
1013s # /tmp/tmp0nz4psma/tmpunvtlgu4.h:
1013s # typedef enum {
1013s # 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)
1013s # } GDBusServerFlags;
1013s #
1013s # /tmp/tmp0nz4psma/tmpj7_6bws4.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Response file contains: --template /tmp/tmp0nz4psma/tmpj7_6bws4.template /tmp/tmp0nz4psma/tmpunvtlgu4.h
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0nz4psma/tmpehdjb9bn']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp0nz4psma/tmpunvtlgu4.h
1013s # basename: tmpunvtlgu4.h
1013s # enumeration-production
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-header
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-production
1013s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1013s # valuenick: user
1013s # valuenum: 4
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # value-tail
1013s # EnumName: GDBusServerFlags
1013s # enum_name: g_dbus_server_flags
1013s # ENUMNAME: G_DBUS_SERVER_FLAGS
1013s # ENUMSHORT: DBUS_SERVER_FLAGS
1013s # ENUMPREFIX: G
1013s # enumsince:
1013s # type: flags
1013s # Type: Flags
1013s # TYPE: FLAGS
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 23 __main__.TestRspMkenums.test_empty_header
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp_fipmd7s
1013s # rspfile: True
1013s # /tmp/tmp_fipmd7s/tmpdg1xnexp.h:
1013s # /tmp/tmp_fipmd7s/tmpb91lqrbl.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Response file contains: --template /tmp/tmp_fipmd7s/tmpb91lqrbl.template /tmp/tmp_fipmd7s/tmpdg1xnexp.h
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_fipmd7s/tmpisv7s5kx']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 24 __main__.TestRspMkenums.test_empty_template
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpsbj1oote
1013s # rspfile: True
1013s # /tmp/tmpsbj1oote/tmptz7syv9d.template:
1013s # Response file contains: --template /tmp/tmpsbj1oote/tmptz7syv9d.template
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsbj1oote/tmpts1vjxej']
1013s # Return code: 0
1013s # Output:
1013s # /* 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. */
1013s #
1013s #
1013s # /* Generated data ends here */
1013s # Error:
1013s ok 25 __main__.TestRspMkenums.test_enum_name
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp6erum4x_
1013s # rspfile: True
1013s # /tmp/tmp6erum4x_/tmp1r3hyzpd.h:
1013s # typedef enum _SomeEnumIdentifier {
1013s # ENUM_VALUE
1013s # } SomeEnumIdentifier;
1013s #
1013s # /tmp/tmp6erum4x_/tmpjeml97ms.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Response file contains: --template /tmp/tmp6erum4x_/tmpjeml97ms.template /tmp/tmp6erum4x_/tmp1r3hyzpd.h
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6erum4x_/tmp9opv24td']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp6erum4x_/tmp1r3hyzpd.h
1013s # basename: tmp1r3hyzpd.h
1013s # enumeration-production
1013s # EnumName: SomeEnumIdentifier
1013s # enum_name: some_enum_identifier
1013s # ENUMNAME: SOME_ENUM_IDENTIFIER
1013s # ENUMSHORT: ENUM_IDENTIFIER
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: SomeEnumIdentifier
1013s # enum_name: some_enum_identifier
1013s # ENUMNAME: SOME_ENUM_IDENTIFIER
1013s # ENUMSHORT: ENUM_IDENTIFIER
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE
1013s # valuenick: value
1013s # valuenum: 0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: SomeEnumIdentifier
1013s # enum_name: some_enum_identifier
1013s # ENUMNAME: SOME_ENUM_IDENTIFIER
1013s # ENUMSHORT: ENUM_IDENTIFIER
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 26 __main__.TestRspMkenums.test_enum_private_public
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmp7pklao8m
1013s # rspfile: True
1013s # /tmp/tmp7pklao8m/tmp7uuq35o3.h:
1013s # typedef enum {
1013s # ENUM_VALUE_PUBLIC1,
1013s # /*< private >*/
1013s # ENUM_VALUE_PRIVATE,
1013s # } SomeEnumA
1013s #
1013s # /tmp/tmp7pklao8m/tmp803lm6mn.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Response file contains: --template /tmp/tmp7pklao8m/tmp803lm6mn.template /tmp/tmp7pklao8m/tmp7uuq35o3.h
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7pklao8m/tmpo5jc2wyi']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp7pklao8m/tmp7uuq35o3.h
1013s # basename: tmp7uuq35o3.h
1013s # enumeration-production
1013s # EnumName: SomeEnumA
1013s # enum_name: some_enum_a
1013s # ENUMNAME: SOME_ENUM_A
1013s # ENUMSHORT: ENUM_A
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: SomeEnumA
1013s # enum_name: some_enum_a
1013s # ENUMNAME: SOME_ENUM_A
1013s # ENUMSHORT: ENUM_A
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE_PUBLIC1
1013s # valuenick: public1
1013s # valuenum: 0
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: SomeEnumA
1013s # enum_name: some_enum_a
1013s # ENUMNAME: SOME_ENUM_A
1013s # ENUMSHORT: ENUM_A
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s #
1013s # /tmp/tmp7pklao8m/tmpbfbchnsw.h:
1013s # typedef enum {
1013s # /*< private >*/
1013s # ENUM_VALUE_PRIVATE,
1013s # /*< public >*/
1013s # ENUM_VALUE_PUBLIC2,
1013s # } SomeEnumB;
1013s #
1013s # /tmp/tmp7pklao8m/tmpq4pbgnaq.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Response file contains: --template /tmp/tmp7pklao8m/tmpq4pbgnaq.template /tmp/tmp7pklao8m/tmpbfbchnsw.h
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7pklao8m/tmp1mdh57p2']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmp7pklao8m/tmpbfbchnsw.h
1013s # basename: tmpbfbchnsw.h
1013s # enumeration-production
1013s # EnumName: SomeEnumB
1013s # enum_name: some_enum_b
1013s # ENUMNAME: SOME_ENUM_B
1013s # ENUMSHORT: ENUM_B
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: SomeEnumB
1013s # enum_name: some_enum_b
1013s # ENUMNAME: SOME_ENUM_B
1013s # ENUMSHORT: ENUM_B
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE_PUBLIC2
1013s # valuenick: public2
1013s # valuenum: 1
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: SomeEnumB
1013s # enum_name: some_enum_b
1013s # ENUMNAME: SOME_ENUM_B
1013s # ENUMSHORT: ENUM_B
1013s # ENUMPREFIX: SOME
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpjfbo940h
1013s # rspfile: True
1013s # /tmp/tmpjfbo940h/tmp9eshzi_2.h:
1013s # typedef enum {
1013s # /*< private >*/
1013s # ENUM_VALUE_PRIVATE = 5,
1013s # /*< public >*/
1013s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
1013s # } TestSymbolicEnum;
1013s #
1013s # /tmp/tmpjfbo940h/tmp8uysvcs8.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN file-production ***/
1013s # file-production
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-production ***/
1013s #
1013s # /*** BEGIN enumeration-production ***/
1013s # enumeration-production
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END enumeration-production ***/
1013s #
1013s # /*** BEGIN value-header ***/
1013s # value-header
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-header ***/
1013s #
1013s # /*** BEGIN value-production ***/
1013s # value-production
1013s # VALUENAME: @VALUENAME@
1013s # valuenick: @valuenick@
1013s # valuenum: @valuenum@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-production ***/
1013s #
1013s # /*** BEGIN value-tail ***/
1013s # value-tail
1013s # EnumName: @EnumName@
1013s # enum_name: @enum_name@
1013s # ENUMNAME: @ENUMNAME@
1013s # ENUMSHORT: @ENUMSHORT@
1013s # ENUMPREFIX: @ENUMPREFIX@
1013s # enumsince: @enumsince@
1013s # type: @type@
1013s # Type: @Type@
1013s # TYPE: @TYPE@
1013s # /*** END value-tail ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # /*** END file-tail ***/
1013s #
1013s # Response file contains: --template /tmp/tmpjfbo940h/tmp8uysvcs8.template /tmp/tmpjfbo940h/tmp9eshzi_2.h
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjfbo940h/tmpwk_36lun']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # file-production
1013s # filename: /tmp/tmpjfbo940h/tmp9eshzi_2.h
1013s # basename: tmp9eshzi_2.h
1013s # enumeration-production
1013s # EnumName: TestSymbolicEnum
1013s # enum_name: test_symbolic_enum
1013s # ENUMNAME: TEST_SYMBOLIC_ENUM
1013s # ENUMSHORT: SYMBOLIC_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-header
1013s # EnumName: TestSymbolicEnum
1013s # enum_name: test_symbolic_enum
1013s # ENUMNAME: TEST_SYMBOLIC_ENUM
1013s # ENUMSHORT: SYMBOLIC_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-production
1013s # VALUENAME: ENUM_VALUE_PUBLIC
1013s # valuenick: public
1013s # valuenum: 7
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # value-tail
1013s # EnumName: TestSymbolicEnum
1013s # enum_name: test_symbolic_enum
1013s # ENUMNAME: TEST_SYMBOLIC_ENUM
1013s # ENUMSHORT: SYMBOLIC_ENUM
1013s # ENUMPREFIX: TEST
1013s # enumsince:
1013s # type: enum
1013s # Type: Enum
1013s # TYPE: ENUM
1013s # file-tail
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail
1013s # glib-mkenums: /usr/bin/glib-mkenums
1013s # tmpdir: /tmp/tmpuaoynq_i
1013s # rspfile: True
1013s # /tmp/tmpuaoynq_i/tmpjh94ax9c.template:
1013s # /*** BEGIN file-header ***/
1013s # file-header
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-header ***/
1013s #
1013s # /*** BEGIN comment ***/
1013s # comment
1013s # comment: @comment@
1013s # /*** END comment ***/
1013s #
1013s # /*** BEGIN file-tail ***/
1013s # file-tail
1013s # filename: @filename@
1013s # basename: @basename@
1013s # /*** END file-tail ***/
1013s # Response file contains: --template /tmp/tmpuaoynq_i/tmpjh94ax9c.template
1013s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpuaoynq_i/tmpicrrgygq']
1013s # Return code: 0
1013s # Output:
1013s # comment
1013s # 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.
1013s #
1013s #
1013s # file-header
1013s # filename: @filename@
1013s # basename: @basename@
1013s # file-tail
1013s # filename: @filename@
1013s # basename: @basename@
1013s #
1013s # comment
1013s # comment: Generated data ends here
1013s # Error:
1013s # WARNING: @filename@ used in file-header section.
1013s # WARNING: @basename@ used in file-header section.
1013s # WARNING: @filename@ used in file-tail section.
1013s # WARNING: @basename@ used in file-tail section.
1014s ok 29 __main__.TestRspMkenums.test_help
1014s # glib-mkenums: /usr/bin/glib-mkenums
1014s # tmpdir: /tmp/tmpvgzk7f4j
1014s # rspfile: True
1014s # Response file contains: --help
1014s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvgzk7f4j/tmp_fsl5ipm']
1014s # Return code: 0
1014s # Output:
1014s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
1014s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
1014s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
1014s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
1014s # [--comments COMMENT_TMPL] [--template TEMPLATE]
1014s # [--output OUTPUT] [--version]
1014s # [args ...]
1014s #
1014s # positional arguments:
1014s # args One or more input files, or a single argument
1014s # @rspfile_path pointing to a file that contains the
1014s # actual arguments
1014s #
1014s # options:
1014s # -h, --help show this help message and exit
1014s # --identifier-prefix IDPREFIX
1014s # Identifier prefix
1014s # --symbol-prefix SYMPREFIX
1014s # Symbol prefix
1014s # --fhead FHEAD Output file header
1014s # --ftail FTAIL Output file footer
1014s # --fprod FPROD Put out TEXT every time a new input file is being
1014s # processed.
1014s # --eprod EPROD Per enum text, produced prior to value iterations
1014s # --vhead VHEAD Value header, produced before iterating over enum
1014s # values
1014s # --vprod VPROD Value text, produced for each enum value.
1014s # --vtail VTAIL Value tail, produced after iterating over enum values
1014s # --comments COMMENT_TMPL
1014s # Comment structure
1014s # --template TEMPLATE Template file
1014s # --output OUTPUT
1014s # --version, -v Print version information
1014s #
1014s # Production text substitutions:
1014s # @EnumName@ PrefixTheXEnum
1014s # @enum_name@ prefix_the_xenum
1014s # @ENUMNAME@ PREFIX_THE_XENUM
1014s # @ENUMSHORT@ THE_XENUM
1014s # @ENUMPREFIX@ PREFIX
1014s # @enumsince@ the user-provided since value given
1014s # @VALUENAME@ PREFIX_THE_XVALUE
1014s # @valuenick@ the-xvalue
1014s # @valuenum@ the integer value (limited support, Since: 2.26)
1014s # @type@ either enum or flags
1014s # @Type@ either Enum or Flags
1014s # @TYPE@ either ENUM or FLAGS
1014s # @filename@ name of current input file
1014s # @basename@ base name of the current input file (Since: 2.22)
1014s # Error:
1014s ok 30 __main__.TestRspMkenums.test_no_args
1014s # glib-mkenums: /usr/bin/glib-mkenums
1014s # tmpdir: /tmp/tmpl681n20u
1014s # rspfile: True
1014s # Response file contains:
1014s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpl681n20u/tmpqm9enfgx']
1014s # Return code: 0
1014s # Output:
1014s # /* 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. */
1014s #
1014s #
1014s # /* Generated data ends here */
1014s # Error:
1014s ok 31 __main__.TestRspMkenums.test_no_headers
1014s # glib-mkenums: /usr/bin/glib-mkenums
1014s # tmpdir: /tmp/tmpbzsqp933
1014s # rspfile: True
1014s # /tmp/tmpbzsqp933/tmp92cbh9wr.template:
1014s # /*** BEGIN file-header ***/
1014s # file-header
1014s # /*** END file-header ***/
1014s #
1014s # /*** BEGIN file-production ***/
1014s # file-production
1014s # filename: @filename@
1014s # basename: @basename@
1014s # /*** END file-production ***/
1014s #
1014s # /*** BEGIN enumeration-production ***/
1014s # enumeration-production
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END enumeration-production ***/
1014s #
1014s # /*** BEGIN value-header ***/
1014s # value-header
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-header ***/
1014s #
1014s # /*** BEGIN value-production ***/
1014s # value-production
1014s # VALUENAME: @VALUENAME@
1014s # valuenick: @valuenick@
1014s # valuenum: @valuenum@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-production ***/
1014s #
1014s # /*** BEGIN value-tail ***/
1014s # value-tail
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-tail ***/
1014s #
1014s # /*** BEGIN comment ***/
1014s # comment
1014s # comment: @comment@
1014s # /*** END comment ***/
1014s #
1014s # /*** BEGIN file-tail ***/
1014s # file-tail
1014s # /*** END file-tail ***/
1014s #
1014s # Response file contains: --template /tmp/tmpbzsqp933/tmp92cbh9wr.template
1014s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbzsqp933/tmpevcdc75o']
1014s # Return code: 0
1014s # Output:
1014s # comment
1014s # 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.
1014s #
1014s #
1014s # file-header
1014s # file-tail
1014s #
1014s # comment
1014s # comment: Generated data ends here
1014s # Error:
1014s ok 32 __main__.TestRspMkenums.test_no_nick
1014s # glib-mkenums: /usr/bin/glib-mkenums
1014s # tmpdir: /tmp/tmpco4xye5f
1014s # rspfile: True
1014s # /tmp/tmpco4xye5f/tmpya28bqk4.h:
1014s # typedef enum {
1014s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
1014s # } GeglSamplerType;
1014s #
1014s # /tmp/tmpco4xye5f/tmp1ubz3422.template:
1014s # /*** BEGIN file-header ***/
1014s # file-header
1014s # /*** END file-header ***/
1014s #
1014s # /*** BEGIN file-production ***/
1014s # file-production
1014s # filename: @filename@
1014s # basename: @basename@
1014s # /*** END file-production ***/
1014s #
1014s # /*** BEGIN enumeration-production ***/
1014s # enumeration-production
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END enumeration-production ***/
1014s #
1014s # /*** BEGIN value-header ***/
1014s # value-header
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-header ***/
1014s #
1014s # /*** BEGIN value-production ***/
1014s # value-production
1014s # VALUENAME: @VALUENAME@
1014s # valuenick: @valuenick@
1014s # valuenum: @valuenum@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-production ***/
1014s #
1014s # /*** BEGIN value-tail ***/
1014s # value-tail
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-tail ***/
1014s #
1014s # /*** BEGIN comment ***/
1014s # comment
1014s # comment: @comment@
1014s # /*** END comment ***/
1014s #
1014s # /*** BEGIN file-tail ***/
1014s # file-tail
1014s # /*** END file-tail ***/
1014s #
1014s # Response file contains: --template /tmp/tmpco4xye5f/tmp1ubz3422.template /tmp/tmpco4xye5f/tmpya28bqk4.h
1014s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpco4xye5f/tmp37i4qnl9']
1014s # Return code: 0
1014s # Output:
1014s # comment
1014s # 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.
1014s #
1014s #
1014s # file-header
1014s # file-production
1014s # filename: /tmp/tmpco4xye5f/tmpya28bqk4.h
1014s # basename: tmpya28bqk4.h
1014s # enumeration-production
1014s # EnumName: GeglSamplerType
1014s # enum_name: gegl_sampler_type
1014s # ENUMNAME: GEGL_SAMPLER_TYPE
1014s # ENUMSHORT: SAMPLER_TYPE
1014s # ENUMPREFIX: GEGL
1014s # enumsince:
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-header
1014s # EnumName: GeglSamplerType
1014s # enum_name: gegl_sampler_type
1014s # ENUMNAME: GEGL_SAMPLER_TYPE
1014s # ENUMSHORT: SAMPLER_TYPE
1014s # ENUMPREFIX: GEGL
1014s # enumsince:
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-production
1014s # VALUENAME: GEGL_SAMPLER_NEAREST
1014s # valuenick: nearest
1014s # valuenum: 0
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-tail
1014s # EnumName: GeglSamplerType
1014s # enum_name: gegl_sampler_type
1014s # ENUMNAME: GEGL_SAMPLER_TYPE
1014s # ENUMSHORT: SAMPLER_TYPE
1014s # ENUMPREFIX: GEGL
1014s # enumsince:
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # file-tail
1014s #
1014s # comment
1014s # comment: Generated data ends here
1014s # Error:
1014s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding
1014s # glib-mkenums: /usr/bin/glib-mkenums
1014s # tmpdir: /tmp/tmpd55joygm
1014s # rspfile: True
1014s # /tmp/tmpd55joygm/tmp_rwr7c29.h:
1014s # /* Copyright © La Peña */
1014s # typedef enum {
1014s # ENUM_VALUE
1014s # } SomeEnumIdentifier;
1014s #
1014s # /tmp/tmpd55joygm/tmp_eq9k00l.template:
1014s # /*** BEGIN file-header ***/
1014s # file-header
1014s # /*** END file-header ***/
1014s #
1014s # /*** BEGIN file-production ***/
1014s # file-production
1014s # filename: @filename@
1014s # basename: @basename@
1014s # /*** END file-production ***/
1014s #
1014s # /*** BEGIN enumeration-production ***/
1014s # enumeration-production
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END enumeration-production ***/
1014s #
1014s # /*** BEGIN value-header ***/
1014s # value-header
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-header ***/
1014s #
1014s # /*** BEGIN value-production ***/
1014s # value-production
1014s # VALUENAME: @VALUENAME@
1014s # valuenick: @valuenick@
1014s # valuenum: @valuenum@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-production ***/
1014s #
1014s # /*** BEGIN value-tail ***/
1014s # value-tail
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-tail ***/
1014s #
1014s # /*** BEGIN comment ***/
1014s # comment
1014s # comment: @comment@
1014s # /*** END comment ***/
1014s #
1014s # /*** BEGIN file-tail ***/
1014s # file-tail
1014s # /*** END file-tail ***/
1014s #
1014s # Response file contains: --template /tmp/tmpd55joygm/tmp_eq9k00l.template /tmp/tmpd55joygm/tmp_rwr7c29.h
1014s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpd55joygm/tmps1zf9s0q']
1014s # Return code: 0
1014s # Output:
1014s # comment
1014s # 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.
1014s #
1014s #
1014s # file-header
1014s # file-production
1014s # filename: /tmp/tmpd55joygm/tmp_rwr7c29.h
1014s # basename: tmp_rwr7c29.h
1014s # enumeration-production
1014s # EnumName: SomeEnumIdentifier
1014s # enum_name: some_enum_identifier
1014s # ENUMNAME: SOME_ENUM_IDENTIFIER
1014s # ENUMSHORT: ENUM_IDENTIFIER
1014s # ENUMPREFIX: SOME
1014s # enumsince:
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-header
1014s # EnumName: SomeEnumIdentifier
1014s # enum_name: some_enum_identifier
1014s # ENUMNAME: SOME_ENUM_IDENTIFIER
1014s # ENUMSHORT: ENUM_IDENTIFIER
1014s # ENUMPREFIX: SOME
1014s # enumsince:
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-production
1014s # VALUENAME: ENUM_VALUE
1014s # valuenick: value
1014s # valuenum: 0
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-tail
1014s # EnumName: SomeEnumIdentifier
1014s # enum_name: some_enum_identifier
1014s # ENUMNAME: SOME_ENUM_IDENTIFIER
1014s # ENUMSHORT: ENUM_IDENTIFIER
1014s # ENUMPREFIX: SOME
1014s # enumsince:
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # file-tail
1014s #
1014s # comment
1014s # comment: Generated data ends here
1014s # Error:
1014s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
1014s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
1014s ok 34 __main__.TestRspMkenums.test_reproducible
1014s # glib-mkenums: /usr/bin/glib-mkenums
1014s # tmpdir: /tmp/tmpo718bijh
1014s # rspfile: True
1014s # /tmp/tmpo718bijh/tmp8pd2haqd.template: template
1014s # Response file contains: --template /tmp/tmpo718bijh/tmp8pd2haqd.template /tmp/tmpo718bijh/tmp7xr1y_7s1.h /tmp/tmpo718bijh/tmp3pze5ko42.h
1014s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpo718bijh/tmp641wd4bs']
1014s # Return code: 0
1014s # Output:
1014s # /* 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. */
1014s #
1014s #
1014s # /* Generated data ends here */
1014s # Error:
1014s #
1014s # /tmp/tmpo718bijh/tmphx50lzfa.template: template
1014s # Response file contains: --template /tmp/tmpo718bijh/tmphx50lzfa.template /tmp/tmpo718bijh/tmp3pze5ko42.h /tmp/tmpo718bijh/tmp7xr1y_7s1.h
1014s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpo718bijh/tmpvlrz54rm']
1014s # Return code: 0
1014s # Output:
1014s # /* 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. */
1014s #
1014s #
1014s # /* Generated data ends here */
1014s # Error:
1014s ok 35 __main__.TestRspMkenums.test_since
1014s # glib-mkenums: /usr/bin/glib-mkenums
1014s # tmpdir: /tmp/tmprtos6qqz
1014s # rspfile: True
1014s # /tmp/tmprtos6qqz/tmp4u9qvylv.h:
1014s # typedef enum { /*< since=1.0 >*/
1014s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
1014s # } QmiWmsMessageProtocol;
1014s #
1014s # /tmp/tmprtos6qqz/tmpel0y8f5u.template:
1014s # /*** BEGIN file-header ***/
1014s # file-header
1014s # /*** END file-header ***/
1014s #
1014s # /*** BEGIN file-production ***/
1014s # file-production
1014s # filename: @filename@
1014s # basename: @basename@
1014s # /*** END file-production ***/
1014s #
1014s # /*** BEGIN enumeration-production ***/
1014s # enumeration-production
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END enumeration-production ***/
1014s #
1014s # /*** BEGIN value-header ***/
1014s # value-header
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-header ***/
1014s #
1014s # /*** BEGIN value-production ***/
1014s # value-production
1014s # VALUENAME: @VALUENAME@
1014s # valuenick: @valuenick@
1014s # valuenum: @valuenum@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-production ***/
1014s #
1014s # /*** BEGIN value-tail ***/
1014s # value-tail
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-tail ***/
1014s #
1014s # /*** BEGIN comment ***/
1014s # comment
1014s # comment: @comment@
1014s # /*** END comment ***/
1014s #
1014s # /*** BEGIN file-tail ***/
1014s # file-tail
1014s # /*** END file-tail ***/
1014s #
1014s # Response file contains: --template /tmp/tmprtos6qqz/tmpel0y8f5u.template /tmp/tmprtos6qqz/tmp4u9qvylv.h
1014s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprtos6qqz/tmp_hdwc4w6']
1014s # Return code: 0
1014s # Output:
1014s # comment
1014s # 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.
1014s #
1014s #
1014s # file-header
1014s # file-production
1014s # filename: /tmp/tmprtos6qqz/tmp4u9qvylv.h
1014s # basename: tmp4u9qvylv.h
1014s # enumeration-production
1014s # EnumName: QmiWmsMessageProtocol
1014s # enum_name: qmi_wms_message_protocol
1014s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1014s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1014s # ENUMPREFIX: QMI
1014s # enumsince: 1.0
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-header
1014s # EnumName: QmiWmsMessageProtocol
1014s # enum_name: qmi_wms_message_protocol
1014s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1014s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1014s # ENUMPREFIX: QMI
1014s # enumsince: 1.0
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-production
1014s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
1014s # valuenick: cdma
1014s # valuenum: 0
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-tail
1014s # EnumName: QmiWmsMessageProtocol
1014s # enum_name: qmi_wms_message_protocol
1014s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1014s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1014s # ENUMPREFIX: QMI
1014s # enumsince: 1.0
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # file-tail
1014s #
1014s # comment
1014s # comment: Generated data ends here
1014s # Error:
1014s ok 36 __main__.TestRspMkenums.test_with_double_quotes
1014s # glib-mkenums: /usr/bin/glib-mkenums
1014s # tmpdir: /tmp/tmp2z9p11ea
1014s # rspfile: True
1014s # /tmp/tmp2z9p11ea/tmpypsvkkoo.h:
1014s # typedef enum {
1014s # FOO_VALUE /*< nick="eek, a comma" >*/
1014s # } Foo;
1014s #
1014s # /tmp/tmp2z9p11ea/tmp1c1r_xa5.template:
1014s # /*** BEGIN file-header ***/
1014s # file-header
1014s # /*** END file-header ***/
1014s #
1014s # /*** BEGIN file-production ***/
1014s # file-production
1014s # filename: @filename@
1014s # basename: @basename@
1014s # /*** END file-production ***/
1014s #
1014s # /*** BEGIN enumeration-production ***/
1014s # enumeration-production
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END enumeration-production ***/
1014s #
1014s # /*** BEGIN value-header ***/
1014s # value-header
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-header ***/
1014s #
1014s # /*** BEGIN value-production ***/
1014s # value-production
1014s # VALUENAME: @VALUENAME@
1014s # valuenick: @valuenick@
1014s # valuenum: @valuenum@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-production ***/
1014s #
1014s # /*** BEGIN value-tail ***/
1014s # value-tail
1014s # EnumName: @EnumName@
1014s # enum_name: @enum_name@
1014s # ENUMNAME: @ENUMNAME@
1014s # ENUMSHORT: @ENUMSHORT@
1014s # ENUMPREFIX: @ENUMPREFIX@
1014s # enumsince: @enumsince@
1014s # type: @type@
1014s # Type: @Type@
1014s # TYPE: @TYPE@
1014s # /*** END value-tail ***/
1014s #
1014s # /*** BEGIN comment ***/
1014s # comment
1014s # comment: @comment@
1014s # /*** END comment ***/
1014s #
1014s # /*** BEGIN file-tail ***/
1014s # file-tail
1014s # /*** END file-tail ***/
1014s #
1014s # Response file contains: --template /tmp/tmp2z9p11ea/tmp1c1r_xa5.template /tmp/tmp2z9p11ea/tmpypsvkkoo.h
1014s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2z9p11ea/tmpdg571xri']
1014s # Return code: 0
1014s # Output:
1014s # comment
1014s # 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.
1014s #
1014s #
1014s # file-header
1014s # file-production
1014s # filename: /tmp/tmp2z9p11ea/tmpypsvkkoo.h
1014s # basename: tmpypsvkkoo.h
1014s # enumeration-production
1014s # EnumName: Foo
1014s # enum_name: foo_
1014s # ENUMNAME: FOO_
1014s # ENUMSHORT:
1014s # ENUMPREFIX: FOO
1014s # enumsince:
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-header
1014s # EnumName: Foo
1014s # enum_name: foo_
1014s # ENUMNAME: FOO_
1014s # ENUMSHORT:
1014s # ENUMPREFIX: FOO
1014s # enumsince:
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-production
1014s # VALUENAME: FOO_VALUE
1014s # valuenick: eek, a comma
1014s # valuenum: 0
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # value-tail
1014s # EnumName: Foo
1014s # enum_name: foo_
1014s # ENUMNAME: FOO_
1014s # ENUMSHORT:
1014s # ENUMPREFIX: FOO
1014s # enumsince:
1014s # type: enum
1014s # Type: Enum
1014s # TYPE: ENUM
1014s # file-tail
1014s #
1014s # comment
1014s # comment: Generated data ends here
1014s # Error:
1014s 1..36
1014s ok - glib/mkenums.py.test
1014s # Running test: glib/portal-support-flatpak-network-only.test
1014s TAP version 14
1014s # random seed: R02Se4c98fb19dafe7cfbfc614bd87e13470
1014s 1..1
1014s # Start of portal-support tests
1014s # Start of flatpak tests
1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/home
1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/cache
1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/system-config2
1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/config
1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/system-data2
1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/data
1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/state
1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/runtime
1014s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_4SV9J3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info
1014s ok 1 /portal-support/flatpak/network
1014s # End of flatpak tests
1014s # End of portal-support tests
1014s ok - glib/portal-support-flatpak-network-only.test
1014s # Running test: glib/win32-appinfo.test
1014s TAP version 14
1014s # random seed: R02S23cde2b2cf4b635b843e05b14e4fadb1
1014s 1..5
1014s # Start of appinfo tests
1014s ok 1 /appinfo/utf16-strfuncs
1014s ok 2 /appinfo/win32-extract-executable
1014s ok 3 /appinfo/win32-rundll32-fixup
1014s ok 4 /appinfo/win32-parse-filename
1014s ok 5 /appinfo/win32-utf16-conversion-fail
1014s # Start of subprocess tests
1014s # End of subprocess tests
1014s # End of appinfo tests
1014s ok - glib/win32-appinfo.test
1014s # Running test: glib/atomic-c-89.test
1014s TAP version 14
1014s # random seed: R02S608ff02cc1e016d3456f89c2dcba460b
1014s 1..2
1014s # Start of atomic tests
1014s ok 1 /atomic/types
1014s ok - glib/atomic-c-89.test
1014s ok 2 /atomic/threaded
1014s # End of atomic tests
1014s # Running test: glib/cache.test
1014s ok - glib/cache.test
1014s TAP version 14
1014s # random seed: R02Sf657d22a540fcfffa28c868261e5e0d2
1014s 1..1
1014s # Start of cache tests
1014s ok 1 /cache/basic
1014s # End of cache tests
1014s # Running test: glib/bitlock.test
1014s TAP version 14
1014s # random seed: R02S50676e52307d21499e1a693e3b5434e5
1014s 1..2
1014s # Start of bitlock tests
1014s # Start of performance tests
1014s # max perf: iterations per second
1014s ok 1 /bitlock/performance/uncontended
1014s ok 2 /bitlock/performance/parallel
1014s # End of performance tests
1014s # End of bitlock tests
1014s ok - glib/bitlock.test
1014s # Running test: glib/timeout.test
1014s TAP version 14
1014s # random seed: R02S800577e156e245f29f4c09482575f371
1014s 1..5
1014s # Start of timeout tests
1014s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
1016s ok 1 /timeout/seconds
1016s # slow test /timeout/seconds executed in 2.10 secs
1017s # Executing: glib/timeout.test
1018s ok 2 /timeout/seconds-once
1018s # slow test /timeout/seconds-once executed in 2.10 secs
1018s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
1020s ok 3 /timeout/weeks-overflow
1020s # slow test /timeout/weeks-overflow executed in 2.10 secs
1020s ok 4 /timeout/far-future-ready-time
1022s # Executing: glib/timeout.test
1027s # Executing: glib/timeout.test
1031s ok 5 /timeout/rounding
1031s # slow test /timeout/rounding executed in 10.61 secs
1031s # End of timeout tests
1031s ok - glib/timeout.test
1031s # Running test: glib/sequence.test
1031s TAP version 14
1031s # random seed: R02Sf90b05e9ea345c01d4f31beafd1f20e5
1031s 1..16
1031s # Start of sequence tests
1031s ok 1 /sequence/out-of-range-jump
1031s ok 2 /sequence/iter-move
1031s ok 3 /sequence/insert-sorted-non-pointer
1031s ok 4 /sequence/stable-sort
1031s ok 5 /sequence/is_empty
1031s # Start of random tests
1031s ok 6 /sequence/random/seed:825541564
1032s ok 7 /sequence/random/seed:801678400
1032s # Executing: glib/sequence.test
1032s ok 8 /sequence/random/seed:1477639090
1032s ok 9 /sequence/random/seed:3369132895
1033s ok 10 /sequence/random/seed:1192944867
1033s ok 11 /sequence/random/seed:770458294
1034s ok 12 /sequence/random/seed:1099575817
1034s ok 13 /sequence/random/seed:590523467
1034s ok 14 /sequence/random/seed:3583571454
1035s ok 15 /sequence/random/seed:579241222
1035s ok - glib/sequence.test
1035s ok 16 /sequence/random/seed:892405969
1035s # End of random tests
1035s # End of sequence tests
1035s # Running test: glib/buffered-input-stream.test
1035s TAP version 14
1035s # random seed: R02S9a8ad1553f812c2cc53c9f986ea0d32a
1035s 1..10
1035s # Start of buffered-input-stream tests
1035s ok 1 /buffered-input-stream/peek
1035s ok 2 /buffered-input-stream/peek-buffer
1035s ok 3 /buffered-input-stream/set-buffer-size
1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393
1035s ok 4 /buffered-input-stream/read-byte
1035s ok 5 /buffered-input-stream/read
1035s ok - glib/buffered-input-stream.test
1035s # Running test: glib/gdbus-serialization.test
1035s ok 6 /buffered-input-stream/read-async
1035s ok 7 /buffered-input-stream/skip
1035s ok 8 /buffered-input-stream/skip-async
1035s ok 9 /buffered-input-stream/seek
1035s # End of buffered-input-stream tests
1035s # Start of filter-input-stream tests
1035s ok 10 /filter-input-stream/close
1035s # End of filter-input-stream tests
1035s TAP version 14
1035s # random seed: R02S831cca2d432173085b064081eb28076b
1035s 1..18
1035s # Start of gdbus tests
1035s # Start of message-serialize tests
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/basic/.dirs/runtime
1035s ok 1 /gdbus/message-serialize/basic
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/complex/.dirs/runtime
1035s ok 2 /gdbus/message-serialize/complex
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/invalid/.dirs/runtime
1035s ok 3 /gdbus/message-serialize/invalid
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/.dirs/runtime
1035s ok 4 /gdbus/message-serialize/header-checks
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/double-array/.dirs/runtime
1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754
1035s ok 5 /gdbus/message-serialize/double-array
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/empty-structure/.dirs/runtime
1035s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing.
1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
1035s ok 6 /gdbus/message-serialize/empty-structure
1035s # Start of header-checks tests
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-serialize/header-checks/valid/.dirs/runtime
1035s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types
1035s ok 7 /gdbus/message-serialize/header-checks/valid
1035s # End of header-checks tests
1035s # End of message-serialize tests
1035s # Start of message-parse tests
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime
1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612
1035s ok 8 /gdbus/message-parse/empty-arrays-of-arrays
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/non-signature-header/.dirs/runtime
1035s ok 9 /gdbus/message-parse/non-signature-header
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-signature-header/.dirs/runtime
1035s ok 10 /gdbus/message-parse/empty-signature-header
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/multiple-signature-header/.dirs/runtime
1035s ok 11 /gdbus/message-parse/multiple-signature-header
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/config
1035s ok - glib/gdbus-serialization.test
1035s # Running test: glib/gnotification.test
1035s ok - glib/gnotification.test
1035s # Running test: glib/gdbus-proxy.test
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/over-long-signature-header/.dirs/runtime
1035s ok 12 /gdbus/message-parse/over-long-signature-header
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-header-nesting/.dirs/runtime
1035s ok 13 /gdbus/message-parse/deep-header-nesting
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/deep-body-nesting/.dirs/runtime
1035s ok 14 /gdbus/message-parse/deep-body-nesting
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/truncated/.dirs/runtime
1035s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected.
1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528
1035s ok 15 /gdbus/message-parse/truncated
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/empty-structure/.dirs/runtime
1035s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing.
1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
1035s ok 16 /gdbus/message-parse/empty-structure
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/missing-header/.dirs/runtime
1035s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error.
1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
1035s ok 17 /gdbus/message-parse/missing-header
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_ZE9NK3/gdbus/message-parse/invalid-header-type/.dirs/runtime
1035s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked.
1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
1035s ok 18 /gdbus/message-parse/invalid-header-type
1035s # End of message-parse tests
1035s # End of gdbus tests
1035s TAP version 14
1035s # random seed: R02Sefe68f81cde2f6469381edeb22442521
1035s 1..2
1035s # Start of gnotification tests
1035s ok 1 /gnotification/basic
1035s ok 2 /gnotification/properties
1035s # End of gnotification tests
1035s TAP version 14
1035s # random seed: R02S7d16f7c4f1259e2742689e2e3fe9f960
1035s 1..5
1035s # Start of gdbus tests
1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/home
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/cache
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/system-config2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/config
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/system-data2
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/data
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/state
1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/.dirs/runtime
1037s # Executing: glib/gdbus-proxy.test
1037s ok 1 /gdbus/proxy
1037s # slow test /gdbus/proxy executed in 1.71 secs
1037s # Start of proxy tests
1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/home
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/cache
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/system-config2
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/config
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/system-data2
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/data
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/state
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-properties/.dirs/runtime
1037s ok 2 /gdbus/proxy/no-properties
1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/home
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/cache
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/system-config2
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/config
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/system-data2
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/data
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/state
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/wellknown-noauto/.dirs/runtime
1037s ok 3 /gdbus/proxy/wellknown-noauto
1037s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/home
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/cache
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/system-config2
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/config
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/system-data2
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/data
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/state
1037s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/async/.dirs/runtime
1039s ok 4 /gdbus/proxy/async
1039s # slow test /gdbus/proxy/async executed in 1.71 secs
1039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/home
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/cache
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/system-config2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/config
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/system-data2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/data
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/state
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_K8OOK3/gdbus/proxy/no-match-rule/.dirs/runtime
1039s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works
1039s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109
1040s ok 5 /gdbus/proxy/no-match-rule
1040s # slow test /gdbus/proxy/no-match-rule executed in 1.71 secs
1040s # End of proxy tests
1040s # End of gdbus tests
1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1040s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1040s ok - glib/gdbus-proxy.test
1040s # Running test: glib/objects-refcount2.test
1040s TAP version 14
1040s # random seed: R02S4ce228bcf013cf1f0be6698dc3c896e0
1040s 1..1
1040s # Start of gobject tests
1040s # Start of refcount tests
1040s # init 0x5d38c8e28d70
1040s #
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1040s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1041s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # Executing: glib/objects-refcount2.test
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1042s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s # .
1043s ok - glib/objects-refcount2.test
1043s # .
1043s # dispose 0x5d38c8e28d70!
1043s #
1043s ok 1 /gobject/refcount/object-advanced
1043s # slow test /gobject/refcount/object-advanced executed in 2.24 secs
1043s # End of refcount tests
1043s # End of gobject tests
1043s # Running test: glib/gdbus-method-invocation.test
1043s TAP version 14
1043s # random seed: R02S91f8ef2d5762dfdccb28e0010ca7755a
1043s 1..1
1043s # Start of gdbus tests
1043s # Start of method-invocation tests
1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/home
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/cache
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/system-config2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/config
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/system-data2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/data
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/state
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_WKDGK3/gdbus/method-invocation/return/.dirs/runtime
1043s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways
1043s # Calling org.freedesktop.DBus.Properties.Get
1043s # Calling org.freedesktop.DBus.Properties.Get
1043s # Calling org.freedesktop.DBus.Properties.Get
1043s # Calling org.freedesktop.DBus.Properties.Set
1043s # Calling org.freedesktop.DBus.Properties.GetAll
1043s # Calling org.example.Foo.WrongReturnType
1043s # Calling org.example.Foo.GetFDs
1043s # Calling org.example.Foo.GetFDs
1043s # Calling org.example.Foo.ReturnError
1043s # Calling org.example.Foo.CloseBeforeReturning
1043s ok 1 /gdbus/method-invocation/return
1043s # End of method-invocation tests
1043s # End of gdbus tests
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s ok - glib/gdbus-method-invocation.test
1043s # Running test: glib/autoptr.test
1043s TAP version 14
1043s # random seed: R02S7be13387268e7623143cb5337dc83abe
1043s 1..6
1043s # Start of autoptr tests
1043s ok 1 /autoptr/autoptr
1043s ok 2 /autoptr/autoptr_steal
1043s ok 3 /autoptr/autolist
1043s ok 4 /autoptr/autoslist
1043s ok 5 /autoptr/autoqueue
1043s ok 6 /autoptr/autoclass
1043s # End of autoptr tests
1043s ok - glib/autoptr.test
1043s # Running test: glib/socket-listener.test
1043s TAP version 14
1043s # random seed: R02Scd405512105b03eb082fc26a70bd24f8
1043s 1..4
1043s # Start of socket-listener tests
1043s ok 1 /socket-listener/event-signal
1043s # Start of accept tests
1043s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works
1043s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739
1043s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
1043s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64208b4434d0 and GSocketClientAsyncConnectData 0x64208b43e970
1043s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1043s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64208b445b60 and GSocketClientAsyncConnectData 0x64208b4459b0
1043s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1043s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64208b446380 and GSocketClientAsyncConnectData 0x64208b446100
1043s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1043s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64208b446c00 and GSocketClientAsyncConnectData 0x64208b446980
1043s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1043s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x64208b447420 and GSocketClientAsyncConnectData 0x64208b4471a0
1043s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1043s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1043s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64208b449960 for GSocketClientAsyncConnectData 0x64208b43e970
1043s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1043s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1043s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64208b44bad0 for GSocketClientAsyncConnectData 0x64208b4459b0
1043s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1043s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1043s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64208b44c280 for GSocketClientAsyncConnectData 0x64208b446100
1043s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1043s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1043s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64208b44c920 for GSocketClientAsyncConnectData 0x64208b446980
1043s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1043s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1043s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x64208b449000 for GSocketClientAsyncConnectData 0x64208b4471a0
1043s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1043s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1043s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1043s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1043s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1043s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1043s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1043s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1043s ok - glib/socket-listener.test
1043s # Running test: glib/memory-monitor-poll.test
1043s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1043s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1043s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1043s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1043s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1043s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1043s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1043s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1043s ok 2 /socket-listener/accept/multi-simultaneously
1043s # End of accept tests
1043s # Start of add-any-inet-port tests
1043s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds
1043s # Test 0
1043s # Test 1
1043s # Test 2
1043s # Test 3
1043s # Test 4
1043s # Test 5
1043s # Test 6
1043s # Test 7
1043s # Test 8
1043s # Test 9
1043s # Test 10
1043s ok 3 /socket-listener/add-any-inet-port/listen-failures
1043s # End of add-any-inet-port tests
1043s # Start of add-inet-port tests
1043s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds
1043s # Test 0
1043s # Test 1
1043s # Test 2
1043s # Test 3
1043s # Test 4
1043s # Test 5
1043s # Test 6
1043s # Test 7
1043s # Test 8
1043s # Test 9
1043s # Test 10
1043s ok 4 /socket-listener/add-inet-port/listen-failures
1043s # End of add-inet-port tests
1043s # End of socket-listener tests
1043s TAP version 14
1043s # random seed: R02S1321d0664682a7c2a46de149e574d98b
1043s 1..4
1043s # Start of memory-monitor-poll tests
1043s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’
1043s ok 1 /memory-monitor-poll/dup-default
1043s # GLib-GIO-DEBUG: memory free ratio 0.190000
1043s # GLib-GIO-DEBUG: Send low memory signal with warning level 2
1043s ok 2 /memory-monitor-poll/critical-event
1043s # GLib-GIO-DEBUG: memory free ratio 0.290000
1043s # GLib-GIO-DEBUG: Send low memory signal with warning level 1
1043s ok 3 /memory-monitor-poll/medium-event
1043s # GLib-GIO-DEBUG: memory free ratio 0.390000
1043s # GLib-GIO-DEBUG: Send low memory signal with warning level 0
1043s ok 4 /memory-monitor-poll/low-event
1043s # End of memory-monitor-poll tests
1043s ok - glib/memory-monitor-poll.test
1043s # Running test: glib/closure.test
1043s TAP version 14
1043s # random seed: R02Sa07d2ceb0cf5ce8d21f2b67c6a5a5b5d
1043s 1..6
1043s # Start of closure tests
1043s ok 1 /closure/idle
1043s ok 2 /closure/timeout
1043s ok 3 /closure/iochannel
1043s ok 4 /closure/child
1043s ok 5 /closure/fd
1043s ok 6 /closure/signal
1043s # End of closure tests
1043s ok - glib/closure.test
1043s # Running test: glib/strfuncs.test
1043s TAP version 14
1043s # random seed: R02Sb769e6490aa3efb8cfbb9e0c1b5031d9
1043s 1..51
1043s # Start of strfuncs tests
1043s ok 1 /strfuncs/ascii-strcasecmp
1043s ok 2 /strfuncs/ascii_strdown
1043s ok 3 /strfuncs/ascii_strdup
1043s ok 4 /strfuncs/ascii_strtod
1043s ok 5 /strfuncs/bounds-check
1043s ok 6 /strfuncs/has-prefix
1043s ok 7 /strfuncs/has-prefix-macro
1043s ok 8 /strfuncs/has-suffix
1043s ok 9 /strfuncs/has-suffix-macro
1043s ok 10 /strfuncs/memdup
1043s ok 11 /strfuncs/memdup2
1043s ok 12 /strfuncs/set_str
1043s ok 13 /strfuncs/stpcpy
1043s ok 14 /strfuncs/str_match_string
1043s ok - glib/strfuncs.test
1043s ok 15 /strfuncs/str_tokenize_and_fold
1043s ok 16 /strfuncs/strcanon
1043s ok 17 /strfuncs/strchomp
1043s ok 18 /strfuncs/strchug
1043s ok 19 /strfuncs/strcompress-strescape
1043s ok 20 /strfuncs/strconcat
1043s ok 21 /strfuncs/strdelimit
1043s ok 22 /strfuncs/strdup
1043s ok 23 /strfuncs/strdup-printf
1043s ok 24 /strfuncs/strdupv
1043s ok 25 /strfuncs/strerror
1043s ok 26 /strfuncs/strip-context
1043s ok 27 /strfuncs/strjoin
1043s ok 28 /strfuncs/strjoinv
1043s ok 29 /strfuncs/strlcat
1043s ok 30 /strfuncs/strlcpy
1043s ok 31 /strfuncs/strncasecmp
1043s ok 32 /strfuncs/strndup
1043s ok 33 /strfuncs/strnfill
1043s ok 34 /strfuncs/strreverse
1043s ok 35 /strfuncs/strsignal
1043s ok 36 /strfuncs/strsplit
1043s ok 37 /strfuncs/strsplit-set
1043s ok 38 /strfuncs/strstr
1043s ok 39 /strfuncs/strtod
1043s ok 40 /strfuncs/strtoull-strtoll
1043s ok 41 /strfuncs/strup
1043s ok 42 /strfuncs/strv-contains
1043s ok 43 /strfuncs/strv-equal
1043s ok 44 /strfuncs/strv-length
1043s ok 45 /strfuncs/test-is-to-digit
1043s ok 46 /strfuncs/transliteration
1043s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal()
1043s ok 47 /strfuncs/str-equal
1043s ok 48 /strfuncs/str-is-ascii
1043s # Start of ascii-string-to-num tests
1043s ok 49 /strfuncs/ascii-string-to-num/pathological
1043s ok 50 /strfuncs/ascii-string-to-num/usual
1043s # End of ascii-string-to-num tests
1043s # Start of strdup tests
1043s ok 51 /strfuncs/strdup/inline
1043s # End of strdup tests
1043s # End of strfuncs tests
1043s # Running test: glib/enums.test
1043s TAP version 14
1043s # random seed: R02Sf128a2ec283bce3a9bb9c13422d7ece5
1043s 1..4
1043s # Start of enum tests
1043s ok 1 /enum/basic
1043s ok 2 /enum/define-type
1043s # End of enum tests
1043s # Start of flags tests
1043s ok 3 /flags/basic
1043s ok 4 /flags/define-type
1043s # End of flags tests
1043s ok - glib/enums.test
1043s # Running test: glib/gutils-user-database.test
1043s TAP version 14
1043s # random seed: R02S4e1f08a938a6cba125b2d1b1d6775b6f
1043s 1..1
1043s # Start of gutils tests
1043s ok 1 /gutils/get_user_database_entry
1043s # End of gutils tests
1043s ok - glib/gutils-user-database.test
1043s # Running test: glib/memory-output-stream.test
1043s TAP version 14
1043s # random seed: R02S9b5f65e77b423a1737b3b47b82fa7f2d
1043s 1..10
1043s # Start of memory-output-stream tests
1043s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423
1043s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080
1043s ok 1 /memory-output-stream/truncate
1043s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459
1043s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461
1043s ok 2 /memory-output-stream/get-data-size
1043s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733
1043s ok 3 /memory-output-stream/properties
1043s ok 4 /memory-output-stream/write-bytes
1043s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471
1043s ok 5 /memory-output-stream/write-null
1043s ok 6 /memory-output-stream/writev
1043s ok 7 /memory-output-stream/writev_nonblocking
1043s ok 8 /memory-output-stream/steal_as_bytes
1043s # Start of seek tests
1043s ok 9 /memory-output-stream/seek/fixed
1043s ok - glib/memory-output-stream.test
1043s ok 10 /memory-output-stream/seek/resizable
1043s # End of seek tests
1043s # End of memory-output-stream tests
1043s # Running test: glib/gdbus-proxy-unique-name.test
1043s TAP version 14
1043s # random seed: R02S0daa1d9945271027a6558c28866afdec
1043s 1..1
1043s # Start of gdbus tests
1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/home
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/cache
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/system-config2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/config
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/system-data2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/data
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/state
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_GWT9J3/gdbus/proxy-unique-name/.dirs/runtime
1043s ok - glib/gdbus-proxy-unique-name.test
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1043s ok 1 /gdbus/proxy-unique-name
1043s # End of gdbus tests
1043s # Running test: glib/filenamecompleter.test
1043s TAP version 14
1043s # random seed: R02Sb3aeef35136516435ac7771f5e7e38ab
1043s 1..1
1043s # Start of filenamecompleter tests
1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/home
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/cache
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/system-config2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/config
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/system-data2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/data
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/state
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_MLCAK3/filenamecompleter/basic/.dirs/runtime
1043s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1043s ok 1 /filenamecompleter/basic
1043s # End of filenamecompleter tests
1043s ok - glib/filenamecompleter.test
1043s # Running test: glib/gdbus-export.test
1043s TAP version 14
1043s # random seed: R02S625b3652ec22ef7a39508ab21ebece83
1043s 1..7
1043s # Start of gdbus tests
1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/home
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/cache
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/system-config2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/config
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/system-data2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/data
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/state
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4589J3/gdbus/object-registration/.dirs/runtime
1043s ok 1 /gdbus/object-registration
1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/home
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/cache
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/system-config2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/config
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/system-data2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/data
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/state
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures/.dirs/runtime
1043s ok 2 /gdbus/object-registration-with-closures
1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/home
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/cache
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/system-config2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/config
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/system-data2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/data
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/state
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4589J3/gdbus/object-registration-with-closures2/.dirs/runtime
1043s ok 3 /gdbus/object-registration-with-closures2
1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/home
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/cache
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/system-config2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/config
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/system-data2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/data
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/state
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4589J3/gdbus/registered-interfaces/.dirs/runtime
1043s ok 4 /gdbus/registered-interfaces
1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/home
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/cache
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/system-config2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/config
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/system-data2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/data
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/state
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4589J3/gdbus/async-properties/.dirs/runtime
1043s ok 5 /gdbus/async-properties
1043s # Start of threaded-unregistration tests
1043s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/home
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/cache
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/system-config2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/config
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/system-data2
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/data
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/state
1043s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/object/.dirs/runtime
1043s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
1043s # /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
1044s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test
1044s # slow test /gdbus/threaded-unregistration/object executed in 0.75 secs
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_4589J3/gdbus/threaded-unregistration/subtree/.dirs/runtime
1044s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
1044s # /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
1044s ok - glib/gdbus-export.test
1044s # Running test: glib/io-channel.test
1044s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test
1044s # slow test /gdbus/threaded-unregistration/subtree executed in 0.75 secs
1044s # End of threaded-unregistration tests
1044s # End of gdbus tests
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s TAP version 14
1044s # random seed: R02S99088f2149b0234f1ed1741d6ba756d4
1044s 1..2
1044s # Start of io-channel tests
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_8YGLK3/io-channel/read-write/.dirs/runtime
1044s # Line one
1044s #
1044s # Line two
1044s #
1044s # Line three
1044s #
1044s # /* Hello */
1044s #
1044s # \x1234\x567890\x6666
1044s #
1044s # read 62 bytes, wrote 62 bytes
1044s ok 1 /io-channel/read-write
1044s # Start of read-line tests
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/home
1044s ok - glib/io-channel.test
1044s # Running test: glib/bytes.test
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_8YGLK3/io-channel/read-line/embedded-nuls/.dirs/runtime
1044s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators.
1044s ok 2 /io-channel/read-line/embedded-nuls
1044s # End of read-line tests
1044s # End of io-channel tests
1044s TAP version 14
1044s # random seed: R02S76b2438168839f342233b85adc553958
1044s 1..21
1044s # Start of bytes tests
1044s ok 1 /bytes/new
1044s ok 2 /bytes/new-take
1044s ok 3 /bytes/new-static
1044s ok 4 /bytes/new-with-free-func
1044s ok 5 /bytes/new-from-bytes
1044s ok 6 /bytes/new-from-bytes-slice
1044s ok 7 /bytes/new-from-bytes-shared-ref
1044s ok 8 /bytes/hash
1044s ok 9 /bytes/equal
1044s ok 10 /bytes/compare
1044s ok 11 /bytes/null
1044s ok 12 /bytes/get-region
1044s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op
1044s ok 13 /bytes/unref-null
1044s # Start of to-data tests
1044s ok 14 /bytes/to-data/transferred
1044s ok 15 /bytes/to-data/two-refs
1044s ok 16 /bytes/to-data/non-malloc
1044s ok 17 /bytes/to-data/different-free-func
1044s # End of to-data tests
1044s # Start of to-array tests
1044s ok 18 /bytes/to-array/transferred
1044s ok 19 /bytes/to-array/two-refs
1044s ok 20 /bytes/to-array/non-malloc
1044s # Start of transferred tests
1044s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected
1044s ok 21 /bytes/to-array/transferred/oversize
1044s # End of transferred tests
1044s # End of to-array tests
1044s # End of bytes tests
1044s TAP version 14
1044s # random seed: R02Se92d92e46e82dcf3c6e021f6b852aed8
1044s 1..9
1044s # Start of gdbus tests
1044s # Start of connection tests
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/bus-failure/.dirs/runtime
1044s ok 1 /gdbus/connection/bus-failure
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/basic/.dirs/runtime
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok - glib/bytes.test
1044s # Running test: glib/gdbus-connection.test
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok 2 /gdbus/connection/basic
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/life-cycle/.dirs/runtime
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok 3 /gdbus/connection/life-cycle
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/send/.dirs/runtime
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok 4 /gdbus/connection/send
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signals/.dirs/runtime
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok 5 /gdbus/connection/signals
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/signal-match-rules/.dirs/runtime
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok 6 /gdbus/connection/signal-match-rules
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/filter/.dirs/runtime
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok 7 /gdbus/connection/filter
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/serials/.dirs/runtime
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok 8 /gdbus/connection/serials
1044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/home
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/cache
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/system-config2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/config
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/system-data2
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/data
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/state
1044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_MZ0LK3/gdbus/connection/cancel/.dirs/runtime
1044s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok - glib/gdbus-connection.test
1044s # Running test: glib/credentials.test
1044s ok - glib/credentials.test
1044s # Running test: glib/ifaceproperties.test
1044s ok - glib/ifaceproperties.test
1044s # Running test: glib/atomic.test
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1044s ok 9 /gdbus/connection/cancel
1044s # End of connection tests
1044s # End of gdbus tests
1044s TAP version 14
1044s # random seed: R02Sd3cf498e9dd027952833047f69edaab8
1044s 1..1
1044s # Start of credentials tests
1044s # GCredentials:linux-ucred:pid=33302,uid=1000,gid=1000
1044s # GCredentials:linux-ucred:pid=33302,uid=0,gid=1000
1044s ok 1 /credentials/basic
1044s # End of credentials tests
1044s TAP version 14
1044s # random seed: R02S7379dd2088abbd189dcf0968818661e9
1044s 1..7
1044s # Start of interface tests
1044s # Start of properties tests
1044s ok 1 /interface/properties/set
1044s ok 2 /interface/properties/notify
1044s ok 3 /interface/properties/find-overridden
1044s ok 4 /interface/properties/list-overridden
1044s ok 5 /interface/properties/find-interface
1044s ok 6 /interface/properties/list-interface
1044s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738
1044s ok 7 /interface/properties/not-overridden
1044s # End of properties tests
1044s # End of interface tests
1044s TAP version 14
1044s # random seed: R02Sfa572a68b9efa81303eaed6fffe12084
1044s 1..2
1044s # Start of atomic tests
1044s ok 1 /atomic/types
1044s ok - glib/atomic.test
1044s ok 2 /atomic/threaded
1044s # End of atomic tests
1044s # Running test: glib/spawn-multithreaded.test
1044s TAP version 14
1044s # random seed: R02S9c757b919f03ce46c7800d699f188533
1044s 1..4
1044s # Start of gthread tests
1045s # Child 33320 (ttl 1) exited, status 0
1046s # Child 33321 (ttl 2) exited, status 0
1046s ok 1 /gthread/spawn-childs
1046s # slow test /gthread/spawn-childs executed in 2.00 secs
1046s # Created pid: 33325 (ttl 2)
1046s # Created pid: 33326 (ttl 1)
1047s # Executing: glib/spawn-multithreaded.test
1047s # Child 33326 (ttl 1) exited, status 0
1048s # Child 33325 (ttl 2) exited, status 0
1048s ok 2 /gthread/spawn-childs-threads
1048s # slow test /gthread/spawn-childs-threads executed in 2.00 secs
1048s ok 3 /gthread/spawn-sync
1048s ok 4 /gthread/spawn-async
1048s # End of gthread tests
1048s ok - glib/spawn-multithreaded.test
1048s # Running test: glib/atomic-c-99.test
1048s TAP version 14
1048s # random seed: R02S11fcaf3433d9378946b4bf3d65a68df3
1048s 1..2
1048s # Start of atomic tests
1048s ok 1 /atomic/types
1048s ok - glib/atomic-c-99.test
1048s ok 2 /atomic/threaded
1048s # End of atomic tests
1048s # Running test: glib/refstring.test
1048s TAP version 14
1048s # random seed: R02S14db8d8203f95d94f14927653a4a56db
1048s 1..8
1048s # Start of refstring tests
1048s # s = 'hello, world' (0x5d69c1eda2c0)
1048s ok 1 /refstring/base
1048s ok 2 /refstring/length
1048s ok 3 /refstring/length-auto
1048s ok 4 /refstring/length-nuls
1048s # s = 'hello, world' (0x5d69c1eda160)
1048s # p = s = 'hello, world' (0x5d69c1eda160)
1048s # releasing p[0x5d69c1eda160] ('hello, world')
1048s # p = 'goodbye, world' (0x5d69c1eda2c0)
1048s # releasing p[0x5d69c1eda2c0] ('goodbye, world')
1048s # releasing s[0x5d69c1eda160] ('hello, world')
1048s ok 5 /refstring/intern
1048s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable
1048s ok 6 /refstring/hash_equal
1048s # /refstring/equal summary: Test g_ref_string_equal() standalone
1048s ok 7 /refstring/equal
1049s ok - glib/refstring.test
1049s ok 8 /refstring/intern-thread-safety
1049s # End of refstring tests
1049s # Running test: glib/module-test-library.test
1049s TAP version 14
1049s # random seed: R02S0ffeb00a05a6a2c29a8fb8c514d98582
1049s 1..3
1049s # Start of module tests
1049s ok 1 /module/basics
1049s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
1049s ok 2 /module/invalid-libtool-archive
1049s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
1049s ok 3 /module/local-binding
1049s # End of module tests
1049s ok - glib/module-test-library.test
1049s # Running test: glib/gdbus-message.test
1049s TAP version 14
1049s # random seed: R02Sda4103bf5fc2c7b9846495cfe014dfd8
1049s 1..3
1049s # Start of gdbus tests
1049s # Start of message tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_11WDK3/gdbus/message/lock/.dirs/runtime
1049s ok 1 /gdbus/message/lock
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/cache
1049s ok - glib/gdbus-message.test
1049s # Running test: glib/pathbuf.test
1049s ok - glib/pathbuf.test
1049s # Running test: glib/gdbus-server-auth.test
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_11WDK3/gdbus/message/copy/.dirs/runtime
1049s ok 2 /gdbus/message/copy
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_11WDK3/gdbus/message/bytes-needed/.dirs/runtime
1049s # Vector: 0
1049s # Vector: 1
1049s # Vector: 2
1049s # Vector: 3
1049s # Vector: 4
1049s # Vector: 5
1049s ok 3 /gdbus/message/bytes-needed
1049s # End of message tests
1049s # End of gdbus tests
1049s TAP version 14
1049s # random seed: R02Sde0a268f8b038d32d16cb1551706b80a
1049s 1..3
1049s # Start of pathbuf tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WUVDK3/pathbuf/init/.dirs/runtime
1049s # Initializing empty path buf
1049s # Initializing with empty path
1049s # Initializing with full path
1049s # Initializing with no path
1049s # Allocating GPathBuf on the heap
1049s ok 1 /pathbuf/init
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WUVDK3/pathbuf/push-pop/.dirs/runtime
1049s # Pushing relative path component
1049s # Pushing absolute path component
1049s # Popping a path component
1049s # Can't pop the last element of a path buffer
1049s ok 2 /pathbuf/push-pop
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WUVDK3/pathbuf/filename-extension/.dirs/runtime
1049s ok 3 /pathbuf/filename-extension
1049s # End of pathbuf tests
1049s TAP version 14
1049s # random seed: R02Sd537ad3389c4c3789ab420f32d2e7123
1049s 1..9
1049s # Start of gdbus tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/.dirs/runtime
1049s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-JKRDK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
1049s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-JKRDK3/dbus-uemvh4Px
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 33368
1049s ok 1 /gdbus/server-auth
1049s # Start of server-auth tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/abstract/.dirs/runtime
1049s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-BJAEK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
1049s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-BJAEK3/dbus-5JFtvPOF
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1049s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1049s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 33368
1049s ok 2 /gdbus/server-auth/abstract
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/tcp/.dirs/runtime
1049s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
1049s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/.dirs/runtime
1049s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-OL4DK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
1049s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-OL4DK3/dbus-Lsus6090
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 33368
1049s ok 4 /gdbus/server-auth/anonymous
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/.dirs/runtime
1049s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-J2IEK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1049s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-J2IEK3/dbus-XEvIh2fB
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 33368
1049s ok 5 /gdbus/server-auth/external
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/.dirs/runtime
1049s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-ACEEK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
1049s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1049s # Start of anonymous tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime
1049s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
1049s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1049s # End of anonymous tests
1049s # Start of external tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/external/require-same-user/.dirs/runtime
1049s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-NPDEK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1049s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_88RDK3/gdbus-server-auth-NPDEK3/dbus-8hUSpKIS
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s ok - glib/gdbus-server-auth.test
1049s # Running test: glib/gdbus-error.test
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 33368
1049s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1049s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1049s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1049s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=33368,uid=1000,gid=1000
1049s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 33368
1049s ok 8 /gdbus/server-auth/external/require-same-user
1049s # End of external tests
1049s # Start of sha1 tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_88RDK3/gdbus/server-auth/sha1/tcp/.dirs/runtime
1049s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
1049s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
1049s # End of sha1 tests
1049s # End of server-auth tests
1049s # End of gdbus tests
1049s TAP version 14
1049s # random seed: R02S1f91be2dbb7db1dd8eb7974077b2630b
1049s 1..4
1049s # Start of gdbus tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZRB9J3/gdbus/registered-errors/.dirs/runtime
1049s ok - glib/gdbus-error.test
1049s # Running test: glib/gi-inspect-typelib.py.test
1049s ok 1 /gdbus/registered-errors
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZRB9J3/gdbus/unregistered-errors/.dirs/runtime
1049s ok 2 /gdbus/unregistered-errors
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZRB9J3/gdbus/transparent-gerror/.dirs/runtime
1049s ok 3 /gdbus/transparent-gerror
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZRB9J3/gdbus/register-error/.dirs/runtime
1049s ok 4 /gdbus/register-error
1049s # End of gdbus tests
1049s TAP version 13
1049s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmpe6rrza5i
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--help']
1049s # Return code: 0
1049s # Output:
1049s # Usage:
1049s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib
1049s #
1049s # Help Options:
1049s # -h, --help Show help options
1049s #
1049s # Application Options:
1049s # --typelib-version=VERSION Typelib version to inspect
1049s # --print-shlibs List the shared libraries the typelib requires
1049s # --print-typelibs List other typelibs the inspected typelib requires
1049s # Error:
1049s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmpw4rjqcy5
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace']
1049s # Return code: 1
1049s # Output:
1049s #
1049s # Error:
1049s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found
1049s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmpuj8ozlb0
1049s # Running: ['/usr/bin/gi-inspect-typelib']
1049s # Return code: 1
1049s # Output:
1049s #
1049s # Error:
1049s # Please specify exactly one namespace
1049s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmp3psp6wil
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0']
1049s # Return code: 0
1049s # Output:
1049s # shlib: libgobject-2.0.so.0
1049s # shlib: libglib-2.0.so.0
1049s # Error:
1049s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmpjcgdz6xr
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0']
1049s # Return code: 0
1049s # Output:
1049s #
1049s # Error:
1049s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmp6w0om6d5
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0']
1049s # Return code: 0
1049s # Output:
1049s # shlib: libgobject-2.0.so.0
1049s # shlib: libglib-2.0.so.0
1049s # Error:
1049s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmp9nr3j8y8
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0']
1049s # Return code: 0
1049s # Output:
1049s # shlib: libgobject-2.0.so.0
1049s # Error:
1049s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmpt1t34xfe
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0']
1049s # Return code: 0
1049s # Output:
1049s # typelib: GLib-2.0
1049s # Error:
1049s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmptil9v1dk
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0']
1049s # Return code: 0
1049s # Output:
1049s # shlib: libgobject-2.0.so.0
1049s # typelib: GLib-2.0
1049s # Error:
1049s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmp0aos8a3j
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0']
1049s # Return code: 0
1049s # Output:
1049s # shlib: libgio-2.0.so.0
1049s # Error:
1049s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmpgld305an
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0']
1049s # Return code: 0
1049s # Output:
1049s # typelib: GObject-2.0
1049s # typelib: GLib-2.0
1049s # typelib: GModule-2.0
1049s # Error:
1049s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs
1049s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
1049s # tmpdir: /tmp/tmpglijt0ic
1049s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0']
1049s # Return code: 0
1049s # Output:
1049s # shlib: libgio-2.0.so.0
1049s # typelib: GObject-2.0
1049s # typelib: GLib-2.0
1049s # typelib: GModule-2.0
1049s # Error:
1049s 1..12
1049s ok - glib/gi-inspect-typelib.py.test
1049s # Running test: glib/contexts.test
1049s TAP version 14
1049s # random seed: R02S0f4b0a215d4b990641abd520cb552961
1049s 1..5
1049s # Start of gio tests
1049s # Start of contexts tests
1049s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1049s ok 1 /gio/contexts/thread-independence
1049s ok 2 /gio/contexts/context-independence
1049s # Start of context-specific tests
1049s ok 3 /gio/contexts/context-specific/identity
1049s ok 4 /gio/contexts/context-specific/emit
1049s ok - glib/contexts.test
1049s ok 5 /gio/contexts/context-specific/emit-and-unref
1049s # End of context-specific tests
1049s # End of contexts tests
1049s # End of gio tests
1049s # Running test: glib/collate.test
1049s TAP version 14
1049s # random seed: R02S1b0aa4c46806fc75d20e8f94147fb523
1049s 1..9
1049s # Start of unicode tests
1049s # Start of collate tests
1049s ok 1 /unicode/collate/0
1049s ok 2 /unicode/collate/1
1049s ok 3 /unicode/collate/2
1049s # End of collate tests
1049s # Start of collate-key tests
1049s ok 4 /unicode/collate-key/0
1049s ok - glib/collate.test
1049s ok 5 /unicode/collate-key/1
1049s ok 6 /unicode/collate-key/2
1049s # End of collate-key tests
1049s # Start of collate-filename tests
1049s ok 7 /unicode/collate-filename/0
1049s ok 8 /unicode/collate-filename/1
1049s ok 9 /unicode/collate-filename/2
1049s # End of collate-filename tests
1049s # End of unicode tests
1049s # Running test: glib/dynamictests.test
1049s TAP version 14
1049s # random seed: R02Sd4fa41481b16ec3b0f5feaecc853323e
1049s 1..2
1049s # Start of GObject tests
1049s ok - glib/dynamictests.test
1049s # Running test: glib/file-thumbnail.test
1049s ok 1 /GObject/threaded-dynamic-ref-unref-init
1049s ok 2 /GObject/dynamic-interface-properties
1049s # End of GObject tests
1049s TAP version 14
1049s # random seed: R02Se3b172a5c288efafa470f41868f0243c
1049s 1..7
1049s # Start of file-thumbnail tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/runtime
1049s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
1049s ok 1 /file-thumbnail/fail
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/runtime
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
1049s ok - glib/file-thumbnail.test
1049s ok 2 /file-thumbnail/size-priority
1049s # Start of valid tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/runtime
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
1049s ok 3 /file-thumbnail/valid/normal
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/runtime
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
1049s ok 4 /file-thumbnail/valid/large
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/runtime
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
1049s ok 5 /file-thumbnail/valid/x-large
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/runtime
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
1049s ok 6 /file-thumbnail/valid/xx-large
1049s # End of valid tests
1049s # Start of unknown tests
1049s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/home
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/cache
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/system-config2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/config
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/system-data2
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/data
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/state
1049s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/runtime
1049s # Created test thumbnail at /tmp/test_file-thumbnail_22NBK3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png
1049s ok 7 /file-thumbnail/unknown/super-large
1049s # End of unknown tests
1049s # End of file-thumbnail tests
1049s # Running test: glib/testfilemonitor.test
1049s TAP version 14
1049s # random seed: R02Sc4278a3993b0b6e3051f5dcc933c0a1e
1049s ok - glib/testfilemonitor.test
1049s 1..8
1049s # Start of monitor tests
1049s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1049s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1049s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1049s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1049s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1049s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1049s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
1049s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
1049s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1049s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1049s # Start of file tests
1049s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
1049s # End of file tests
1049s # End of monitor tests
1049s # Running test: glib/srvtarget.test
1049s TAP version 14
1049s # random seed: R02S184ab9859413bd1697585e04daa3bff9
1049s 1..1
1049s # Start of srvtarget tests
1049s ok 1 /srvtarget/srv-target-ordering
1049s # End of srvtarget tests
1049s ok - glib/srvtarget.test
1049s # Running test: glib/cmph-bdz.test
1049s TAP version 14
1049s # random seed: R02Sde2313fa22a008fe2fbf00f57a8b09c9
1049s 1..2
1049s # Start of cmph-bdz tests
1049s ok 1 /cmph-bdz/search
1049s ok 2 /cmph-bdz/search-packed
1049s # End of cmph-bdz tests
1049s ok - glib/cmph-bdz.test
1049s # Running test: glib/threadtests.test
1049s TAP version 14
1049s # random seed: R02S0d0468feccb48c2e2dfa70bc346700d1
1049s 1..5
1049s # Start of GObject tests
1049s ok 1 /GObject/threaded-object-init
1050s ok 2 /GObject/threaded-weak-ref
1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394
1050s # /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
1050s ok - glib/threadtests.test
1050s ok 3 /GObject/threaded-toggle-notify
1050s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
1050s # Start of threaded-weak-ref tests
1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1050s # /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.
1050s ok 5 /GObject/threaded-weak-ref/on-finalization
1050s # End of threaded-weak-ref tests
1050s # End of GObject tests
1050s # Running test: glib/cxx.test
1050s TAP version 14
1050s # random seed: R02S6f2c2aec973abb43369697003d265f5c
1050s 1..2
1050s # Start of gtask tests
1050s # 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.
1050s ok 1 /gtask/name
1050s # Start of name tests
1050s # 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.
1050s ok 2 /gtask/name/macro-wrapper
1050s # End of name tests
1050s # End of gtask tests
1050s ok - glib/cxx.test
1050s # Running test: glib/gdbus-non-socket.test
1050s TAP version 14
1050s # random seed: R02S6d844c927f6de6bd4bfb1694f37e74ae
1050s 1..1
1050s # Start of gdbus tests
1050s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/home
1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/cache
1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/system-config2
1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/config
1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/system-data2
1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/data
1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/state
1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_38JAK3/gdbus/non-socket/.dirs/runtime
1050s ok - glib/gdbus-non-socket.test
1050s ok 1 /gdbus/non-socket
1050s # End of gdbus tests
1050s # Running test: glib/mount-operation.test
1050s TAP version 14
1050s # random seed: R02S87291f8cd3a71612b3d494d3463883d7
1050s ok - glib/mount-operation.test
1050s # Running test: glib/ir-parser.test
1050s ok - glib/ir-parser.test
1050s # Running test: glib/private.test
1050s 1..2
1050s # Start of mount-operation tests
1050s ok 1 /mount-operation/construction
1050s ok 2 /mount-operation/properties
1050s # End of mount-operation tests
1050s TAP version 14
1050s # random seed: R02Sf4d4c7e3faa7af6665362fbff29c06f1
1050s 1..1
1050s # Start of ir-parser tests
1050s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG: pushing node 1 dummy
1050s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG: popping node 1 dummy
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG: pushing node 1 dummy
1050s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG: popping node 1 dummy
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG:
1050s # GLib-GIRepository-DEBUG: pushing node 1 dummy
1050s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error [-r ] [-{i|b} ""] [-s #] [-{h|x|y}]
1065s # -r specify root type
1065s # -n don't descend type tree
1065s # -h show help
1065s # -b specify indent string
1065s # -i specify incremental indent string
1065s # -s specify line spacing
1065s # qualifiers:
1065s # froots iterate over fundamental roots
1065s # tree print type tree
1065s # Error:
1065s ok 3 __main__.TestGobjectQuery.test_tree
1065s # gobject-query: /usr/bin/gobject-query
1065s # tmpdir: /tmp/tmpass0c3tj
1065s # Running: ['/usr/bin/gobject-query', 'tree']
1065s # Return code: 0
1065s # Output:
1065s # GObject
1065s # Error:
1065s ok 4 __main__.TestGobjectQuery.test_version
1065s # gobject-query: /usr/bin/gobject-query
1065s # tmpdir: /tmp/tmpzo4pu4g2
1065s # Running: ['/usr/bin/gobject-query', '--version']
1065s # Return code: 0
1065s # Output:
1065s # 2.86.3
1065s # Error:
1065s 1..4
1065s TAP version 14
1065s # random seed: R02S850c4f02a7841172d2ed599ab28b37bb
1065s 1..9
1065s # Start of glib tests
1065s # Start of testing tests
1065s # Start of protocol tests
1065s ok 1 /glib/testing/protocol/debug
1065s ok 2 /glib/testing/protocol/info
1065s ok 3 /glib/testing/protocol/message
1065s ok 4 /glib/testing/protocol/warning
1065s ok 5 /glib/testing/protocol/critical
1065s ok 6 /glib/testing/protocol/error
1065s ok 7 /glib/testing/protocol/gtest-message
1065s # Running test: glib/protocol.test
1065s ok 8 /glib/testing/protocol/test-message
1065s ok - glib/protocol.test
1065s # Running test: glib/reference.test
1065s ok - glib/reference.test
1065s # Running test: glib/spawn-singlethread.test
1065s ok - glib/spawn-singlethread.test
1065s # Running test: glib/utils-c-99.test
1065s ok 9 /glib/testing/protocol/test-error
1065s # End of protocol tests
1065s # End of testing tests
1065s # End of glib tests
1065s TAP version 14
1065s # random seed: R02S8a12ad0018e47a06d9eaa09151e93f6a
1065s 1..29
1065s # Start of type tests
1065s ok 1 /type/fundamentals
1065s ok 2 /type/qdata
1065s ok 3 /type/query
1065s ok 4 /type/class-private
1065s # End of type tests
1065s # Start of object tests
1065s ok 5 /object/clear
1065s ok 6 /object/clear-function
1065s ok 7 /object/set
1065s ok 8 /object/set-function
1065s ok 9 /object/value
1065s ok 10 /object/initially-unowned
1065s ok 11 /object/weak-pointer
1065s ok 12 /object/weak-ref
1065s ok 13 /object/toggle-ref
1065s ok 14 /object/qdata
1065s ok 15 /object/qdata2
1065s # Start of set tests
1065s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject
1065s ok 16 /object/set/derived-type
1065s # End of set tests
1065s # Start of weak-pointer tests
1065s ok 17 /object/weak-pointer/clear
1065s ok 18 /object/weak-pointer/clear-function
1065s ok 19 /object/weak-pointer/set
1065s ok 20 /object/weak-pointer/set-function
1065s # End of weak-pointer tests
1065s # Start of weak-ref tests
1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1065s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared
1065s ok 21 /object/weak-ref/on-dispose
1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865
1065s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose()
1065s ok 22 /object/weak-ref/on-run-dispose
1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1065s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared
1065s ok 23 /object/weak-ref/on-toggle-notify
1065s ok 24 /object/weak-ref/in-toggle-notify
1065s ok 25 /object/weak-ref/many
1065s # Start of concurrent tests
1065s ok 26 /object/weak-ref/concurrent/0
1065s ok 27 /object/weak-ref/concurrent/1
1065s # End of concurrent tests
1065s # End of weak-ref tests
1065s # Start of toggle-ref tests
1065s ok 28 /object/toggle-ref/ref-on-dispose
1065s ok 29 /object/toggle-ref/ref-and-notify-on-dispose
1065s # End of toggle-ref tests
1065s # End of object tests
1065s TAP version 14
1065s # random seed: R02Sea76858bac1fcf6c53ecf85f6b370163
1065s 1..9
1065s # Start of gthread tests
1065s ok 1 /gthread/spawn-single-sync
1065s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket
1065s ok 2 /gthread/spawn-stderr-socket
1065s ok 3 /gthread/spawn-single-async
1065s # thread 1
1065s # thread 1
1065s ok 4 /gthread/spawn-single-async-with-fds
1065s ok 5 /gthread/spawn-async-with-invalid-fds
1065s ok 6 /gthread/spawn-script
1065s ok 7 /gthread/spawn-posix-spawn
1065s # Start of spawn tests
1065s ok 8 /gthread/spawn/nonexistent
1065s # FD map:
1065s # • 5 → 15
1065s # • 6 → 16
1065s # • 7 → 17
1065s # • 8 → 18
1065s # • 9 → 19
1065s # • 10 → 20
1065s # • 11 → 21
1065s # • 12 → 22
1065s # • 13 → 23
1065s # • 3 → 13
1065s ok 9 /gthread/spawn/fd-assignment-clash
1065s # End of spawn tests
1065s # End of gthread tests
1065s TAP version 14
1065s # random seed: R02Se1b83882b2b0807c3bdd72d48c0469bb
1065s 1..41
1065s # Start of utils tests
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/language-names/.dirs/runtime
1065s ok 1 /utils/language-names
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/locale-variants/.dirs/runtime
1065s # Testing locale ‘en’
1065s # Testing locale ‘sr@latin’
1065s # Testing locale ‘fr_BE’
1065s # Testing locale ‘sr_SR@latin’
1065s # Testing locale ‘sr_SR@latin.UTF-8’
1065s # Testing locale ‘sr@latin_invalid’
1065s # Testing locale ‘sr.UTF-8@latin’
1065s # Testing locale ‘sr.UTF-8_latin’
1065s # Testing locale ‘sr.UTF-8@latin_invalid’
1065s ok 2 /utils/locale-variants
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/version/.dirs/runtime
1065s ok 3 /utils/version
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/appname/.dirs/runtime
1065s ok 4 /utils/appname
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/prgname-thread-safety/.dirs/runtime
1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1065s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1065s ok 5 /utils/prgname-thread-safety
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/tmpdir/.dirs/runtime
1065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1065s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1065s Unable to clean up temporary directory /tmp/test_utils-c-99_GXE4J3/utils/tmpdir: No such file or directory
1065s ok 6 /utils/tmpdir
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/basic_bits/.dirs/runtime
1065s ok 7 /utils/basic_bits
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/bits/.dirs/runtime
1065s ok 8 /utils/bits
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/swap/.dirs/runtime
1065s ok 9 /utils/swap
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/find-program/.dirs/runtime
1065s ok 10 /utils/find-program
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/find-program-for-path/.dirs/runtime
1065s ok 11 /utils/find-program-for-path
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/debug/.dirs/runtime
1065s Unable to clean up temporary directory /tmp/test_utils-c-99_GXE4J3/utils/debug: No such file or directory
1065s ok 12 /utils/debug
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/codeset/.dirs/runtime
1065s ok 13 /utils/codeset
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/codeset2/.dirs/runtime
1065s Unable to clean up temporary directory /tmp/test_utils-c-99_GXE4J3/utils/codeset2: No such file or directory
1065s ok 14 /utils/codeset2
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/console-charset/.dirs/runtime
1065s ok 15 /utils/console-charset
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/gettext/.dirs/runtime
1065s ok 16 /utils/gettext
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/username/.dirs/runtime
1065s ok 17 /utils/username
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/realname/.dirs/runtime
1065s ok 18 /utils/realname
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/hostname/.dirs/runtime
1065s ok 19 /utils/hostname
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/os-info/.dirs/runtime
1065s # NAME: Ubuntu
1065s ok 20 /utils/os-info
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/.dirs/runtime
1065s ok 21 /utils/clear-pointer
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer-cast/.dirs/runtime
1065s ok 22 /utils/clear-pointer-cast
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/take-pointer/.dirs/runtime
1065s ok 23 /utils/take-pointer
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/clear-source/.dirs/runtime
1065s ok 24 /utils/clear-source
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/misc-mem/.dirs/runtime
1065s ok 25 /utils/misc-mem
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/.dirs/runtime
1065s # /utils/aligned-mem summary: Aligned memory allocator
1065s # Alignment must not be zero
1065s # Alignment must be a power of two
1065s # Alignment must be a multiple of sizeof(void*)
1065s ok 26 /utils/aligned-mem
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/free-sized/.dirs/runtime
1065s # /utils/free-sized summary: Check that g_free_sized() works
1065s ok 27 /utils/free-sized
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/nullify/.dirs/runtime
1065s ok 28 /utils/nullify
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/atexit/.dirs/runtime
1065s Unable to clean up temporary directory /tmp/test_utils-c-99_GXE4J3/utils/atexit: No such file or directory
1065s ok 29 /utils/atexit
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/check-setuid/.dirs/runtime
1065s ok 30 /utils/check-setuid
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/int-limits/.dirs/runtime
1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1065s ok 31 /utils/int-limits
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/clear-list/.dirs/runtime
1065s ok 32 /utils/clear-list
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/clear-slist/.dirs/runtime
1065s ok 33 /utils/clear-slist
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/steal-handle-id/.dirs/runtime
1065s ok 34 /utils/steal-handle-id
1065s # Start of user-special-dirs tests
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/desktop/.dirs/runtime
1065s ok 35 /utils/user-special-dirs/desktop
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked/.dirs/runtime
1065s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content.
1065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800
1065s Unable to clean up temporary directory /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/load-unlocked: No such file or directory
1065s ok 36 /utils/user-special-dirs/load-unlocked
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks/.dirs/runtime
1065s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload.
1065s Unable to clean up temporary directory /tmp/test_utils-c-99_GXE4J3/utils/user-special-dirs/reload-leaks: No such file or directory
1065s ok 37 /utils/user-special-dirs/reload-leaks
1065s # End of user-special-dirs tests
1065s # Start of clear-pointer tests
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/clear-pointer/side-effects/.dirs/runtime
1065s ok 38 /utils/clear-pointer/side-effects
1065s # End of clear-pointer tests
1065s # Start of aligned-mem tests
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/alignment/.dirs/runtime
1065s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1065s ok 39 /utils/aligned-mem/alignment
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/zeroed/.dirs/runtime
1065s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1065s ok 40 /utils/aligned-mem/zeroed
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_GXE4J3/utils/aligned-mem/free-sized/.dirs/runtime
1065s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1065s ok 41 /utils/aligned-mem/free-sized
1065s # Start of subprocess tests
1065s # End of subprocess tests
1065s # End of aligned-mem tests
1065s # End of utils tests
1065s TAP version 14
1065s # random seed: R02S6e7ddbaa703c3b135bca1ed977f73e63
1065s 1..7
1065s # Start of strvbuilder tests
1065s ok 1 /strvbuilder/empty
1065s ok 2 /strvbuilder/add
1065s ok 3 /strvbuilder/addv
1065s ok 4 /strvbuilder/add_many
1065s ok 5 /strvbuilder/take
1065s ok 6 /strvbuilder/ref
1065s ok 7 /strvbuilder/unref_to_strv
1065s # End of strvbuilder tests
1065s TAP version 14
1065s # random seed: R02Sc0f1c93100ff5d769f857cfed5160e34
1065s 1..42
1065s # Start of tls-interaction tests
1065s # Start of ask-password tests
1065s # Start of invoke-with-loop tests
1065s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation
1065s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success
1065s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure
1065s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success
1065s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure
1065s # End of invoke-with-loop tests
1065s # Start of invoke-without-loop tests
1065s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation
1065s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success
1065s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure
1065s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success
1065s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure
1065s # End of invoke-without-loop tests
1065s # Start of invoke-in-loop tests
1065s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation
1065s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success
1065s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure
1065s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success
1065s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure
1065s # End of invoke-in-loop tests
1065s # Start of sync tests
1065s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation
1065s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success
1065s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure
1065s # End of sync tests
1065s # Start of async tests
1065s ok 19 /tls-interaction/ask-password/async/unhandled-implementation
1065s ok 20 /tls-interaction/ask-password/async/async-implementation-success
1065s ok 21 /tls-interaction/ask-password/async/async-implementation-failure
1065s # End of async tests
1065s # End of ask-password tests
1065s # Start of request-certificate tests
1065s # Start of invoke-with-loop tests
1065s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation
1065s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success
1065s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure
1065s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success
1065s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure
1065s # End of invoke-with-loop tests
1065s # Start of invoke-without-loop tests
1065s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation
1065s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success
1065s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure
1065s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success
1065s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure
1065s # End of invoke-without-loop tests
1065s # Start of invoke-in-loop tests
1065s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation
1065s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success
1065s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure
1065s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success
1065s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure
1065s # End of invoke-in-loop tests
1065s # Start of sync tests
1065s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation
1065s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success
1065s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure
1065s # End of sync tests
1065s # Start of async tests
1065s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation
1065s ok 41 /tls-interaction/request-certificate/async/async-implementation-success
1065s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure
1065s # End of async tests
1065s # End of request-certificate tests
1065s # End of tls-interaction tests
1065s TAP version 13
1065s ok 1 __main__.TestAssertMessage.test_gassert
1065s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
1065s # tmpdir: /tmp/tmpqmpxf456
1065s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test']
1065s # Return code: -6
1065s # Output:
1065s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
1065s # Error:
1065s # **
1065s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
1065s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test!
1065s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
1065s # tmpdir: /tmp/tmpkv9fb44b
1065s 1..2
1065s ok - glib/utils-c-99.test
1065s # Running test: glib/strvbuilder.test
1065s ok - glib/strvbuilder.test
1065s # Running test: glib/tls-interaction.test
1065s ok - glib/tls-interaction.test
1065s # Running test: glib/assert-msg-test.py.test
1065s ok - glib/assert-msg-test.py.test
1065s # Running test: glib/gdbus-peer-object-manager.test
1065s ok - glib/gdbus-peer-object-manager.test
1065s # Running test: glib/objects-refcount1.test
1065s TAP version 14
1065s # random seed: R02Sa68ce805eeaee164b8fbbfb4bffefa7f
1065s 1..2
1065s # Start of gdbus tests
1065s # Start of peer-object-manager tests
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/normal/.dirs/runtime
1065s ok 1 /gdbus/peer-object-manager/normal
1065s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/home
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/cache
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/system-config2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/config
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/system-data2
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/data
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/state
1065s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_UOL5J3/gdbus/peer-object-manager/root/.dirs/runtime
1065s ok 2 /gdbus/peer-object-manager/root
1065s # End of peer-object-manager tests
1065s # End of gdbus tests
1065s TAP version 14
1065s # random seed: R02S930c5ba0d993aaf1b4b365e99b42f746
1065s 1..1
1065s # Start of gobject tests
1065s # Start of refcount tests
1065s # init 0x594150b3cd90
1065s #
1065s # init 0x594150b3cea0
1065s #
1067s # Executing: glib/objects-refcount1.test
1070s ok - glib/objects-refcount1.test
1070s # Running test: glib/socket.test
1070s # dispose 0x594150b3cd90!
1070s #
1070s # dispose 0x594150b3cea0!
1070s #
1070s ok 1 /gobject/refcount/object-basics
1070s # slow test /gobject/refcount/object-basics executed in 5.00 secs
1070s # End of refcount tests
1070s # End of gobject tests
1070s TAP version 14
1070s # random seed: R02Sdeeddaa8e4548622a427ab805c794eff
1070s 1..30
1070s # Start of socket tests
1071s ok 1 /socket/ipv4_sync
1071s # slow test /socket/ipv4_sync executed in 1.00 secs
1072s # Executing: glib/socket.test
1072s ok 2 /socket/ipv4_async
1072s # slow test /socket/ipv4_async executed in 1.00 secs
1072s ok 3 /socket/ipv6_sync
1072s ok 4 /socket/ipv6_async
1072s ok 5 /socket/ipv6_v4mapped
1073s ok 6 /socket/close_graceful
1073s # slow test /socket/close_graceful executed in 1.00 secs
1073s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
1073s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
1073s ok 8 /socket/fd_reuse
1073s ok 9 /socket/address
1073s ok 10 /socket/unix-from-fd
1073s ok 11 /socket/unix-connection
1073s ok 12 /socket/unix-connection-ancillary-data
1073s ok 13 /socket/source-postmortem
1073s ok 14 /socket/read_write
1073s ok 15 /socket/read_writev
1073s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
1073s ok 16 /socket/receive_bytes
1073s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
1073s ok 17 /socket/receive_bytes_from
1073s # Start of ipv4_sync tests
1073s ok 18 /socket/ipv4_sync/datagram
1073s # Start of datagram tests
1074s ok 19 /socket/ipv4_sync/datagram/timeouts
1074s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
1074s # End of datagram tests
1074s # End of ipv4_sync tests
1074s # Start of ipv6_sync tests
1074s ok 20 /socket/ipv6_sync/datagram
1074s # Start of datagram tests
1075s ok 21 /socket/ipv6_sync/datagram/timeouts
1075s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
1075s # End of datagram tests
1075s # End of ipv6_sync tests
1075s # Start of reuse tests
1075s ok 22 /socket/reuse/tcp
1075s ok 23 /socket/reuse/udp
1075s # End of reuse tests
1075s # Start of get_available tests
1075s ok 24 /socket/get_available/datagram
1075s ok 25 /socket/get_available/stream
1075s # End of get_available tests
1075s # Start of credentials tests
1075s # Supported on this OS: GCredentials:linux-ucred:pid=0
1075s ok 26 /socket/credentials/tcp_client
1075s # Supported on this OS: GCredentials:linux-ucred:pid=0
1075s ok 27 /socket/credentials/tcp_server
1075s # Supported on this OS: GCredentials:linux-ucred:pid=38758,uid=1000,gid=1000
1075s ok 28 /socket/credentials/unix_socketpair
1075s # End of credentials tests
1075s # Start of accept tests
1075s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking
1075s ok 29 /socket/accept/cancelled
1075s # End of accept tests
1075s # Start of connect tests
1075s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking
1075s ok 30 /socket/connect/cancelled
1075s # End of connect tests
1075s # End of socket tests
1075s ok - glib/socket.test
1075s # Running test: glib/macros-c-11.test
1075s TAP version 14
1075s # random seed: R02S4f9b487aae675f26ea90af486b255813
1075s 1..4
1075s # Start of C tests
1075s ok 1 /C/standard-11
1075s # End of C tests
1075s # Start of alignof tests
1075s ok 2 /alignof/fallback
1075s # End of alignof tests
1075s # Start of assert tests
1075s ok 3 /assert/static
1075s # End of assert tests
1075s # Start of struct tests
1075s ok 4 /struct/sizeof_member
1075s # End of struct tests
1075s ok - glib/macros-c-11.test
1075s # Running test: glib/socket-address.test
1075s ok - glib/socket-address.test
1075s # Running test: glib/charset.test
1075s ok - glib/charset.test
1075s # Running test: glib/utils.test
1075s TAP version 14
1075s # random seed: R02Sef3b4aa48a42dc9348929d774e2d97ab
1075s 1..2
1075s # Start of socket tests
1075s # Start of address tests
1075s # Start of unix tests
1075s ok 1 /socket/address/unix/construct
1075s ok 2 /socket/address/unix/to-string
1075s # End of unix tests
1075s # End of address tests
1075s # End of socket tests
1075s TAP version 14
1075s # random seed: R02S78c27aa844a66748beb7dc054b443a7c
1075s 1..2
1075s # Start of charset tests
1075s # Test 0
1075s # Test 1
1075s # Test 2
1075s # Test 3
1075s ok 1 /charset/language_names_with_category
1075s ok 2 /charset/language_names_with_category_async
1075s # End of charset tests
1075s TAP version 14
1075s # random seed: R02Sc3df24fcfba8ceeb6d37fba2d1fee9cb
1075s 1..41
1075s # Start of utils tests
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/language-names/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/language-names/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/language-names/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/language-names/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/language-names/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/language-names/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/language-names/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/language-names/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/language-names/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/language-names/.dirs/runtime
1075s ok 1 /utils/language-names
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/locale-variants/.dirs/runtime
1075s # Testing locale ‘en’
1075s # Testing locale ‘sr@latin’
1075s # Testing locale ‘fr_BE’
1075s # Testing locale ‘sr_SR@latin’
1075s # Testing locale ‘sr_SR@latin.UTF-8’
1075s # Testing locale ‘sr@latin_invalid’
1075s # Testing locale ‘sr.UTF-8@latin’
1075s # Testing locale ‘sr.UTF-8_latin’
1075s # Testing locale ‘sr.UTF-8@latin_invalid’
1075s ok 2 /utils/locale-variants
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/version/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/version/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/version/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/version/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/version/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/version/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/version/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/version/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/version/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/version/.dirs/runtime
1075s ok 3 /utils/version
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/appname/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/appname/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/appname/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/appname/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/appname/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/appname/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/appname/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/appname/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/appname/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/appname/.dirs/runtime
1075s ok 4 /utils/appname
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/prgname-thread-safety/.dirs/runtime
1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1075s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1075s ok 5 /utils/prgname-thread-safety
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/tmpdir/.dirs/runtime
1075s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1075s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1075s Unable to clean up temporary directory /tmp/test_utils_YD7HK3/utils/tmpdir: No such file or directory
1075s ok 6 /utils/tmpdir
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/basic_bits/.dirs/runtime
1075s ok 7 /utils/basic_bits
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/bits/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/bits/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/bits/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/bits/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/bits/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/bits/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/bits/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/bits/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/bits/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/bits/.dirs/runtime
1075s ok 8 /utils/bits
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/swap/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/swap/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/swap/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/swap/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/swap/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/swap/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/swap/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/swap/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/swap/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/swap/.dirs/runtime
1075s ok 9 /utils/swap
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/find-program/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/find-program/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/find-program/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/find-program/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/find-program/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/find-program/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/find-program/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/find-program/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/find-program/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/find-program/.dirs/runtime
1075s ok 10 /utils/find-program
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/find-program-for-path/.dirs/runtime
1075s ok 11 /utils/find-program-for-path
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/debug/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/debug/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/debug/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/debug/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/debug/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/debug/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/debug/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/debug/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/debug/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/debug/.dirs/runtime
1075s Unable to clean up temporary directory /tmp/test_utils_YD7HK3/utils/debug: No such file or directory
1075s ok 12 /utils/debug
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/codeset/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/codeset/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/codeset/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/codeset/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/codeset/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/codeset/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/codeset/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/codeset/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/codeset/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/codeset/.dirs/runtime
1075s ok 13 /utils/codeset
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/codeset2/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/codeset2/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/codeset2/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/codeset2/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/codeset2/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/codeset2/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/codeset2/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/codeset2/.dirs/runtime
1075s Unable to clean up temporary directory /tmp/test_utils_YD7HK3/utils/codeset2: No such file or directory
1075s ok 14 /utils/codeset2
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/console-charset/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/console-charset/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/console-charset/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/console-charset/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/console-charset/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/console-charset/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/console-charset/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/console-charset/.dirs/runtime
1075s ok 15 /utils/console-charset
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/gettext/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/gettext/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/gettext/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/gettext/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/gettext/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/gettext/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/gettext/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/gettext/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/gettext/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/gettext/.dirs/runtime
1075s ok 16 /utils/gettext
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/username/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/username/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/username/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/username/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/username/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/username/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/username/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/username/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/username/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/username/.dirs/runtime
1075s ok 17 /utils/username
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/realname/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/realname/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/realname/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/realname/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/realname/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/realname/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/realname/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/realname/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/realname/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/realname/.dirs/runtime
1075s ok 18 /utils/realname
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/hostname/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/hostname/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/hostname/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/hostname/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/hostname/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/hostname/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/hostname/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/hostname/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/hostname/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/hostname/.dirs/runtime
1075s ok 19 /utils/hostname
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/os-info/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/os-info/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/os-info/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/os-info/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/os-info/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/os-info/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/os-info/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/os-info/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/os-info/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/os-info/.dirs/runtime
1075s # NAME: Ubuntu
1075s ok 20 /utils/os-info
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/clear-pointer/.dirs/runtime
1075s ok 21 /utils/clear-pointer
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/clear-pointer-cast/.dirs/runtime
1075s ok 22 /utils/clear-pointer-cast
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/take-pointer/.dirs/runtime
1075s ok 23 /utils/take-pointer
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/clear-source/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/clear-source/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/clear-source/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/clear-source/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/clear-source/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/clear-source/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/clear-source/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/clear-source/.dirs/runtime
1075s ok 24 /utils/clear-source
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/misc-mem/.dirs/runtime
1075s ok 25 /utils/misc-mem
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/aligned-mem/.dirs/runtime
1075s # /utils/aligned-mem summary: Aligned memory allocator
1075s # Alignment must not be zero
1075s # Alignment must be a power of two
1075s # Alignment must be a multiple of sizeof(void*)
1075s ok 26 /utils/aligned-mem
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/free-sized/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/free-sized/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/free-sized/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/free-sized/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/free-sized/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/free-sized/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/free-sized/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/free-sized/.dirs/runtime
1075s # /utils/free-sized summary: Check that g_free_sized() works
1075s ok 27 /utils/free-sized
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/nullify/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/nullify/.dirs/cache
1075s ok - glib/utils.test
1075s # Running test: glib/1bit-mutex.test
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/nullify/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/nullify/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/nullify/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/nullify/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/nullify/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/nullify/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/nullify/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/nullify/.dirs/runtime
1075s ok 28 /utils/nullify
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/atexit/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/atexit/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/atexit/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/atexit/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/atexit/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/atexit/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/atexit/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/atexit/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/atexit/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/atexit/.dirs/runtime
1075s Unable to clean up temporary directory /tmp/test_utils_YD7HK3/utils/atexit: No such file or directory
1075s ok 29 /utils/atexit
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/check-setuid/.dirs/runtime
1075s ok 30 /utils/check-setuid
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/int-limits/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/int-limits/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/int-limits/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/int-limits/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/int-limits/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/int-limits/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/int-limits/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/int-limits/.dirs/runtime
1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1075s ok 31 /utils/int-limits
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/clear-list/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/clear-list/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/clear-list/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/clear-list/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/clear-list/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/clear-list/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/clear-list/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/clear-list/.dirs/runtime
1075s ok 32 /utils/clear-list
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/clear-slist/.dirs/runtime
1075s ok 33 /utils/clear-slist
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/steal-handle-id/.dirs/runtime
1075s ok 34 /utils/steal-handle-id
1075s # Start of user-special-dirs tests
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/user-special-dirs/desktop/.dirs/runtime
1075s ok 35 /utils/user-special-dirs/desktop
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked/.dirs/runtime
1075s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content.
1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800
1075s Unable to clean up temporary directory /tmp/test_utils_YD7HK3/utils/user-special-dirs/load-unlocked: No such file or directory
1075s ok 36 /utils/user-special-dirs/load-unlocked
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks/.dirs/runtime
1075s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload.
1075s Unable to clean up temporary directory /tmp/test_utils_YD7HK3/utils/user-special-dirs/reload-leaks: No such file or directory
1075s ok 37 /utils/user-special-dirs/reload-leaks
1075s # End of user-special-dirs tests
1075s # Start of clear-pointer tests
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/clear-pointer/side-effects/.dirs/runtime
1075s ok 38 /utils/clear-pointer/side-effects
1075s # End of clear-pointer tests
1075s # Start of aligned-mem tests
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/aligned-mem/alignment/.dirs/runtime
1075s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1075s ok 39 /utils/aligned-mem/alignment
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/aligned-mem/zeroed/.dirs/runtime
1075s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1075s ok 40 /utils/aligned-mem/zeroed
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_YD7HK3/utils/aligned-mem/free-sized/.dirs/runtime
1075s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1075s ok 41 /utils/aligned-mem/free-sized
1075s # Start of subprocess tests
1075s # End of subprocess tests
1075s # End of aligned-mem tests
1075s # End of utils tests
1075s TAP version 14
1075s # random seed: R02S282a51bfbfa48e787434f9b6a194d26e
1075s 1..2
1075s # Start of glib tests
1075s # Start of 1bit-mutex tests
1077s # Executing: glib/1bit-mutex.test
1078s ok 1 /glib/1bit-mutex/int
1078s # slow test /glib/1bit-mutex/int executed in 3.01 secs
1082s # Executing: glib/1bit-mutex.test
1082s ok 2 /glib/1bit-mutex/pointer
1082s # slow test /glib/1bit-mutex/pointer executed in 3.62 secs
1082s # End of 1bit-mutex tests
1082s # End of glib tests
1082s ok - glib/1bit-mutex.test
1082s # Running test: glib/deprecated-properties.test
1082s TAP version 14
1082s # random seed: R02S3fbbe3d4e2b7be15f1ec66e562d42255
1082s 1..3
1082s # Start of deprecated-properties tests
1082s ok 1 /deprecated-properties/construct
1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
1082s ok 2 /deprecated-properties/default-construct
1082s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
1082s ok - glib/deprecated-properties.test
1082s # Running test: glib/boxed.test
1082s ok - glib/boxed.test
1082s # Running test: glib/performance-threaded.test
1082s ok 3 /deprecated-properties/set
1082s # End of deprecated-properties tests
1082s TAP version 14
1082s # random seed: R02Sb2f64efb83439057fd465d25cc74361c
1082s 1..27
1082s # Start of boxed tests
1082s ok 1 /boxed/define
1082s ok 2 /boxed/ownership
1082s ok 3 /boxed/closure
1082s ok 4 /boxed/date
1082s ok 5 /boxed/value
1082s ok 6 /boxed/string
1082s ok 7 /boxed/hashtable
1082s ok 8 /boxed/array
1082s ok 9 /boxed/ptrarray
1082s ok 10 /boxed/regex
1082s ok 11 /boxed/varianttype
1082s ok 12 /boxed/error
1082s ok 13 /boxed/datetime
1082s ok 14 /boxed/matchinfo
1082s ok 15 /boxed/keyfile
1082s ok 16 /boxed/mainloop
1082s ok 17 /boxed/maincontext
1082s ok 18 /boxed/source
1082s ok 19 /boxed/variantbuilder
1082s ok 20 /boxed/timezone
1082s ok 21 /boxed/pollfd
1082s ok 22 /boxed/markup
1082s ok 23 /boxed/thread
1082s ok 24 /boxed/checksum
1082s ok 25 /boxed/tree
1082s ok 26 /boxed/patternspec
1082s ok 27 /boxed/rand
1082s # End of boxed tests
1082s Running test "liststore-is-a"
1083s 32700 runs, min/avg/max = 0.028/0.030/0.198 ms
1083s Running test "liststore-interface-peek"
1084s 57065 runs, min/avg/max = 0.016/0.017/0.196 ms
1084s Running test "liststore-interface-peek-same"
1085s ok - glib/performance-threaded.test
1085s 56367 runs, min/avg/max = 0.017/0.018/0.268 ms
1085s # Running test: glib/dir.test
1085s TAP version 14
1085s # random seed: R02S4fc064f63132b6fa208ed0ccb9c5cefd
1085s 1..3
1085s # Start of dir tests
1085s ok 1 /dir/read
1085s ok 2 /dir/nonexisting
1085s # /dir/refcounting summary: Test refcounting interactions with g_dir_close()
1085s ok 3 /dir/refcounting
1085s # End of dir tests
1085s ok - glib/dir.test
1085s # Running test: glib/unicode-normalize.test
1085s TAP version 14
1085s # random seed: R02S1444386f2f60b20984812682f3d180a3
1085s 1..3
1085s # Start of unicode tests
1085s # Processing Part0 # Specific cases
1085s # Processing Part1 # Character by character test
1085s # Processing Part2 # Canonical Order Test
1085s # Processing Part3 # PRI #29 Test
1085s # Processing Part4 # Canonical closures (excluding Hangul)
1085s # Processing Part5 # Chained primary composites
1085s ok - glib/unicode-normalize.test
1085s # Running test: glib/buffered-output-stream.test
1085s ok 1 /unicode/normalize
1085s # Invalid UTF-8 vector 0
1085s # Invalid UTF-8 vector 1
1085s # Invalid UTF-8 vector 2
1085s # Invalid UTF-8 vector 3
1085s # Invalid UTF-8 vector 4
1085s # Invalid UTF-8 vector 5
1085s # Invalid UTF-8 vector 6
1085s # Invalid UTF-8 vector 7
1085s # Invalid UTF-8 vector 8
1085s # Invalid UTF-8 vector 9
1085s # Invalid UTF-8 vector 10
1085s # Invalid UTF-8 vector 11
1085s # Invalid UTF-8 vector 12
1085s ok 2 /unicode/normalize-invalid
1085s # Start of normalize tests
1085s ok 3 /unicode/normalize/bad-length
1085s # End of normalize tests
1085s # End of unicode tests
1085s ok - glib/buffered-output-stream.test
1085s TAP version 14
1085s # random seed: R02S6933a67674b85fc0f8c2a2286372215c
1085s 1..5
1085s # Start of buffered-output-stream tests
1085s ok 1 /buffered-output-stream/write
1085s ok 2 /buffered-output-stream/grow
1085s ok 3 /buffered-output-stream/seek
1085s ok 4 /buffered-output-stream/truncate
1085s # End of buffered-output-stream tests
1085s # Start of filter-output-stream tests
1085s ok 5 /filter-output-stream/close
1085s # End of filter-output-stream tests
1085s # Running test: glib/inet-address.test
1085s TAP version 14
1085s ok - glib/inet-address.test
1085s # random seed: R02S3ae470af7ffdb03615d96cbf70d26325
1085s 1..11
1085s # Start of inet-address tests
1085s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2
1085s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7]
1085s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7
1085s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]
1085s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80
1085s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9
1085s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF
1085s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80
1085s ok 1 /inet-address/parse
1085s ok 2 /inet-address/any
1085s ok 3 /inet-address/loopback
1085s ok 4 /inet-address/bytes
1085s ok 5 /inet-address/property
1085s # End of inet-address tests
1085s # Start of socket-address tests
1085s ok 6 /socket-address/basic
1085s ok 7 /socket-address/to-string
1085s # End of socket-address tests
1085s # Start of address-mask tests
1085s ok 8 /address-mask/parse
1085s ok 9 /address-mask/property
1085s ok 10 /address-mask/equal
1085s ok 11 /address-mask/match
1085s # End of address-mask tests
1085s # Running test: glib/signals-refcount3.test
1085s TAP version 14
1085s # random seed: R02Sf4e8c71d4978a5392d3f0ce10b6784c1
1085s 1..1
1085s # Start of gobject tests
1085s # Start of refcount tests
1085s # init 0x6095e83354a0
1085s #
1085s # init 0x6095e832d580
1085s #
1087s # Executing: glib/signals-refcount3.test
1090s # dispose 0x6095e83354a0!
1090s #
1090s # dispose 0x6095e832d580!
1090s #
1090s ok 1 /gobject/refcount/signals
1090s # slow test /gobject/refcount/signals executed in 5.00 secs
1090s # End of refcount tests
1090s # End of gobject tests
1090s ok - glib/signals-refcount3.test
1090s # Running test: glib/contenttype.test
1090s TAP version 14
1090s # random seed: R02S748ce16dabf3122e5d09dca003e0dd9b
1090s 1..14
1090s # Start of contenttype tests
1090s ok 1 /contenttype/guess
1090s ok 2 /contenttype/guess_svg_from_data
1090s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX
1090s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX
1090s ok 5 /contenttype/unknown
1090s ok 6 /contenttype/subtype
1090s ok 7 /contenttype/list
1090s ok 8 /contenttype/executable
1090s ok 9 /contenttype/description
1090s ok 10 /contenttype/icon
1090s ok 11 /contenttype/symbolic-icon
1090s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1090s ok 12 /contenttype/tree
1090s ok - glib/contenttype.test
1090s # Running test: glib/mimeapps.test
1090s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168
1090s ok 13 /contenttype/tree_invalid_encoding
1090s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311
1090s ok 14 /contenttype/test_type_is_a_special_case
1090s # End of contenttype tests
1090s TAP version 14
1090s # random seed: R02Sc9af28c88775fde5111a07f03704cf83
1090s 1..13
1090s # Start of appinfo tests
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/system-data1/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/data/applications/mimeinfo.cache'
1090s ok 1 /appinfo/all
1090s # Start of mime tests
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/config
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/all/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/config
1090s ok 2 /appinfo/mime/api
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/config
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/config
1090s ok 3 /appinfo/mime/default
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/config
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/config
1090s ok 4 /appinfo/mime/file
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/config
1090s ok 5 /appinfo/mime/scheme-handler
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/config
1090s ok 6 /appinfo/mime/default-last-used
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/config
1090s ok 7 /appinfo/mime/ignore-nonexisting
1090s # End of mime tests
1090s # Start of mime-symlinked tests
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications'
1090s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/config
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/config
1090s ok 8 /appinfo/mime-symlinked/api
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/config
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/config
1090s ok 9 /appinfo/mime-symlinked/default
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/config
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/config
1090s ok 10 /appinfo/mime-symlinked/file
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/config
1090s ok 11 /appinfo/mime-symlinked/scheme-handler
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/config
1090s ok - glib/mimeapps.test
1090s # Running test: glib/portal-support-none.test
1090s ok - glib/portal-support-none.test
1090s # Running test: glib/appmonitor.test
1090s ok - glib/appmonitor.test
1090s # Running test: glib/bookmarkfile.test
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/config
1090s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/config
1090s ok 12 /appinfo/mime-symlinked/default-last-used
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop'
1090s # removing '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list'
1090s # creating '/tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache'
1090s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_YPXOK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config
1090s ok 13 /appinfo/mime-symlinked/ignore-nonexisting
1090s # End of mime-symlinked tests
1090s # End of appinfo tests
1090s TAP version 14
1090s # random seed: R02S6b994d14bd6ea2a2e00f7ee799ad281d
1090s 1..1
1090s # Start of portal-support tests
1090s ok 1 /portal-support/none
1090s # End of portal-support tests
1090s TAP version 14
1090s # random seed: R02Se2f45f5f388153275128ff05328060e1
1090s 1..1
1090s # Start of monitor tests
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/runtime
1090s # Using data directory: /tmp/test_appmonitor_6CYKK3/monitor/app/.dirs/data
1090s ok 1 /monitor/app
1090s # End of monitor tests
1090s TAP version 14
1090s # random seed: R02S6bd5c3c2a71be4e22ae71734a8d76c0f
1090s 1..96
1090s # Start of bookmarks tests
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/load-from-data-dirs/.dirs/runtime
1090s ok 1 /bookmarks/load-from-data-dirs
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/to-file/.dirs/runtime
1090s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_VKUKK3/bookmarkfile-test-32TKK3.xbel
1090s # Roundtrip from a valid bookmark file
1090s ok 2 /bookmarks/to-file
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/move-item/.dirs/runtime
1090s ok 3 /bookmarks/move-item
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/corner-cases/.dirs/runtime
1090s ok 4 /bookmarks/corner-cases
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/misc/.dirs/runtime
1090s ok 5 /bookmarks/misc
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/deprecated/.dirs/runtime
1090s ok 6 /bookmarks/deprecated
1090s # Start of parse tests
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-09.xbel/.dirs/runtime
1090s ok 7 /bookmarks/parse/fail-09.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-07.xbel/.dirs/runtime
1090s ok 8 /bookmarks/parse/fail-07.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-36.xbel/.dirs/runtime
1090s ok 9 /bookmarks/parse/fail-36.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-24.xbel/.dirs/runtime
1090s ok 10 /bookmarks/parse/fail-24.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-23.xbel/.dirs/runtime
1090s ok 11 /bookmarks/parse/fail-23.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-33.xbel/.dirs/runtime
1090s ok 12 /bookmarks/parse/fail-33.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-15.xbel/.dirs/runtime
1090s ok 13 /bookmarks/parse/fail-15.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-20.xbel/.dirs/runtime
1090s ok 14 /bookmarks/parse/fail-20.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-40.xbel/.dirs/runtime
1090s ok 15 /bookmarks/parse/fail-40.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-30.xbel/.dirs/runtime
1090s ok 16 /bookmarks/parse/fail-30.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-19.xbel/.dirs/runtime
1090s ok 17 /bookmarks/parse/fail-19.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-03.xbel/.dirs/runtime
1090s ok 18 /bookmarks/parse/valid-03.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-21.xbel/.dirs/runtime
1090s ok 19 /bookmarks/parse/fail-21.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-14.xbel/.dirs/runtime
1090s ok 20 /bookmarks/parse/fail-14.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-01.xbel/.dirs/runtime
1090s ok 21 /bookmarks/parse/valid-01.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-28.xbel/.dirs/runtime
1090s ok 22 /bookmarks/parse/fail-28.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-08.xbel/.dirs/runtime
1090s ok 23 /bookmarks/parse/fail-08.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-27.xbel/.dirs/runtime
1090s ok 24 /bookmarks/parse/fail-27.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-18.xbel/.dirs/runtime
1090s ok 25 /bookmarks/parse/fail-18.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-38.xbel/.dirs/runtime
1090s ok 26 /bookmarks/parse/fail-38.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/valid-02.xbel/.dirs/runtime
1090s ok 27 /bookmarks/parse/valid-02.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-37.xbel/.dirs/runtime
1090s ok 28 /bookmarks/parse/fail-37.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-02.xbel/.dirs/runtime
1090s ok 29 /bookmarks/parse/fail-02.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-22.xbel/.dirs/runtime
1090s ok 30 /bookmarks/parse/fail-22.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-12.xbel/.dirs/runtime
1090s ok 31 /bookmarks/parse/fail-12.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-04.xbel/.dirs/runtime
1090s ok 32 /bookmarks/parse/fail-04.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-10.xbel/.dirs/runtime
1090s ok 33 /bookmarks/parse/fail-10.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-41.xbel/.dirs/runtime
1090s ok 34 /bookmarks/parse/fail-41.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-26.xbel/.dirs/runtime
1090s ok 35 /bookmarks/parse/fail-26.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-35.xbel/.dirs/runtime
1090s ok 36 /bookmarks/parse/fail-35.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-31.xbel/.dirs/runtime
1090s ok 37 /bookmarks/parse/fail-31.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-39.xbel/.dirs/runtime
1090s ok 38 /bookmarks/parse/fail-39.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-42.xbel/.dirs/runtime
1090s ok 39 /bookmarks/parse/fail-42.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-25.xbel/.dirs/runtime
1090s ok 40 /bookmarks/parse/fail-25.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-13.xbel/.dirs/runtime
1090s ok 41 /bookmarks/parse/fail-13.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-29.xbel/.dirs/runtime
1090s ok 42 /bookmarks/parse/fail-29.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-11.xbel/.dirs/runtime
1090s ok 43 /bookmarks/parse/fail-11.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-06.xbel/.dirs/runtime
1090s ok 44 /bookmarks/parse/fail-06.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-03.xbel/.dirs/runtime
1090s ok 45 /bookmarks/parse/fail-03.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-05.xbel/.dirs/runtime
1090s ok 46 /bookmarks/parse/fail-05.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-01.xbel/.dirs/runtime
1090s ok 47 /bookmarks/parse/fail-01.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-17.xbel/.dirs/runtime
1090s ok 48 /bookmarks/parse/fail-17.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-32.xbel/.dirs/runtime
1090s ok 49 /bookmarks/parse/fail-32.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-16.xbel/.dirs/runtime
1090s ok 50 /bookmarks/parse/fail-16.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/parse/fail-34.xbel/.dirs/runtime
1090s ok 51 /bookmarks/parse/fail-34.xbel
1090s # End of parse tests
1090s # Start of copy tests
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-09.xbel/.dirs/runtime
1090s ok 52 /bookmarks/copy/fail-09.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-07.xbel/.dirs/runtime
1090s ok 53 /bookmarks/copy/fail-07.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-36.xbel/.dirs/runtime
1090s ok 54 /bookmarks/copy/fail-36.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-24.xbel/.dirs/runtime
1090s ok 55 /bookmarks/copy/fail-24.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-23.xbel/.dirs/runtime
1090s ok 56 /bookmarks/copy/fail-23.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-33.xbel/.dirs/runtime
1090s ok 57 /bookmarks/copy/fail-33.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-15.xbel/.dirs/runtime
1090s ok 58 /bookmarks/copy/fail-15.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-20.xbel/.dirs/runtime
1090s ok 59 /bookmarks/copy/fail-20.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-40.xbel/.dirs/runtime
1090s ok 60 /bookmarks/copy/fail-40.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-30.xbel/.dirs/runtime
1090s ok 61 /bookmarks/copy/fail-30.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-19.xbel/.dirs/runtime
1090s ok 62 /bookmarks/copy/fail-19.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-03.xbel/.dirs/runtime
1090s ok 63 /bookmarks/copy/valid-03.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-21.xbel/.dirs/runtime
1090s ok 64 /bookmarks/copy/fail-21.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-14.xbel/.dirs/runtime
1090s ok 65 /bookmarks/copy/fail-14.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-01.xbel/.dirs/runtime
1090s ok 66 /bookmarks/copy/valid-01.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-28.xbel/.dirs/runtime
1090s ok 67 /bookmarks/copy/fail-28.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-08.xbel/.dirs/runtime
1090s ok 68 /bookmarks/copy/fail-08.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-27.xbel/.dirs/runtime
1090s ok 69 /bookmarks/copy/fail-27.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-18.xbel/.dirs/runtime
1090s ok 70 /bookmarks/copy/fail-18.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-38.xbel/.dirs/runtime
1090s ok 71 /bookmarks/copy/fail-38.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/valid-02.xbel/.dirs/runtime
1090s ok 72 /bookmarks/copy/valid-02.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-37.xbel/.dirs/runtime
1090s ok 73 /bookmarks/copy/fail-37.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-02.xbel/.dirs/runtime
1090s ok 74 /bookmarks/copy/fail-02.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-22.xbel/.dirs/runtime
1090s ok 75 /bookmarks/copy/fail-22.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-12.xbel/.dirs/runtime
1090s ok 76 /bookmarks/copy/fail-12.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-04.xbel/.dirs/runtime
1090s ok 77 /bookmarks/copy/fail-04.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-10.xbel/.dirs/runtime
1090s ok 78 /bookmarks/copy/fail-10.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-41.xbel/.dirs/runtime
1090s ok 79 /bookmarks/copy/fail-41.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-26.xbel/.dirs/runtime
1090s ok 80 /bookmarks/copy/fail-26.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-35.xbel/.dirs/runtime
1090s ok 81 /bookmarks/copy/fail-35.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-31.xbel/.dirs/runtime
1090s ok 82 /bookmarks/copy/fail-31.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-39.xbel/.dirs/runtime
1090s ok 83 /bookmarks/copy/fail-39.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-42.xbel/.dirs/runtime
1090s ok 84 /bookmarks/copy/fail-42.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-25.xbel/.dirs/runtime
1090s ok 85 /bookmarks/copy/fail-25.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-13.xbel/.dirs/runtime
1090s ok 86 /bookmarks/copy/fail-13.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-29.xbel/.dirs/runtime
1090s ok 87 /bookmarks/copy/fail-29.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-11.xbel/.dirs/runtime
1090s ok 88 /bookmarks/copy/fail-11.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-06.xbel/.dirs/runtime
1090s ok 89 /bookmarks/copy/fail-06.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-03.xbel/.dirs/runtime
1090s ok 90 /bookmarks/copy/fail-03.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-05.xbel/.dirs/runtime
1090s ok 91 /bookmarks/copy/fail-05.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-01.xbel/.dirs/runtime
1090s ok 92 /bookmarks/copy/fail-01.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-17.xbel/.dirs/runtime
1090s ok 93 /bookmarks/copy/fail-17.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-32.xbel/.dirs/runtime
1090s ok 94 /bookmarks/copy/fail-32.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-16.xbel/.dirs/runtime
1090s ok 95 /bookmarks/copy/fail-16.xbel
1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/home
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/cache
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/system-config2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/config
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/system-data2
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/data
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/state
1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_VKUKK3/bookmarks/copy/fail-34.xbel/.dirs/runtime
1090s ok 96 /bookmarks/copy/fail-34.xbel
1090s # End of copy tests
1090s # End of bookmarks tests
1090s TAP version 14
1090s # random seed: R02S069c9ccbb32b64d2592004c31b828518
1090s 1..4
1090s # Start of refcount tests
1090s ok 1 /refcount/grefcount
1090s ok 2 /refcount/gatomicrefcount
1090s # Start of grefcount tests
1090s ok 3 /refcount/grefcount/saturation
1090s # End of grefcount tests
1090s # Start of gatomicrefcount tests
1090s ok 4 /refcount/gatomicrefcount/saturation
1090s # End of gatomicrefcount tests
1090s # End of refcount tests
1090s TAP version 14
1090s # random seed: R02S94027297876477ed5383fc9c8d08f0e0
1090s 1..1
1090s # Start of gobject tests
1090s # Start of refcount tests
1090s # init 0x60bfd9cffeb0
1090s #
1090s # .
1090s # .
1090s ok - glib/bookmarkfile.test
1090s # Running test: glib/refcount.test
1090s ok - glib/refcount.test
1090s # Running test: glib/properties-refcount2.test
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1090s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # .
1091s # dispose 0x60bfd9cffeb0!
1091s #
1091s ok 1 /gobject/refcount/properties-2
1091s # End of refcount tests
1091s # End of gobject tests
1091s ok - glib/properties-refcount2.test
1091s # Running test: glib/overflow.test
1091s ok - glib/overflow.test
1091s # Running test: glib/mutex.test
1091s TAP version 14
1091s # random seed: R02S2a5ffc8e9b309dcbfe6ed8d320b3fe3d
1091s 1..6
1091s # Start of glib tests
1091s # Start of checked-math tests
1091s ok 1 /glib/checked-math/guint-add
1091s ok 2 /glib/checked-math/guint-mul
1091s ok 3 /glib/checked-math/guint64-add
1091s ok 4 /glib/checked-math/guint64-mul
1091s ok 5 /glib/checked-math/gsize-add
1091s ok 6 /glib/checked-math/gsize-mul
1091s # End of checked-math tests
1091s # End of glib tests
1091s TAP version 14
1091s # random seed: R02Sdef12dee1036953ab286903a60e7a3a7
1091s 1..17
1091s # Start of thread tests
1091s ok 1 /thread/mutex1
1091s ok 2 /thread/mutex2
1091s ok 3 /thread/mutex3
1091s ok 4 /thread/mutex4
1092s # Executing: glib/mutex.test
1094s ok 5 /thread/mutex5
1094s # slow test /thread/mutex5 executed in 3.77 secs
1094s # Start of mutex tests
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1094s # /thread/mutex/errno summary: Validates that errno is not touched upon return
1094s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
1095s ok 6 /thread/mutex/errno
1095s # Start of perf tests
1095s # max perf: inf mips
1095s ok 7 /thread/mutex/perf/uncontended
1095s # Start of contended tests
1095s # max perf: inf mips
1095s ok 8 /thread/mutex/perf/contended/1
1095s # max perf: inf mips
1095s ok 9 /thread/mutex/perf/contended/2
1095s # max perf: inf mips
1095s ok 10 /thread/mutex/perf/contended/3
1095s # max perf: inf mips
1095s ok 11 /thread/mutex/perf/contended/4
1095s # max perf: inf mips
1095s ok 12 /thread/mutex/perf/contended/5
1095s # max perf: 3.500000 mips
1095s ok 13 /thread/mutex/perf/contended/6
1095s # max perf: 4.000000 mips
1095s ok 14 /thread/mutex/perf/contended/7
1095s # max perf: 4.500000 mips
1095s ok 15 /thread/mutex/perf/contended/8
1095s # max perf: 5.000000 mips
1095s ok 16 /thread/mutex/perf/contended/9
1095s # max perf: 5.500000 mips
1095s ok 17 /thread/mutex/perf/contended/10
1095s # End of contended tests
1095s # End of perf tests
1095s # End of mutex tests
1095s # End of thread tests
1095s ok - glib/mutex.test
1095s # Running test: glib/memory-monitor-dbus.test
1095s TAP version 13
1095s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178
1095s 1..1
1095s ok - glib/memory-monitor-dbus.test
1095s # Running test: glib/filter-streams.test
1095s TAP version 14
1095s # random seed: R02Sc3a79c652e8860dabf855827f3247fe6
1095s 1..4
1095s # Start of filter-stream tests
1095s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394
1095s ok 1 /filter-stream/input
1095s ok 2 /filter-stream/output
1095s ok 3 /filter-stream/async-input
1095s ok 4 /filter-stream/async-output
1095s # End of filter-stream tests
1095s ok - glib/filter-streams.test
1095s # Running test: glib/gdbus-connection-slow.test
1095s TAP version 14
1095s # random seed: R02Saa7e0627fefdadda43d441a5706fd69d
1095s 1..2
1095s # Start of gdbus tests
1095s # Start of connection tests
1095s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/home
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/cache
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/system-config2
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/config
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/system-data2
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/data
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/state
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/flush/.dirs/runtime
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s ok 1 /gdbus/connection/flush
1095s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/home
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/cache
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/system-config2
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/config
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/system-data2
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/data
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/state
1095s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_1J2AK3/gdbus/connection/large_message/.dirs/runtime
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1095s ok 2 /gdbus/connection/large_message
1095s # End of connection tests
1095s # End of gdbus tests
1095s ok - glib/gdbus-connection-slow.test
1095s # Running test: glib/gi-compile-repository.py.test
1095s TAP version 13
1095s ok 1 __main__.TestGICompileRepository.test_open_failure
1095s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
1095s # gi-compile-repository: /usr/bin/gi-compile-repository
1095s # tmpdir: /tmp/tmpeyfuwes0
1095s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpeyfuwes0/invalid.typelib']
1095s # Return code: 1
1095s # Output:
1095s #
1095s # Error:
1095s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory
1095s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile
1095s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
1095s # gi-compile-repository: /usr/bin/gi-compile-repository
1095s # tmpdir: /tmp/tmpdp9o79u7
1095s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpdp9o79u7/GLib-2.typelib']
1095s # Return code: 0
1095s # Output:
1095s #
1095s # Error:
1095s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure
1095s # gi-compile-repository: /usr/bin/gi-compile-repository
1095s # tmpdir: /tmp/tmp2wb1r866
1095s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib']
1095s # Return code: 1
1095s # Output:
1095s #
1095s # Error:
1095s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1095s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile
1095s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
1095s # gi-compile-repository: /usr/bin/gi-compile-repository
1095s # tmpdir: /tmp/tmpqx7zirmg
1095s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpqx7zirmg/GObject-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1095s # Return code: 0
1095s # Output:
1095s #
1095s # Error:
1095s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure
1095s # gi-compile-repository: /usr/bin/gi-compile-repository
1095s # tmpdir: /tmp/tmpek5vqa00
1095s # 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/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1095s # Return code: 1
1095s # Output:
1095s #
1095s # Error:
1095s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1096s ok 6 __main__.TestGICompileRepositoryForGio.test_compile
1096s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
1096s # gi-compile-repository: /usr/bin/gi-compile-repository
1096s # tmpdir: /tmp/tmpwammc3ry
1096s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpwammc3ry/Gio-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1096s # Return code: 0
1096s # Output:
1096s #
1096s # Error:
1096s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure
1096s # gi-compile-repository: /usr/bin/gi-compile-repository
1096s # tmpdir: /tmp/tmpd7aa2zt_
1096s # 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/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1096s # Return code: 1
1096s # Output:
1096s #
1096s # Error:
1096s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1096s 1..7
1096s ok - glib/gi-compile-repository.py.test
1096s # Running test: glib/atomic-c-11.test
1096s TAP version 14
1096s # random seed: R02S3cc8d554d0263fbb4185246640016e4e
1096s 1..2
1096s # Start of atomic tests
1096s ok 1 /atomic/types
1096s ok 2 /atomic/threaded
1096s # End of atomic tests
1096s ok - glib/atomic-c-11.test
1096s # Running test: glib/signalgroup.test
1096s TAP version 14
1096s # random seed: R02S25653bec7983872c5796922307fca910
1096s 1..9
1096s # Start of GObject tests
1096s # Start of SignalGroup tests
1096s ok 1 /GObject/SignalGroup/invalid
1096s ok 2 /GObject/SignalGroup/simple
1096s ok 3 /GObject/SignalGroup/changing-target
1096s ok 4 /GObject/SignalGroup/blocking
1096s ok 5 /GObject/SignalGroup/weak-ref-target
1096s ok 6 /GObject/SignalGroup/connect-object
1096s ok 7 /GObject/SignalGroup/signal-parsing
1096s ok 8 /GObject/SignalGroup/properties
1096s ok 9 /GObject/SignalGroup/interface
1096s # Start of signal-parsing tests
1096s # End of signal-parsing tests
1096s # End of SignalGroup tests
1096s ok - glib/signalgroup.test
1096s # Running test: glib/performance.test
1096s # End of GObject tests
1097s # Executing: glib/performance.test
1102s # Executing: glib/performance.test
1102s simple-construction: Millions of constructed objects per second: 41.643
1104s simple-construction1: Millions of constructed objects per second: 168.632
1107s # Executing: glib/performance.test
1107s complex-construction: Millions of constructed objects per second: 13.306
1112s # Executing: glib/performance.test
1112s complex-construction1: Millions of constructed objects per second: 25.292
1116s complex-construction2: Millions of constructed objects per second: 28.961
1117s # Executing: glib/performance.test
1118s finalization: Millions of finalized objects per second: 9.512
1119s type-check: Million type checks per second: 202.03
1120s emit-unhandled: Emissions per second: 9731591
1121s emit-unhandled-empty: Emissions per second: 77473612
1122s # Executing: glib/performance.test
1122s emit-unhandled-generic: Emissions per second: 13308934
1123s emit-unhandled-generic-empty: Emissions per second: 77529986
1125s emit-unhandled-args: Emissions per second: 8107605
1126s emit-handled: Emissions per second: 5960237
1127s # Executing: glib/performance.test
1127s emit-handled-empty: Emissions per second: 6201527
1128s emit-handled-generic: Emissions per second: 6090489
1129s emit-handled-generic-empty: Emissions per second: 11502349
1131s emit-handled-args: Emissions per second: 5360892
1132s # Executing: glib/performance.test
1132s notify-unhandled: Notify (unhandled) per second: 54321643
1133s notify-by-pspec-unhandled: Notify (unhandled) per second: 149199027
1134s notify-handled: Notify per second: 3979195
1135s notify-by-pspec-handled: Notify per second: 4215524
1136s property-set: Property set per second: 30994026
1137s # Executing: glib/performance.test
1138s property-set-signaled: Property set per second: 8598120
1139s property-get: Property get per second: 27792574
1140s refcount: Million refs+unref per second: 71.35
1141s refcount-1: Million refs+unref per second: 230.33
1142s # Executing: glib/performance.test
1142s refcount-toggle: Million refs+unref per second: 141.06
1142s ok - glib/performance.test
1142s # Running test: glib/cond.test
1142s TAP version 14
1142s # random seed: R02Sd96e3cb6016f44b2f09819456f5b2a43
1142s 1..4
1142s # Start of thread tests
1142s ok 1 /thread/cond1
1142s ok 2 /thread/cond2
1142s # Start of cond tests
1143s ok 3 /thread/cond/wait-until
1143s # slow test /thread/cond/wait-until executed in 1.02 secs
1143s # Start of wait-until tests
1143s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex
1143s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957
1144s ok 4 /thread/cond/wait-until/contended-and-interrupted
1144s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs
1144s # End of wait-until tests
1144s # End of cond tests
1144s # End of thread tests
1144s ok - glib/cond.test
1144s # Running test: glib/closure-refcount.test
1144s TAP version 14
1144s # random seed: R02Sa7ba004462c43e8c1fff7f4831b4515b
1144s 1..1
1144s # Start of closure tests
1144s # Init 0x58af236c2db0
1144s # Yielding from thread2
1144s # Yielding from main thread
1145s # Yielding from thread2
1145s # Yielding from main thread
1145s # Yielding from thread1
1145s # Yielding from main thread
1145s # Yielding from thread2
1145s # Yielding from main thread
1145s # Yielding from thread1
1145s # Yielding from main thread
1145s # Yielding from thread2
1145s # Yielding from thread2
1145s # Yielding from thread1
1145s # Yielding from main thread
1145s # Yielding from thread2
1145s # Yielding from main thread
1145s # Yielding from thread1
1145s # Yielding from thread2
1145s # Yielding from thread1
1145s # Yielding from main thread
1145s # Yielding from thread1
1145s # Yielding from main thread
1146s # Yielding from thread1
1146s # Yielding from thread2
1146s # Yielding from main thread
1146s # Yielding from thread1
1146s # Yielding from main thread
1146s # Yielding from thread1
1146s # Yielding from thread2
1146s # Yielding from main thread
1146s # Yielding from thread1
1146s # Yielding from main thread
1146s # Yielding from thread1
1146s # Yielding from thread2
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from thread1
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from thread2
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from thread1
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from thread1
1146s # Yielding from main thread
1146s # Yielding from thread2
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from thread2
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from thread1
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1146s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from thread2
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from thread1
1147s # Yielding from main thread
1147s # Executing: glib/closure-refcount.test
1147s # Yielding from thread2
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from thread1
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from thread2
1147s # Yielding from thread1
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from thread2
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from thread1
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from thread2
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from thread2
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Yielding from main thread
1147s # Stopping
1147s # Stopped
1147s ok 1 /closure/refcount
1147s # slow test /closure/refcount executed in 2.76 secs
1147s # End of closure tests
1147s ok - glib/closure-refcount.test
1147s # SUMMARY: total=332; passed=331; skipped=1; failed=0; user=152.4s; system=71.7s; maxrss=152968
1147s autopkgtest [19:01:00]: test installed-tests: -----------------------]
1148s installed-tests PASS
1148s autopkgtest [19:01:01]: test installed-tests: - - - - - - - - - - results - - - - - - - - - -
1148s autopkgtest [19:01:01]: test closure-refcount: preparing testbed
1149s Reading package lists...
1149s Building dependency tree...
1149s Reading state information...
1149s Solving dependencies...
1149s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1149s autopkgtest [19:01:02]: test closure-refcount: [-----------------------
1150s Running test: glib/closure-refcount.test
1150s TAP version 14
1150s # random seed: R02S76c6549b9effc737b2d59ae935e2ae4c
1150s 1..1
1150s # Start of closure tests
1150s # Init 0x6218fa982db0
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread1
1150s # Yielding from thread2
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread1
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread2
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread1
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread2
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread1
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread2
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread1
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread2
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread1
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread2
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from thread1
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1150s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from thread1
1151s # Yielding from main thread
1151s # Yielding from thread2
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from thread1
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from thread2
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from thread1
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Yielding from thread1
1151s # Yielding from main thread
1151s # Yielding from thread2
1151s # Yielding from main thread
1151s # Yielding from main thread
1151s # Stopping
1151s # Stopped
1151s ok 1 /closure/refcount
1151s # slow test /closure/refcount executed in 1.22 secs
1151s # End of closure tests
1151s PASS: glib/closure-refcount.test
1151s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.4s; system=0.0s; maxrss=4156
1151s autopkgtest [19:01:04]: test closure-refcount: -----------------------]
1152s autopkgtest [19:01:05]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - -
1152s closure-refcount PASS
1152s autopkgtest [19:01:05]: test debugcontroller: preparing testbed
1152s Reading package lists...
1152s Building dependency tree...
1152s Reading state information...
1152s Solving dependencies...
1152s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1153s autopkgtest [19:01:06]: test debugcontroller: [-----------------------
1153s Running test: glib/debugcontroller.test
1153s TAP version 14
1153s # random seed: R02S947111e441b9470a7c2a8e66b6b57251
1153s 1..3
1153s # Start of debug-controller tests
1153s # Start of dbus tests
1153s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
1153s # GLib-GIO-DEBUG: Debug output enabled
1153s # GLib-GIO-DEBUG: Debug output disabled
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s ok 1 /debug-controller/dbus/basic
1153s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s ok 2 /debug-controller/dbus/duplicate
1153s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1153s # GLib-GIO-DEBUG: Debug output enabled
1153s # GLib-GIO-DEBUG: Debug output disabled
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1153s ok 3 /debug-controller/dbus/properties
1153s # End of dbus tests
1153s # End of debug-controller tests
1153s PASS: glib/debugcontroller.test
1153s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6728
1153s autopkgtest [19:01:06]: test debugcontroller: -----------------------]
1154s debugcontroller PASS
1154s autopkgtest [19:01:07]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - -
1154s autopkgtest [19:01:07]: test gdbus-server-auth: preparing testbed
1154s Reading package lists...
1154s Building dependency tree...
1154s Reading state information...
1154s Solving dependencies...
1154s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1155s autopkgtest [19:01:08]: test gdbus-server-auth: [-----------------------
1155s Running test: glib/gdbus-server-auth.test
1155s TAP version 14
1155s # random seed: R02S828ac2d66b79da4a80a54729f8a7a0e3
1155s 1..9
1155s # Start of gdbus tests
1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/home
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/cache
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/system-config2
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/config
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/system-data2
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/data
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/state
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/.dirs/runtime
1155s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-VFGPK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
1155s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-VFGPK3/dbus-CgwFEWH5
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40164
1155s ok 1 /gdbus/server-auth
1155s # Start of server-auth tests
1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/home
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/cache
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/system-config2
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/config
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/system-data2
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/data
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/state
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/abstract/.dirs/runtime
1155s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-O5APK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
1155s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-O5APK3/dbus-6O3CrOXl
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40164
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1155s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40164
1155s ok 2 /gdbus/server-auth/abstract
1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/home
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/cache
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/system-config2
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/config
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/system-data2
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/data
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/state
1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/tcp/.dirs/runtime
1155s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
1155s # Connectable address: tcp:host=127.0.0.1,port=44879
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1155s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1155s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1155s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1155s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1155s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1156s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1156s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
1156s ok 3 /gdbus/server-auth/tcp
1156s # slow test /gdbus/server-auth/tcp executed in 0.83 secs
1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/home
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/cache
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/system-config2
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/config
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/system-data2
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/data
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/state
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/.dirs/runtime
1156s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-E0X4J3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
1156s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-E0X4J3/dbus-7JSMAIRa
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40164
1156s ok 4 /gdbus/server-auth/anonymous
1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/home
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/cache
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/system-config2
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/config
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/system-data2
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/data
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/state
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/.dirs/runtime
1156s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-AXG5J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1156s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-AXG5J3/dbus-nKa37Org
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1156s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40164
1156s ok 5 /gdbus/server-auth/external
1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/home
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/cache
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/system-config2
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/config
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/system-data2
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/data
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/state
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/.dirs/runtime
1156s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-NHC5J3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
1156s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-NHC5J3/dbus-D9vxicEe
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40164
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1156s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40164
1156s ok 6 /gdbus/server-auth/sha1
1156s # Start of anonymous tests
1156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/home
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/cache
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/config
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/data
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/state
1156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime
1156s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
1156s # Connectable address: tcp:host=127.0.0.1,port=33667
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
1156s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1156s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1156s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1156s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1156s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
1157s ok 7 /gdbus/server-auth/anonymous/tcp
1157s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.82 secs
1157s # End of anonymous tests
1157s # Start of external tests
1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/home
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/cache
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/config
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/data
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/state
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/external/require-same-user/.dirs/runtime
1157s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-1ME7J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1157s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_CCGPK3/gdbus-server-auth-1ME7J3/dbus-kQuvOWpm
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40164
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1157s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40164,uid=1000,gid=1000
1157s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40164
1157s ok 8 /gdbus/server-auth/external/require-same-user
1157s # End of external tests
1157s # Start of sha1 tests
1157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/home
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/cache
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/config
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/data
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/state
1157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_CCGPK3/gdbus/server-auth/sha1/tcp/.dirs/runtime
1157s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
1157s # Connectable address: tcp:host=127.0.0.1,port=39903
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
1157s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1157s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1157s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1157s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1157s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
1158s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1158s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1158s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
1158s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1158s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1158s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
1158s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1158s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1158s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
1158s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1158s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1158s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
1158s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1158s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1158s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1158s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1158s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
1158s ok 9 /gdbus/server-auth/sha1/tcp
1158s # slow test /gdbus/server-auth/sha1/tcp executed in 0.82 secs
1158s # End of sha1 tests
1158s # End of server-auth tests
1158s # End of gdbus tests
1158s PASS: glib/gdbus-server-auth.test
1158s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=8648
1158s autopkgtest [19:01:11]: test gdbus-server-auth: -----------------------]
1158s gdbus-server-auth PASS
1158s autopkgtest [19:01:11]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - -
1159s autopkgtest [19:01:12]: test gdbus-threading: preparing testbed
1159s Reading package lists...
1159s Building dependency tree...
1159s Reading state information...
1159s Solving dependencies...
1159s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1160s autopkgtest [19:01:13]: test gdbus-threading: [-----------------------
1160s Running test: glib/gdbus-threading.test
1160s TAP version 14
1160s # random seed: R02S6f0a2f382203cfc4e0d5b15550f45fb5
1160s 1..3
1160s # Start of gdbus tests
1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/home
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/cache
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/system-config2
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/config
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/system-data2
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/data
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/state
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_SDDPK3/gdbus/delivery-in-thread/.dirs/runtime
1160s ok 1 /gdbus/delivery-in-thread
1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/home
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/cache
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/system-config2
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/config
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/system-data2
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/data
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/state
1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_SDDPK3/gdbus/method-calls-in-thread/.dirs/runtime
1161s ok 2 /gdbus/method-calls-in-thread
1161s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs
1161s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/home
1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/cache
1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/system-config2
1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/config
1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/system-data2
1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/data
1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/state
1161s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_SDDPK3/gdbus/threaded-singleton/.dirs/runtime
1161s # GLib-GIO-DEBUG: refcount of 0x70c1cc001df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1161s ok 3 /gdbus/threaded-singleton
1161s # End of gdbus tests
1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1161s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1161s PASS: glib/gdbus-threading.test
1161s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=6524
1162s autopkgtest [19:01:15]: test gdbus-threading: -----------------------]
1162s autopkgtest [19:01:15]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - -
1162s gdbus-threading PASS
1162s autopkgtest [19:01:15]: test gmenumodel: preparing testbed
1163s Reading package lists...
1163s Building dependency tree...
1163s Reading state information...
1163s Solving dependencies...
1163s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1164s autopkgtest [19:01:17]: test gmenumodel: [-----------------------
1164s Running test: glib/gmenumodel.test
1164s TAP version 14
1164s # random seed: R02S5d4cbd15a3f31b5f6172a540337627c9
1164s 1..15
1164s # Start of gmenu tests
1164s ok 1 /gmenu/equality
1164s ok 2 /gmenu/random
1164s ok 3 /gmenu/attributes
1164s ok 4 /gmenu/links
1164s ok 5 /gmenu/mutable
1164s ok 6 /gmenu/convenience
1164s ok 7 /gmenu/menuitem
1164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
1164s ok 8 /gmenu/input-validation
1164s # Start of dbus tests
1165s ok 9 /gmenu/dbus/roundtrip
1165s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs
1166s ok 10 /gmenu/dbus/subscriptions
1166s ok 11 /gmenu/dbus/threaded
1166s # Start of peer tests
1167s ok 12 /gmenu/dbus/peer/roundtrip
1167s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs
1167s ok 13 /gmenu/dbus/peer/subscriptions
1167s # End of peer tests
1167s # Start of export tests
1167s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
1167s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
1167s ok 14 /gmenu/dbus/export/error-handling
1167s # End of export tests
1167s # End of dbus tests
1167s # Start of attributes tests
1167s ok 15 /gmenu/attributes/iterate
1167s # End of attributes tests
1167s # End of gmenu tests
1167s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1167s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1167s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1167s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1167s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1167s PASS: glib/gmenumodel.test
1167s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.1s; system=0.1s; maxrss=39804
1168s autopkgtest [19:01:21]: test gmenumodel: -----------------------]
1168s autopkgtest [19:01:21]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - -
1168s gmenumodel PASS
1168s autopkgtest [19:01:21]: test mainloop: preparing testbed
1169s Reading package lists...
1169s Building dependency tree...
1169s Reading state information...
1169s Solving dependencies...
1169s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1170s autopkgtest [19:01:23]: test mainloop: [-----------------------
1170s Running test: glib/mainloop.test
1170s TAP version 14
1170s # random seed: R02Sb3ba10c0ad0a5dfdea0200b686d326ce
1170s 1..47
1170s # Start of maincontext tests
1170s ok 1 /maincontext/basic
1170s # Add same-priority sources: 9
1170s # Find each source: 1
1170s # Remove in random order: 9
1170s ok 2 /maincontext/nsources_same_priority
1170s # Add different-priority sources: 10
1170s # Find each source: 1
1170s # Remove in random order: 12
1170s ok 3 /maincontext/nsources_different_priority
1170s # Add sources from threads: 16
1170s # Remove sources from threads: 39
1170s ok 4 /maincontext/nsources_threadpool
1170s ok 5 /maincontext/source_finalization
1170s # /maincontext/idle-once summary: Test g_idle_add_once() works
1170s ok 6 /maincontext/idle-once
1170s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
1170s ok 7 /maincontext/timeout-once
1170s # /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.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725
1170s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref
1170s # Start of source_finalization_from_source tests
1170s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 9 /maincontext/source_finalization_from_source/0
1170s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 10 /maincontext/source_finalization_from_source/1
1170s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 11 /maincontext/source_finalization_from_source/2
1170s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 12 /maincontext/source_finalization_from_source/3
1170s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 13 /maincontext/source_finalization_from_source/4
1170s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 14 /maincontext/source_finalization_from_source/5
1170s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 15 /maincontext/source_finalization_from_source/6
1170s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 16 /maincontext/source_finalization_from_source/7
1170s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 17 /maincontext/source_finalization_from_source/8
1170s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1170s ok 18 /maincontext/source_finalization_from_source/9
1170s # End of source_finalization_from_source tests
1170s # Start of source_finalization_from_dispatch tests
1170s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1170s ok 19 /maincontext/source_finalization_from_dispatch/0
1170s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1170s ok 20 /maincontext/source_finalization_from_dispatch/1
1170s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1170s ok 21 /maincontext/source_finalization_from_dispatch/2
1170s # End of source_finalization_from_dispatch tests
1170s # End of maincontext tests
1170s # Start of mainloop tests
1170s ok 22 /mainloop/basic
1170s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test
1170s ok 24 /mainloop/priorities
1170s ok 25 /mainloop/invoke
1170s # slow test /mainloop/invoke executed in 0.50 secs
1172s ok 26 /mainloop/child_sources
1172s # slow test /mainloop/child_sources executed in 1.17 secs
1174s ok 27 /mainloop/recursive_child_sources
1174s # slow test /mainloop/recursive_child_sources executed in 2.14 secs
1174s ok 28 /mainloop/recursive_loop_child_sources
1174s ok 29 /mainloop/swapping_child_sources
1174s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
1174s ok 30 /mainloop/blocked_child_sources
1175s ok 31 /mainloop/source_time
1175s # slow test /mainloop/source_time executed in 1.00 secs
1175s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
1175s ok 32 /mainloop/overflow
1175s Executing: glib/mainloop.test
1175s ok 33 /mainloop/ready-time
1175s # slow test /mainloop/ready-time executed in 0.50 secs
1175s ok 34 /mainloop/wakeup
1175s ok 35 /mainloop/remove-invalid
1175s ok 36 /mainloop/unref-while-pending
1176s ok 37 /mainloop/unix-fd
1176s ok 38 /mainloop/unix-fd-source
1176s ok 39 /mainloop/source-unix-fd-api
1176s ok 40 /mainloop/wait
1176s ok 41 /mainloop/unix-file-poll
1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
1176s ok 42 /mainloop/unix-fd-priority
1176s ok 43 /mainloop/nfds
1176s ok 44 /mainloop/steal-fd
1176s ok 45 /mainloop/simultaneous-source-context-destruction
1176s # slow test /mainloop/simultaneous-source-context-destruction executed in 0.55 secs
1176s # Start of ownerless-polling tests
1176s ok 46 /mainloop/ownerless-polling/attach-first
1176s ok 47 /mainloop/ownerless-polling/pop-first
1176s # End of ownerless-polling tests
1176s # End of mainloop tests
1176s PASS: glib/mainloop.test
1176s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=1.0s; maxrss=17488
1177s autopkgtest [19:01:30]: test mainloop: -----------------------]
1177s mainloop PASS
1177s autopkgtest [19:01:30]: test mainloop: - - - - - - - - - - results - - - - - - - - - -
1177s autopkgtest [19:01:30]: test memory-monitor-dbus: preparing testbed
1177s Reading package lists...
1178s Building dependency tree...
1178s Reading state information...
1178s Solving dependencies...
1178s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1178s autopkgtest [19:01:31]: test memory-monitor-dbus: [-----------------------
1179s Running test: glib/memory-monitor-dbus.test
1179s TAP version 13
1179s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal
1179s # Received memory warning signal, level 0
1179s # Received memory warning signal, level 100
1179s # Received memory warning signal, level 255
1179s 1..1
1179s PASS: glib/memory-monitor-dbus.test
1179s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=31560
1179s autopkgtest [19:01:32]: test memory-monitor-dbus: -----------------------]
1179s autopkgtest [19:01:32]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - -
1179s memory-monitor-dbus PASS
1180s autopkgtest [19:01:33]: test socket: preparing testbed
1180s Reading package lists...
1180s Building dependency tree...
1180s Reading state information...
1180s Solving dependencies...
1180s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1181s autopkgtest [19:01:34]: test socket: [-----------------------
1181s Running test: glib/socket.test
1181s TAP version 14
1181s # random seed: R02Sd4ec9a5fe9ca8b822bbcc814a4aec88c
1181s 1..30
1181s # Start of socket tests
1182s ok 1 /socket/ipv4_sync
1182s # slow test /socket/ipv4_sync executed in 1.00 secs
1183s ok 2 /socket/ipv4_async
1183s # slow test /socket/ipv4_async executed in 1.00 secs
1183s ok 3 /socket/ipv6_sync
1183s ok 4 /socket/ipv6_async
1183s ok 5 /socket/ipv6_v4mapped
1184s ok 6 /socket/close_graceful
1184s # slow test /socket/close_graceful executed in 1.00 secs
1184s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
1184s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
1184s ok 8 /socket/fd_reuse
1184s ok 9 /socket/address
1184s ok 10 /socket/unix-from-fd
1184s ok 11 /socket/unix-connection
1184s ok 12 /socket/unix-connection-ancillary-data
1184s ok 13 /socket/source-postmortem
1184s ok 14 /socket/read_write
1184s ok 15 /socket/read_writev
1184s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
1184s ok 16 /socket/receive_bytes
1184s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
1184s ok 17 /socket/receive_bytes_from
1184s # Start of ipv4_sync tests
1184s ok 18 /socket/ipv4_sync/datagram
1184s # Start of datagram tests
1185s ok 19 /socket/ipv4_sync/datagram/timeouts
1185s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
1185s # End of datagram tests
1185s # End of ipv4_sync tests
1185s # Start of ipv6_sync tests
1185s ok 20 /socket/ipv6_sync/datagram
1185s # Start of datagram tests
1186s Executing: glib/socket.test
1186s ok 21 /socket/ipv6_sync/datagram/timeouts
1186s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
1186s # End of datagram tests
1186s # End of ipv6_sync tests
1186s # Start of reuse tests
1186s ok 22 /socket/reuse/tcp
1186s ok 23 /socket/reuse/udp
1186s # End of reuse tests
1186s # Start of get_available tests
1186s ok 24 /socket/get_available/datagram
1186s ok 25 /socket/get_available/stream
1186s # End of get_available tests
1186s # Start of credentials tests
1186s # Supported on this OS: GCredentials:linux-ucred:pid=0
1186s ok 26 /socket/credentials/tcp_client
1186s # Supported on this OS: GCredentials:linux-ucred:pid=0
1186s ok 27 /socket/credentials/tcp_server
1186s # Supported on this OS: GCredentials:linux-ucred:pid=66160,uid=1000,gid=1000
1186s ok 28 /socket/credentials/unix_socketpair
1186s # End of credentials tests
1186s # Start of accept tests
1186s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking
1186s ok 29 /socket/accept/cancelled
1186s # End of accept tests
1186s # Start of connect tests
1186s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking
1186s ok 30 /socket/connect/cancelled
1186s # End of connect tests
1186s # End of socket tests
1186s PASS: glib/socket.test
1186s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6208
1187s autopkgtest [19:01:40]: test socket: -----------------------]
1187s socket PASS
1187s autopkgtest [19:01:40]: test socket: - - - - - - - - - - results - - - - - - - - - -
1187s autopkgtest [19:01:40]: test testfilemonitor: preparing testbed
1187s Reading package lists...
1188s Building dependency tree...
1188s Reading state information...
1188s Solving dependencies...
1188s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1188s autopkgtest [19:01:41]: test testfilemonitor: [-----------------------
1189s Running test: glib/testfilemonitor.test
1189s TAP version 14
1189s # random seed: R02S6b2ab5d4b7641be7548af724ff17a488
1189s 1..8
1189s # Start of monitor tests
1189s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1189s # Using temporary directory: /tmp/gio-test-testfilemonitor_41CGK3
1189s # Using GFileMonitor GInotifyFileMonitor
1191s ok 1 /monitor/atomic-replace
1191s # slow test /monitor/atomic-replace executed in 2.00 secs
1191s # Using temporary directory: /tmp/gio-test-testfilemonitor_KNCGK3
1191s # Using GFileMonitor GInotifyFileMonitor
1193s ok 2 /monitor/file-changes
1193s # slow test /monitor/file-changes executed in 2.50 secs
1193s # Using temporary directory: /tmp/gio-test-testfilemonitor_ISV5J3
1193s # Using GFileMonitor GInotifyFileMonitor
1194s Executing: glib/testfilemonitor.test
1197s ok 3 /monitor/dir-monitor
1197s # slow test /monitor/dir-monitor executed in 3.50 secs
1197s # Using temporary directory: /tmp/gio-test-testfilemonitor_MX4FK3
1197s # Using GFileMonitor GInotifyFileMonitor
1199s Executing: glib/testfilemonitor.test
1204s Executing: glib/testfilemonitor.test
1209s Executing: glib/testfilemonitor.test
1214s Executing: glib/testfilemonitor.test
1219s Executing: glib/testfilemonitor.test
1222s ok 4 /monitor/dir-not-existent
1222s # slow test /monitor/dir-not-existent executed in 25.02 secs
1222s # Using temporary directory: /tmp/gio-test-testfilemonitor_MUHCK3
1222s # Using GFileMonitor 0 GInotifyFileMonitor
1222s # Using GFileMonitor 1 GInotifyFileMonitor
1224s ok 5 /monitor/cross-dir-moves
1224s # slow test /monitor/cross-dir-moves executed in 2.00 secs
1224s # Using temporary directory: /tmp/gio-test-testfilemonitor_5KHCK3
1224s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock.
1224s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941
1224s ok 6 /monitor/finalize-in-callback
1224s # Using temporary directory: /tmp/gio-test-testfilemonitor_48DCK3
1224s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
1224s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
1224s ok 7 /monitor/root
1224s # Start of file tests
1224s # Using temporary directory: /tmp/gio-test-testfilemonitor_8IECK3
1224s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721
1224s # Running with hard link tests
1224s # Using GFileMonitor GInotifyFileMonitor
1224s Executing: glib/testfilemonitor.test
1227s # Event 0 at expected index 7 skipped because it is marked as optional
1227s # Event 2 at expected index 11 skipped because it is marked as optional
1227s ok 8 /monitor/file/hard-links
1227s # slow test /monitor/file/hard-links executed in 3.50 secs
1227s # End of file tests
1227s # End of monitor tests
1227s PASS: glib/testfilemonitor.test
1227s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6308
1227s autopkgtest [19:02:20]: test testfilemonitor: -----------------------]
1228s testfilemonitor PASS
1228s autopkgtest [19:02:21]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - -
1228s autopkgtest [19:02:21]: test thread-pool-slow: preparing testbed
1228s Reading package lists...
1228s Building dependency tree...
1228s Reading state information...
1228s Solving dependencies...
1228s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1229s autopkgtest [19:02:22]: test thread-pool-slow: [-----------------------
1229s Running test: glib/thread-pool-slow.test
1229s TAP version 14
1229s # random seed: R02S12ab6f42f75c5c567488cee8514508b3
1229s 1..7
1229s # Start of threadpool tests
1229s ok 1 /threadpool/functions
1230s ok 2 /threadpool/stop-unused
1230s # slow test /threadpool/stop-unused executed in 0.50 secs
1230s ok 3 /threadpool/pools
1230s # [unsorted] ===> pushed new thread with id:62, number of threads:1, unprocessed:1
1230s # [unsorted] ===> pushed new thread with id:45, number of threads:2, unprocessed:2
1230s # [unsorted] ===> pushed new thread with id:34, number of threads:3, unprocessed:3
1230s # [unsorted] ===> pushed new thread with id:71, number of threads:4, unprocessed:4
1230s # [unsorted] ===> pushed new thread with id:70, number of threads:5, unprocessed:5
1230s # [unsorted] ===> pushed new thread with id:99, number of threads:6, unprocessed:6
1230s # [unsorted] ===> pushed new thread with id:48, number of threads:7, unprocessed:7
1230s # [unsorted] ===> pushed new thread with id:75, number of threads:8, unprocessed:8
1230s # [unsorted] ===> pushed new thread with id:60, number of threads:9, unprocessed:9
1230s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:10
1230s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:11
1230s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:12
1230s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:13
1230s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:14
1230s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:15
1230s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:16
1230s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:17
1230s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:18
1230s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:19
1230s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:20
1230s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:21
1230s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:22
1230s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:23
1230s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:24
1230s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:25
1230s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:26
1230s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:27
1230s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:28
1230s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:29
1230s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:30
1230s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:31
1230s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:31
1230s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:32
1230s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:33
1230s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:34
1230s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:35
1230s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:36
1230s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:37
1230s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:38
1230s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:39
1230s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:40
1230s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:41
1230s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:41
1230s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:42
1230s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:43
1230s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:44
1230s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:45
1230s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:45
1230s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:46
1230s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:47
1230s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:47
1230s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:48
1230s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:49
1230s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:50
1230s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:51
1230s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:52
1230s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:53
1230s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:54
1230s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:55
1230s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:56
1230s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:57
1230s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:58
1230s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:59
1230s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:60
1230s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:61
1230s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:62
1230s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:63
1230s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:64
1230s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:65
1230s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:66
1230s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:67
1230s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:68
1230s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:69
1230s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:70
1230s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:71
1230s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:72
1230s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:73
1230s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:74
1230s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:75
1230s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:76
1230s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:77
1230s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:78
1230s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:79
1230s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:80
1230s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:81
1230s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:82
1230s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:83
1230s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:84
1230s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:85
1230s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:86
1230s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:87
1230s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:88
1230s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:89
1230s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:90
1230s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:91
1230s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:92
1230s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:93
1230s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:94
1230s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:95
1230s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:96
1230s ok 4 /threadpool/no-sort
1230s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:1
1230s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:2
1230s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:3
1230s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:4
1230s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:5
1230s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:6
1230s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:7
1230s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:8
1230s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:9
1230s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:10
1230s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:11
1230s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:12
1230s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:13
1230s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:14
1230s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:15
1230s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:16
1230s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:17
1230s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:18
1230s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:19
1230s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:20
1230s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:21
1230s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:22
1230s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:23
1230s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:24
1230s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:25
1230s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:26
1230s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:27
1230s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:28
1230s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:29
1230s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:30
1230s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:31
1230s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:32
1230s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:33
1230s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:34
1230s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:35
1230s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:36
1230s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:37
1230s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:38
1230s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:39
1230s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:40
1230s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:41
1230s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:42
1230s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:43
1230s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:44
1230s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:45
1230s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:46
1230s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:47
1230s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:48
1230s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:49
1230s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:50
1230s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:51
1230s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:52
1230s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:53
1230s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:54
1230s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:55
1230s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:56
1230s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:57
1230s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:58
1230s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:59
1230s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:60
1230s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:61
1230s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:62
1230s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:63
1230s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:64
1230s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:65
1230s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:66
1230s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:67
1230s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:68
1230s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:69
1230s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:70
1230s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:71
1230s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:72
1230s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:73
1230s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:74
1230s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:75
1230s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:76
1230s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:77
1230s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:78
1230s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:79
1230s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:80
1230s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:81
1230s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:82
1230s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:83
1230s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:84
1230s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:85
1230s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:86
1230s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:87
1230s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:88
1230s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:89
1230s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:90
1230s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:91
1230s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:92
1230s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:93
1230s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:94
1230s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:95
1230s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:96
1230s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:97
1230s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:98
1230s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:99
1230s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:100
1230s # Starting thread pool processing
1230s ok 5 /threadpool/sort
1230s ok 6 /threadpool/stop-unused-multiple
1230s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs
1230s # Pool idle thread count: 0, unprocessed jobs: 42
1231s # Pool idle thread count: 0, unprocessed jobs: 0
1231s # Pool idle thread count: 0, unprocessed jobs: 0
1231s # Pool idle thread count: 10, unprocessed jobs: 0
1231s # Pool idle thread count: 10, unprocessed jobs: 0
1232s # Pool idle thread count: 10, unprocessed jobs: 0
1232s # Pool idle thread count: 10, 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 # Pool idle thread count: 10, unprocessed jobs: 0
1234s # 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
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 # Pool idle thread count: 10, unprocessed jobs: 0
1239s # Pool idle thread count: 10, unprocessed jobs: 0
1239s Executing: glib/thread-pool-slow.test
1239s # Pool idle thread count: 10, unprocessed jobs: 2
1239s # Pool idle thread count: 10, unprocessed jobs: 2
1239s # Pool idle thread count: 8, unprocessed jobs: 0
1239s # Pool idle thread count: 8, 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: 0
1240s # Pool idle thread count: 10, unprocessed jobs: 0
1241s # Pool idle thread count: 10, unprocessed jobs: 0
1241s # Pool idle thread count: 10, unprocessed jobs: 0
1241s # Pool idle thread count: 2, unprocessed jobs: 0
1241s # Pool idle thread count: 2, unprocessed jobs: 0
1242s # Pool idle thread count: 2, unprocessed jobs: 0
1242s # Pool idle thread count: 2, 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 # Pool idle thread count: 2, unprocessed jobs: 0
1244s # 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
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 # Pool idle thread count: 2, unprocessed jobs: 0
1249s # 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
1250s ok 7 /threadpool/idle-time
1250s # slow test /threadpool/idle-time executed in 19.52 secs
1250s # End of threadpool tests
1250s PASS: glib/thread-pool-slow.test
1250s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=4288
1250s autopkgtest [19:02:43]: test thread-pool-slow: -----------------------]
1251s thread-pool-slow PASS
1251s autopkgtest [19:02:44]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - -
1251s autopkgtest [19:02:44]: test threadtests: preparing testbed
1251s Reading package lists...
1251s Building dependency tree...
1251s Reading state information...
1251s Solving dependencies...
1251s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1252s autopkgtest [19:02:45]: test threadtests: [-----------------------
1252s Running test: glib/threadtests.test
1252s TAP version 14
1252s # random seed: R02S0d9c89f091cd8fc804359e6e006149a3
1252s 1..5
1252s # Start of GObject tests
1252s ok 1 /GObject/threaded-object-init
1253s ok 2 /GObject/threaded-weak-ref
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 PASS: glib/threadtests.test
1253s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.2s; maxrss=3976
1253s autopkgtest [19:02:46]: test threadtests: -----------------------]
1254s threadtests PASS
1254s autopkgtest [19:02:47]: test threadtests: - - - - - - - - - - results - - - - - - - - - -
1254s autopkgtest [19:02:47]: test timeout: preparing testbed
1254s Reading package lists...
1254s Building dependency tree...
1254s Reading state information...
1254s Solving dependencies...
1254s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1255s autopkgtest [19:02:48]: test timeout: [-----------------------
1255s Running test: glib/timeout.test
1255s TAP version 14
1255s # random seed: R02S81ecabef93baf5de35d6f91b8453d67d
1255s 1..5
1255s # Start of timeout tests
1255s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
1257s ok 1 /timeout/seconds
1257s # slow test /timeout/seconds executed in 2.10 secs
1259s ok 2 /timeout/seconds-once
1259s # slow test /timeout/seconds-once executed in 2.10 secs
1259s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
1260s Executing: glib/timeout.test
1261s ok 3 /timeout/weeks-overflow
1261s # slow test /timeout/weeks-overflow executed in 2.10 secs
1261s ok 4 /timeout/far-future-ready-time
1265s Executing: glib/timeout.test
1270s Executing: glib/timeout.test
1271s ok 5 /timeout/rounding
1271s # slow test /timeout/rounding executed in 10.05 secs
1271s # End of timeout tests
1271s PASS: glib/timeout.test
1271s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3516
1272s autopkgtest [19:03:05]: test timeout: -----------------------]
1272s autopkgtest [19:03:05]: test timeout: - - - - - - - - - - results - - - - - - - - - -
1272s timeout PASS
1272s autopkgtest [19:03:05]: test timer: preparing testbed
1272s Reading package lists...
1273s Building dependency tree...
1273s Reading state information...
1273s Solving dependencies...
1273s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1273s autopkgtest [19:03:06]: test timer: [-----------------------
1273s Running test: glib/timer.test
1273s TAP version 14
1273s # random seed: R02S12072c54992ae103977258df78c29e24
1273s 1..10
1273s # Start of timer tests
1273s ok 1 /timer/basic
1273s ok 2 /timer/stop
1273s ok 3 /timer/continue
1273s ok 4 /timer/reset
1273s ok 5 /timer/is_active
1273s # End of timer tests
1273s # Start of timeval tests
1273s ok 6 /timeval/add
1273s ok 7 /timeval/from-iso8601
1273s ok 8 /timeval/to-iso8601
1273s # Start of to-iso8601 tests
1273s ok 9 /timeval/to-iso8601/overflow
1273s # End of to-iso8601 tests
1273s # End of timeval tests
1273s # Start of usleep tests
1273s ok 10 /usleep/with-zero-wait
1273s # End of usleep tests
1273s PASS: glib/timer.test
1273s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3544
1274s autopkgtest [19:03:07]: test timer: -----------------------]
1274s timer PASS
1274s autopkgtest [19:03:07]: test timer: - - - - - - - - - - results - - - - - - - - - -
1274s autopkgtest [19:03:07]: test 1065022-futureproofing: preparing testbed
1294s Creating nova instance adt-resolute-amd64-glib2.0-20260206-184153-juju-7f2275-prod-proposed-migration-environment-2-6d6c833d-c4f3-4e94-9039-038b851fc68f from image adt/ubuntu-resolute-amd64-server-20260204.img (UUID fedf54b4-458b-493e-8072-6425c19717b4)...
1370s autopkgtest [19:04:43]: testbed dpkg architecture: amd64
1371s autopkgtest [19:04:44]: testbed apt version: 3.1.14
1371s autopkgtest [19:04:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup
1371s autopkgtest [19:04:44]: testbed release detected to be: resolute
1372s autopkgtest [19:04:45]: updating testbed package index (apt update)
1372s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
1372s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
1372s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
1372s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
1372s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB]
1372s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [32.1 kB]
1372s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1507 kB]
1372s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [197 kB]
1372s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [262 kB]
1372s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [185 kB]
1372s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [6500 B]
1372s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [80.4 kB]
1372s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3692 B]
1372s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B]
1372s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [1405 kB]
1372s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [541 kB]
1372s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [36.6 kB]
1372s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4892 B]
1372s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [28.2 kB]
1372s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [1104 B]
1373s Fetched 4425 kB in 1s (5804 kB/s)
1374s Reading package lists...
1374s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
1374s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
1374s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
1374s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
1375s Reading package lists...
1375s Reading package lists...
1375s Building dependency tree...
1375s Reading state information...
1375s Calculating upgrade...
1375s The following packages will be upgraded:
1375s amd64-microcode apt busybox-initramfs busybox-static dmsetup findutils less
1375s libapt-pkg7.0 libattr1 libc-bin libc-gconv-modules-extra libc6
1375s libdevmapper1.02.1 libdrm-amdgpu1 libdrm-common libdrm2 libgpm2 libkeyutils1
1375s libmaxminddb0 libnpth0t64 libsensors-config libsensors5 locales mawk patch
1375s pollinate python3-linkify-it python3-markdown-it python3-referencing sed tar
1375s 31 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1375s Need to get 14.4 MB of archives.
1375s After this operation, 270 kB disk space will be freed.
1375s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 findutils amd64 4.10.0-3build2 [307 kB]
1375s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 sed amd64 4.9-2build3 [195 kB]
1375s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 tar amd64 1.35+dfsg-3.1build2 [257 kB]
1375s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-gconv-modules-extra amd64 2.42-2ubuntu5 [1394 kB]
1375s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc6 amd64 2.42-2ubuntu5 [2041 kB]
1375s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libc-bin amd64 2.42-2ubuntu5 [702 kB]
1375s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libattr1 amd64 1:2.5.2-3build2 [11.4 kB]
1375s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 mawk amd64 1.3.4.20260129-1 [133 kB]
1376s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.15 [1151 kB]
1376s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.15 [1479 kB]
1376s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libdevmapper1.02.1 amd64 2:1.02.205-2ubuntu3 [142 kB]
1376s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 dmsetup amd64 2:1.02.205-2ubuntu3 [79.4 kB]
1376s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 less amd64 668-1build1 [172 kB]
1376s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libkeyutils1 amd64 1.6.3-6ubuntu3 [10.6 kB]
1376s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 locales all 2.42-2ubuntu5 [4255 kB]
1376s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-linkify-it all 2.0.3-1ubuntu3 [19.4 kB]
1376s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-markdown-it all 3.0.0-3build1 [54.4 kB]
1376s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-static amd64 1:1.37.0-7ubuntu1 [1034 kB]
1376s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-common all 2.4.131-1 [9774 B]
1376s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm2 amd64 2.4.131-1 [42.3 kB]
1376s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgpm2 amd64 1.20.7-12build1 [14.4 kB]
1376s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libmaxminddb0 amd64 1.12.2-1build2 [18.9 kB]
1376s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors-config all 1:3.6.2-2build1 [6862 B]
1376s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 libsensors5 amd64 1:3.6.2-2build1 [28.9 kB]
1376s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 busybox-initramfs amd64 1:1.37.0-7ubuntu1 [191 kB]
1376s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libdrm-amdgpu1 amd64 2.4.131-1 [23.2 kB]
1376s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 libnpth0t64 amd64 1.8-3build1 [9302 B]
1376s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 patch amd64 2.8-2build1 [95.7 kB]
1376s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 pollinate all 4.33-4ubuntu5 [14.0 kB]
1376s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-referencing all 0.36.2-1ubuntu2 [22.2 kB]
1376s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 amd64-microcode amd64 3.20251202.1ubuntu1 [459 kB]
1376s dpkg-preconfigure: unable to re-open stdin: No such file or directory
1376s Fetched 14.4 MB in 1s (28.0 MB/s)
1376s (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 ... 83957 files and directories currently installed.)
1376s Preparing to unpack .../findutils_4.10.0-3build2_amd64.deb ...
1376s Unpacking findutils (4.10.0-3build2) over (4.10.0-3build1) ...
1376s Setting up findutils (4.10.0-3build2) ...
1376s (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 ... 83957 files and directories currently installed.)
1376s Preparing to unpack .../sed_4.9-2build3_amd64.deb ...
1376s Unpacking sed (4.9-2build3) over (4.9-2build2) ...
1376s Setting up sed (4.9-2build3) ...
1376s (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 ... 83957 files and directories currently installed.)
1376s Preparing to unpack .../tar_1.35+dfsg-3.1build2_amd64.deb ...
1376s Unpacking tar (1.35+dfsg-3.1build2) over (1.35+dfsg-3.1build1) ...
1376s Setting up tar (1.35+dfsg-3.1build2) ...
1376s (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 ... 83957 files and directories currently installed.)
1376s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_amd64.deb ...
1376s Unpacking libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
1376s Setting up libc-gconv-modules-extra:amd64 (2.42-2ubuntu5) ...
1376s (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 ... 83957 files and directories currently installed.)
1376s Preparing to unpack .../libc6_2.42-2ubuntu5_amd64.deb ...
1377s Unpacking libc6:amd64 (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
1377s Setting up libc6:amd64 (2.42-2ubuntu5) ...
1377s (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 ... 83957 files and directories currently installed.)
1377s Preparing to unpack .../libc-bin_2.42-2ubuntu5_amd64.deb ...
1377s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
1377s Setting up libc-bin (2.42-2ubuntu5) ...
1377s (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 ... 83957 files and directories currently installed.)
1377s Preparing to unpack .../libattr1_1%3a2.5.2-3build2_amd64.deb ...
1377s Unpacking libattr1:amd64 (1:2.5.2-3build2) over (1:2.5.2-3build1) ...
1377s Setting up libattr1:amd64 (1:2.5.2-3build2) ...
1377s (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 ... 83957 files and directories currently installed.)
1377s Preparing to unpack .../00-mawk_1.3.4.20260129-1_amd64.deb ...
1377s Unpacking mawk (1.3.4.20260129-1) over (1.3.4.20250131-2) ...
1377s Preparing to unpack .../01-libapt-pkg7.0_3.1.15_amd64.deb ...
1377s Unpacking libapt-pkg7.0:amd64 (3.1.15) over (3.1.14) ...
1377s Preparing to unpack .../02-apt_3.1.15_amd64.deb ...
1377s Unpacking apt (3.1.15) over (3.1.14) ...
1377s Preparing to unpack .../03-libdevmapper1.02.1_2%3a1.02.205-2ubuntu3_amd64.deb ...
1377s Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
1377s Preparing to unpack .../04-dmsetup_2%3a1.02.205-2ubuntu3_amd64.deb ...
1377s Unpacking dmsetup (2:1.02.205-2ubuntu3) over (2:1.02.205-2ubuntu2) ...
1377s Preparing to unpack .../05-less_668-1build1_amd64.deb ...
1377s Unpacking less (668-1build1) over (668-1) ...
1377s Preparing to unpack .../06-libkeyutils1_1.6.3-6ubuntu3_amd64.deb ...
1377s Unpacking libkeyutils1:amd64 (1.6.3-6ubuntu3) over (1.6.3-6ubuntu2) ...
1377s Preparing to unpack .../07-locales_2.42-2ubuntu5_all.deb ...
1377s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ...
1377s Preparing to unpack .../08-python3-linkify-it_2.0.3-1ubuntu3_all.deb ...
1378s Unpacking python3-linkify-it (2.0.3-1ubuntu3) over (2.0.3-1ubuntu2) ...
1378s Preparing to unpack .../09-python3-markdown-it_3.0.0-3build1_all.deb ...
1378s Unpacking python3-markdown-it (3.0.0-3build1) over (3.0.0-3) ...
1378s Preparing to unpack .../10-busybox-static_1%3a1.37.0-7ubuntu1_amd64.deb ...
1378s Unpacking busybox-static (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
1378s Preparing to unpack .../11-libdrm-common_2.4.131-1_all.deb ...
1378s Unpacking libdrm-common (2.4.131-1) over (2.4.129-1) ...
1378s Preparing to unpack .../12-libdrm2_2.4.131-1_amd64.deb ...
1378s Unpacking libdrm2:amd64 (2.4.131-1) over (2.4.129-1) ...
1378s Preparing to unpack .../13-libgpm2_1.20.7-12build1_amd64.deb ...
1378s Unpacking libgpm2:amd64 (1.20.7-12build1) over (1.20.7-12) ...
1378s Preparing to unpack .../14-libmaxminddb0_1.12.2-1build2_amd64.deb ...
1378s Unpacking libmaxminddb0:amd64 (1.12.2-1build2) over (1.12.2-1build1) ...
1378s Preparing to unpack .../15-libsensors-config_1%3a3.6.2-2build1_all.deb ...
1378s Unpacking libsensors-config (1:3.6.2-2build1) over (1:3.6.2-2) ...
1378s Preparing to unpack .../16-libsensors5_1%3a3.6.2-2build1_amd64.deb ...
1378s Unpacking libsensors5:amd64 (1:3.6.2-2build1) over (1:3.6.2-2) ...
1378s Preparing to unpack .../17-busybox-initramfs_1%3a1.37.0-7ubuntu1_amd64.deb ...
1378s Unpacking busybox-initramfs (1:1.37.0-7ubuntu1) over (1:1.37.0-4ubuntu1) ...
1378s Preparing to unpack .../18-libdrm-amdgpu1_2.4.131-1_amd64.deb ...
1378s Unpacking libdrm-amdgpu1:amd64 (2.4.131-1) over (2.4.129-1) ...
1378s Preparing to unpack .../19-libnpth0t64_1.8-3build1_amd64.deb ...
1378s Unpacking libnpth0t64:amd64 (1.8-3build1) over (1.8-3) ...
1378s Preparing to unpack .../20-patch_2.8-2build1_amd64.deb ...
1378s Unpacking patch (2.8-2build1) over (2.8-2) ...
1378s Preparing to unpack .../21-pollinate_4.33-4ubuntu5_all.deb ...
1378s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ...
1378s Preparing to unpack .../22-python3-referencing_0.36.2-1ubuntu2_all.deb ...
1378s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ...
1378s Preparing to unpack .../23-amd64-microcode_3.20251202.1ubuntu1_amd64.deb ...
1378s Unpacking amd64-microcode (3.20251202.1ubuntu1) over (3.20250708.1ubuntu1) ...
1378s Setting up libnpth0t64:amd64 (1.8-3build1) ...
1378s Setting up libkeyutils1:amd64 (1.6.3-6ubuntu3) ...
1378s Setting up libgpm2:amd64 (1.20.7-12build1) ...
1378s Setting up libmaxminddb0:amd64 (1.12.2-1build2) ...
1378s Setting up libsensors-config (1:3.6.2-2build1) ...
1378s Setting up less (668-1build1) ...
1378s Setting up amd64-microcode (3.20251202.1ubuntu1) ...
1378s amd64-microcode: microcode will be updated at next boot
1378s Setting up locales (2.42-2ubuntu5) ...
1379s Generating locales (this might take a while)...
1379s en_US.UTF-8... done
1379s Generation complete.
1379s Setting up pollinate (4.33-4ubuntu5) ...
1390s Setting up busybox-static (1:1.37.0-7ubuntu1) ...
1390s Setting up patch (2.8-2build1) ...
1390s Setting up libsensors5:amd64 (1:3.6.2-2build1) ...
1390s Setting up busybox-initramfs (1:1.37.0-7ubuntu1) ...
1390s Setting up libdevmapper1.02.1:amd64 (2:1.02.205-2ubuntu3) ...
1390s Setting up dmsetup (2:1.02.205-2ubuntu3) ...
1390s Setting up python3-linkify-it (2.0.3-1ubuntu3) ...
1390s Setting up mawk (1.3.4.20260129-1) ...
1390s Setting up libapt-pkg7.0:amd64 (3.1.15) ...
1390s Setting up libdrm-common (2.4.131-1) ...
1390s Setting up python3-referencing (0.36.2-1ubuntu2) ...
1390s Setting up apt (3.1.15) ...
1390s Setting up python3-markdown-it (3.0.0-3build1) ...
1391s Setting up libdrm2:amd64 (2.4.131-1) ...
1391s Setting up libdrm-amdgpu1:amd64 (2.4.131-1) ...
1391s Processing triggers for libc-bin (2.42-2ubuntu5) ...
1391s Processing triggers for systemd (259-1ubuntu3) ...
1391s Processing triggers for man-db (2.13.1-1) ...
1392s Processing triggers for install-info (7.2-5) ...
1392s Processing triggers for initramfs-tools (0.150ubuntu7) ...
1392s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic
1397s autopkgtest [19:05:10]: upgrading testbed (apt dist-upgrade and autopurge)
1398s Reading package lists...
1398s Building dependency tree...
1398s Reading state information...
1398s Calculating upgrade...
1398s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1398s Reading package lists...
1398s Building dependency tree...
1398s Reading state information...
1398s Solving dependencies...
1398s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1399s autopkgtest [19:05:12]: rebooting testbed after setup commands that affected boot
1429s Reading package lists...
1429s Building dependency tree...
1429s Reading state information...
1429s Solving dependencies...
1430s The following NEW packages will be installed:
1430s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas
1430s libdconf1
1430s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
1430s Need to get 141 kB of archives.
1430s After this operation, 638 kB of additional disk space will be used.
1430s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libdconf1 amd64 0.49.0-4 [40.5 kB]
1430s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 dconf-service amd64 0.49.0-4 [27.7 kB]
1430s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 dconf-gsettings-backend amd64 0.49.0-4 [22.2 kB]
1430s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 dpkg-repack all 1.54build1 [11.2 kB]
1430s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB]
1430s Fetched 141 kB in 0s (8108 kB/s)
1430s Selecting previously unselected package libdconf1:amd64.
1430s (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 ... 83962 files and directories currently installed.)
1430s Preparing to unpack .../libdconf1_0.49.0-4_amd64.deb ...
1430s Unpacking libdconf1:amd64 (0.49.0-4) ...
1430s Selecting previously unselected package dconf-service.
1430s Preparing to unpack .../dconf-service_0.49.0-4_amd64.deb ...
1430s Unpacking dconf-service (0.49.0-4) ...
1430s Selecting previously unselected package dconf-gsettings-backend:amd64.
1430s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_amd64.deb ...
1430s Unpacking dconf-gsettings-backend:amd64 (0.49.0-4) ...
1430s Selecting previously unselected package dpkg-repack.
1430s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ...
1430s Unpacking dpkg-repack (1.54build1) ...
1430s Selecting previously unselected package gsettings-desktop-schemas.
1430s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ...
1430s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ...
1430s Setting up dpkg-repack (1.54build1) ...
1430s Setting up libdconf1:amd64 (0.49.0-4) ...
1430s Setting up dconf-service (0.49.0-4) ...
1430s Setting up dconf-gsettings-backend:amd64 (0.49.0-4) ...
1430s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ...
1430s Processing triggers for man-db (2.13.1-1) ...
1430s Processing triggers for libglib2.0-0t64:amd64 (2.86.3-4) ...
1430s Processing triggers for libc-bin (2.42-2ubuntu5) ...
1436s autopkgtest [19:05:49]: test 1065022-futureproofing: [-----------------------
1436s + export DEBIAN_FRONTEND=noninteractive
1436s + n=0
1436s + failed=0
1436s + binary_package=libglib2.0-0t64
1436s + future_binary_package=libglib2.0-0xyz
1436s + pwd
1436s + srcdir=/tmp/autopkgtest.9yJaFZ/build.xEg/src
1436s + mktemp -d
1436s + tmpdir=/tmp/tmp.GGQLMT4oFr
1436s + cd /tmp/tmp.GGQLMT4oFr
1436s + exec
1436s + [ -e /tmp/autopkgtest.9yJaFZ/build.xEg/src/debian/tests/manual/local-1065022.sources ]
1436s + dpkg-query -W dpkg-repack
1436s dpkg-repack 1.54build1
1436s + dpkg-query -s libglib2.0-0t64
1436s Package: libglib2.0-0t64
1436s Status: install ok installed
1436s Priority: important
1436s Section: libs
1436s Installed-Size: 4338
1436s Maintainer: Ubuntu Developers
1436s Architecture: amd64
1436s Multi-Arch: same
1436s Source: glib2.0
1436s Version: 2.86.3-4
1436s Replaces: libglib2.0-0 (<< 2.80.0-7~)
1436s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4)
1436s 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)
1436s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs
1436s Suggests: low-memory-monitor
1436s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~)
1436s Description: GLib library of C routines
1436s GLib is a library containing many useful C routines for things such
1436s as trees, hashes, lists, and strings. It is a useful general-purpose
1436s C library used by projects such as GTK+, GIMP, and GNOME.
1436s .
1436s This package contains the shared libraries.
1436s Original-Maintainer: Debian GNOME Maintainers
1436s Homepage: https://gitlab.gnome.org/GNOME/glib
1436s + dpkg-query -W -f ${Version} libglib2.0-0t64
1436s + binary_version=2.86.3-4
1436s + dpkg-repack --generate libglib2.0-0t64
1436s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file
1436s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.ks1ZJz for libglib2.0-0t64
1436s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.ks1ZJz ."
1436s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.ks1ZJz/DEBIAN/control
1436s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.ks1ZJz/DEBIAN/control
1436s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.ks1ZJz/DEBIAN/control
1436s + env binary_package=libglib2.0-0t64 binary_version=2.86.3-4 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.ks1ZJz/DEBIAN/control
1436s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.ks1ZJz libglib2.0-0xyz.deb
1436s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'.
1437s + dpkg-deb --info libglib2.0-0xyz.deb
1437s new Debian package, version 2.0.
1437s size 1608096 bytes: control archive=25784 bytes.
1437s 1218 bytes, 24 lines control
1437s 1144 bytes, 14 lines md5sums
1437s 1288 bytes, 44 lines * postinst #!/bin/sh
1437s 2577 bytes, 87 lines * postrm #!/bin/sh
1437s 2408 bytes, 53 lines * preinst #!/bin/sh
1437s 466 bytes, 10 lines shlibs
1437s 172677 bytes, 4529 lines symbols
1437s 171 bytes, 4 lines triggers
1437s Package: libglib2.0-0xyz
1437s Source: glib2.0
1437s Version: 2.86.3-4
1437s Architecture: amd64
1437s Maintainer: Ubuntu Developers
1437s Installed-Size: 4338
1437s 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)
1437s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs
1437s Suggests: low-memory-monitor
1437s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64
1437s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64
1437s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4), libglib2.0-0t64 (= 2.86.3-4)
1437s Section: libs
1437s Priority: important
1437s Multi-Arch: same
1437s Homepage: https://gitlab.gnome.org/GNOME/glib
1437s Description: GLib library of C routines
1437s GLib is a library containing many useful C routines for things such
1437s as trees, hashes, lists, and strings. It is a useful general-purpose
1437s C library used by projects such as GTK+, GIMP, and GNOME.
1437s .
1437s This package contains the shared libraries.
1437s .
1437s (Repackaged on Fri, 06 Feb 2026 19:05:50 +0000 by dpkg-repack.)
1437s + dpkg-deb --contents libglib2.0-0xyz.deb
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/lib/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/lib/x86_64-linux-gnu/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/lib/x86_64-linux-gnu/gio/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/lib/x86_64-linux-gnu/gio/modules/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/lib/x86_64-linux-gnu/glib-2.0/
1437s -rwxr-xr-x root/root 14728 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/glib-2.0/gio-launch-desktop
1437s -rwxr-xr-x root/root 18824 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/glib-2.0/gio-querymodules
1437s -rwxr-xr-x root/root 55768 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas
1437s -rw-r--r-- root/root 1936936 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.8600.3
1437s -rw-r--r-- root/root 1404688 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8600.3
1437s -rw-r--r-- root/root 22816 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.8600.3
1437s -rw-r--r-- root/root 403928 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.8600.3
1437s -rw-r--r-- root/root 14568 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0.8600.3
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/share/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/share/doc/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/share/doc/libglib2.0-0t64/
1437s -rw-r--r-- root/root 258310 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/NEWS.gz
1437s -rw-r--r-- root/root 1703 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/README.Debian
1437s -rw-r--r-- root/root 3248 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/README.md
1437s -rw-r--r-- root/root 39086 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz
1437s -rw-r--r-- root/root 55103 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/copyright
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/share/glib-2.0/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/share/glib-2.0/schemas/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/share/lintian/
1437s drwxr-xr-x root/root 0 2026-02-06 19:05 ./usr/share/lintian/overrides/
1437s -rw-r--r-- root/root 520 2026-01-01 12:59 ./usr/share/lintian/overrides/libglib2.0-0t64
1437s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.3
1437s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.3
1437s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.3
1437s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.3
1437s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.3
1437s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas
1437s Reading package lists...
1438s Building dependency tree...
1438s Reading state information...
1438s dconf-gsettings-backend is already the newest version (0.49.0-4).
1438s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1).
1438s Solving dependencies...
1438s The following additional packages will be installed:
1438s xdg-user-dirs
1438s Suggested packages:
1438s low-memory-monitor
1438s The following packages will be REMOVED:
1438s libglib2.0-0t64
1438s The following NEW packages will be installed:
1438s libglib2.0-0xyz xdg-user-dirs
1438s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
1438s Need to get 19.3 kB/1627 kB of archives.
1438s After this operation, 172 kB of additional disk space will be used.
1438s Get:1 /tmp/tmp.GGQLMT4oFr/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.86.3-4 [1608 kB]
1438s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 xdg-user-dirs amd64 0.19-1 [19.3 kB]
1438s Fetched 19.3 kB in 0s (1465 kB/s)
1438s dpkg: libglib2.0-0t64:amd64: dependency problems, but removing anyway as you requested:
1438s udisks2 depends on libglib2.0-0t64 (>= 2.80.0).
1438s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0).
1438s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~).
1438s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0).
1438s netplan.io depends on libglib2.0-0t64 (>= 2.70.0).
1438s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0).
1438s libxmlb2:amd64 depends on libglib2.0-0t64 (>= 2.54.0).
1438s libvolume-key1:amd64 depends on libglib2.0-0t64 (>= 2.18.0).
1438s libudisks2-0:amd64 depends on libglib2.0-0t64 (>= 2.83.0).
1438s libqrtr-glib0:amd64 depends on libglib2.0-0t64 (>= 2.56).
1438s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0).
1438s libqmi-glib5:amd64 depends on libglib2.0-0t64 (>= 2.54.0).
1438s libpolkit-gobject-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0).
1438s libpolkit-agent-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0).
1438s libnetplan1:amd64 depends on libglib2.0-0t64 (>= 2.76.0).
1438s libmm-glib0:amd64 depends on libglib2.0-0t64 (>= 2.62.0).
1438s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56).
1438s libmbim-glib4:amd64 depends on libglib2.0-0t64 (>= 2.56).
1438s libjson-glib-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0).
1438s libjcat1:amd64 depends on libglib2.0-0t64 (>= 2.80.0).
1438s libgudev-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0).
1438s libgirepository-2.0-0:amd64 depends on libglib2.0-0t64 (= 2.86.3-4).
1438s libfwupd3:amd64 depends on libglib2.0-0t64 (>= 2.80.0).
1438s libdconf1:amd64 depends on libglib2.0-0t64 (>= 2.80.0).
1438s libblockdev3:amd64 depends on libglib2.0-0t64 (>= 2.42.2).
1438s libblockdev-utils3:amd64 depends on libglib2.0-0t64 (>= 2.76.0).
1438s libblockdev-swap3:amd64 depends on libglib2.0-0t64 (>= 2.42.2).
1438s libblockdev-smart3:amd64 depends on libglib2.0-0t64 (>= 2.42.2).
1438s libblockdev-part3:amd64 depends on libglib2.0-0t64 (>= 2.42.2).
1438s libblockdev-nvme3:amd64 depends on libglib2.0-0t64 (>= 2.42.2).
1438s libblockdev-mdraid3:amd64 depends on libglib2.0-0t64 (>= 2.42.2).
1438s libblockdev-loop3:amd64 depends on libglib2.0-0t64 (>= 2.42.2).
1438s libblockdev-fs3:amd64 depends on libglib2.0-0t64 (>= 2.42.2).
1438s libblockdev-crypto3:amd64 depends on libglib2.0-0t64 (>= 2.42.2).
1438s gir1.2-glib-2.0:amd64 depends on libglib2.0-0t64 (= 2.86.3-4).
1438s fwupd depends on libglib2.0-0t64 (>= 2.83.0).
1438s dconf-service depends on libglib2.0-0t64 (>= 2.83.0).
1438s dconf-gsettings-backend:amd64 depends on libglib2.0-0t64 (>= 2.80.0).
1438s bolt depends on libglib2.0-0t64 (>= 2.80.0).
1438s
1438s (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 ... 84029 files and directories currently installed.)
1438s Removing libglib2.0-0t64:amd64 (2.86.3-4) ...
1438s Selecting previously unselected package libglib2.0-0xyz:amd64.
1438s (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 ... 84010 files and directories currently installed.)
1438s Preparing to unpack .../libglib2.0-0xyz.deb ...
1438s Unpacking libglib2.0-0xyz:amd64 (2.86.3-4) ...
1438s Selecting previously unselected package xdg-user-dirs.
1438s Preparing to unpack .../xdg-user-dirs_0.19-1_amd64.deb ...
1438s Unpacking xdg-user-dirs (0.19-1) ...
1438s Setting up xdg-user-dirs (0.19-1) ...
1438s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'.
1438s Setting up libglib2.0-0xyz:amd64 (2.86.3-4) ...
1438s Processing triggers for libc-bin (2.42-2ubuntu5) ...
1438s Processing triggers for man-db (2.13.1-1) ...
1439s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1439s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1439s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1439s + n=1
1439s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1439s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1439s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1439s + n=2
1439s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1439s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1439s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + n=3
1439s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + echo ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + n=4
1439s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + echo ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + n=5
1439s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + echo ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + n=6
1439s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + echo ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + apt-get -y purge libglib2.0-0t64
1439s ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s Reading package lists...
1439s Building dependency tree...
1439s Reading state information...
1439s Solving dependencies...
1439s The following packages will be REMOVED:
1439s libglib2.0-0t64*
1439s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1439s After this operation, 0 B of additional disk space will be used.
1439s (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 ... 84044 files and directories currently installed.)
1439s Purging configuration files for libglib2.0-0t64:amd64 (2.86.3-4) ...
1439s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1439s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1439s ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1439s + n=7
1439s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1439s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1439s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1439s + n=8
1439s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1439s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1439s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + n=9
1439s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + echo ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + n=10
1439s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + echo ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1439s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + n=11
1439s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + echo ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + n=12
1439s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + echo ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1439s + apt-get -y purge libglib2.0-0xyz
1439s Reading package lists...
1440s Building dependency tree...
1440s Reading state information...
1440s Solving dependencies...
1440s The following additional packages will be installed:
1440s libglib2.0-0t64
1440s Suggested packages:
1440s low-memory-monitor
1440s The following packages will be REMOVED:
1440s libglib2.0-0xyz*
1440s The following NEW packages will be installed:
1440s libglib2.0-0t64
1440s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
1440s Need to get 1608 kB of archives.
1440s After this operation, 0 B of additional disk space will be used.
1440s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libglib2.0-0t64 amd64 2.86.3-4 [1608 kB]
1441s Fetched 1608 kB in 1s (2750 kB/s)
1441s dpkg: libglib2.0-0xyz:amd64: dependency problems, but removing anyway as you requested:
1441s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libxmlb2:amd64 depends on libglib2.0-0t64 (>= 2.54.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libvolume-key1:amd64 depends on libglib2.0-0t64 (>= 2.18.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libudisks2-0:amd64 depends on libglib2.0-0t64 (>= 2.83.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libqrtr-glib0:amd64 depends on libglib2.0-0t64 (>= 2.56); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libqmi-glib5:amd64 depends on libglib2.0-0t64 (>= 2.54.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libpolkit-gobject-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libpolkit-agent-1-0:amd64 depends on libglib2.0-0t64 (>= 2.38.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libnetplan1:amd64 depends on libglib2.0-0t64 (>= 2.76.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libmm-glib0:amd64 depends on libglib2.0-0t64 (>= 2.62.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libmbim-glib4:amd64 depends on libglib2.0-0t64 (>= 2.56); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libjson-glib-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libjcat1:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libgudev-1.0-0:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libgirepository-2.0-0:amd64 depends on libglib2.0-0t64 (= 2.86.3-4); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libfwupd3:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libdconf1:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev-utils3:amd64 depends on libglib2.0-0t64 (>= 2.76.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev-swap3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev-smart3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev-part3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev-nvme3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev-mdraid3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev-loop3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev-fs3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s libblockdev-crypto3:amd64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s gir1.2-glib-2.0:amd64 depends on libglib2.0-0t64 (= 2.86.3-4); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s fwupd depends on libglib2.0-0t64 (>= 2.83.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s dconf-gsettings-backend:amd64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s bolt depends on libglib2.0-0t64 (>= 2.80.0); however:
1441s Package libglib2.0-0t64 is not installed.
1441s Package libglib2.0-0xyz:amd64 which provides libglib2.0-0t64 is to be removed.
1441s
1441s (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 ... 84044 files and directories currently installed.)
1441s Removing libglib2.0-0xyz:amd64 (2.86.3-4) ...
1441s Selecting previously unselected package libglib2.0-0t64:amd64.
1441s (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 ... 84025 files and directories currently installed.)
1441s Preparing to unpack .../libglib2.0-0t64_2.86.3-4_amd64.deb ...
1441s Unpacking libglib2.0-0t64:amd64 (2.86.3-4) ...
1441s Setting up libglib2.0-0t64:amd64 (2.86.3-4) ...
1441s Processing triggers for libc-bin (2.42-2ubuntu5) ...
1441s (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 ... 84044 files and directories currently installed.)
1441s Purging configuration files for libglib2.0-0xyz:amd64 (2.86.3-4) ...
1441s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1441s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1441s not ok 15 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1441s not ok 16 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1441s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1441s + n=13
1441s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1441s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1441s + failed=1
1441s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1441s + n=14
1441s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1441s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1441s + failed=1
1441s + assert_not test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1441s + n=15
1441s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1441s + echo not ok 15 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
1441s + failed=1
1441s + assert_not test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1441s + n=16
1441s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1441s + echo not ok 16 - should not have succeeded: test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
1441s + failed=1
1441s + echo 1..16
1441s + exit 1
1441s 1..16
1441s autopkgtest [19:05:54]: test 1065022-futureproofing: -----------------------]
1442s 1065022-futureproofing FLAKY non-zero exit status 1
1442s autopkgtest [19:05:55]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - -
1442s autopkgtest [19:05:55]: @@@@@@@@@@@@@@@@@@@@ summary
1442s build PASS (superficial)
1442s build-static PASS (superficial)
1442s girepository-tools PASS (superficial)
1442s libgio-2.0-dev-bin PASS (superficial)
1442s libglib2.0-dev PASS (superficial)
1442s installed-tests PASS
1442s closure-refcount PASS
1442s debugcontroller PASS
1442s gdbus-server-auth PASS
1442s gdbus-threading PASS
1442s gmenumodel PASS
1442s mainloop PASS
1442s memory-monitor-dbus PASS
1442s socket PASS
1442s testfilemonitor PASS
1442s thread-pool-slow PASS
1442s threadtests PASS
1442s timeout PASS
1442s timer PASS
1442s 1065022-futureproofing FLAKY non-zero exit status 1